File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -129,13 +129,14 @@ Here is a basic preprocessing example:
129
129
Here is a basic solving example:
130
130
131
131
.. code :: python
132
- >> > hostname = " localhost"
133
- >> > port = " 5000"
134
- >> > import ansys.dyna.core.solver as solver
135
- >> > dyna= solver.DynaSolver(hostname,port) # connect to the container
136
- >> > dyna.push(" cylinder_flow.k" ) # push an input file
137
- >> > dyna.start(4 ) # start 4 ranks of mppdyna
138
- >> > dyna.run(" i=./output/cylinder_flow.k memory=10m ncycle=20000" ) # begin execution
132
+
133
+ hostname = " localhost"
134
+ port = " 5000"
135
+ import ansys.dyna.core.solver as solver
136
+ dyna= solver.DynaSolver(hostname,port) # connect to the container
137
+ dyna.push(" cylinder_flow.k" ) # push an input file
138
+ dyna.start(4 ) # start 4 ranks of mppdyna
139
+ dyna.run(" i=./output/cylinder_flow.k memory=10m ncycle=20000" ) # begin execution
139
140
140
141
Here is a basic postprocessing example:
141
142
You can’t perform that action at this time.
0 commit comments