Skip to content

Commit c068d4f

Browse files
committed
correct README.rst
1 parent 3446d6e commit c068d4f

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,14 @@ Here is a basic preprocessing example:
129129
Here is a basic solving example:
130130

131131
.. 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
139140
140141
Here is a basic postprocessing example:
141142

0 commit comments

Comments
 (0)