File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -132,13 +132,14 @@ Here is a basic solving example:
132
132
The follow example can be obtained from pydyna\e xamples\s olver\b all_plate_solver.py
133
133
.. code :: python
134
134
135
+ import ansys.dyna.core.solver as solver
136
+
135
137
hostname = " localhost"
136
138
port = " 5000"
137
- import ansys.dyna.core.solver as solver
138
139
dyna= solver.DynaSolver(hostname,port) # connect to the container
139
- dyna.push(" cylinder_flow .k" ) # push an input file
140
+ dyna.push(" ./output/ball_plate .k" ) # push an input file
140
141
dyna.start(4 ) # start 4 ranks of mppdyna
141
- dyna.run(" i=./output/cylinder_flow .k memory=10m ncycle=20000" ) # begin execution
142
+ dyna.run(" i=ball_plate .k memory=10m ncycle=20000" ) # begin execution
142
143
143
144
Here is a basic postprocessing example:
144
145
You can’t perform that action at this time.
0 commit comments