Skip to content

Commit b284388

Browse files
committed
add example ball_plate
1 parent f40e524 commit b284388

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,14 @@ Here is a basic solving example:
132132
The follow example can be obtained from pydyna\examples\solver\ball_plate_solver.py
133133
.. code:: python
134134
135+
import ansys.dyna.core.solver as solver
136+
135137
hostname = "localhost"
136138
port = "5000"
137-
import ansys.dyna.core.solver as solver
138139
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
140141
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
142143
143144
Here is a basic postprocessing example:
144145

0 commit comments

Comments
 (0)