Skip to content

Commit 8711ef2

Browse files
committed
update document
1 parent 62ba5c0 commit 8711ef2

File tree

8 files changed

+46
-27
lines changed

8 files changed

+46
-27
lines changed

docker/pre/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Prerequisites
2525
instructions from `this page <https://docs.docker.com/engine/install/>`_.
2626

2727
* Download the latest Linux release artifacts for the ``pre`` Docker container:
28-
`linux-binaries.zip <https://github.com/ansys/pydyna/releases/download/v0.4.2/linux-binaries.zip>`_.
28+
`linux-binaries.zip <https://github.com/ansys/pydyna/releases/download/v0.4.3/linux-binaries.zip>`_.
2929

3030
* Move this ZIP file to the ``docker/pre`` directory.
3131

docker/solver/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Prerequisites
2525
instructions from `this page <https://docs.docker.com/engine/install/>`_.
2626

2727
* Download the latest Linux release artifacts for the ``solver`` Docker container:
28-
`mppdyna_docker_centos7.zip <https://github.com/ansys/pydyna/releases/download/v0.4.2/mppdyna_docker_centos7.zip>`_.
28+
`mppdyna_docker_centos7.zip <https://github.com/ansys/pydyna/releases/download/v0.4.3/mppdyna_docker_centos7.zip>`_.
2929

3030
* Move this ZIP file to the ``docker/solver`` directory and unzip it in the same directory.
3131

examples/Airbag/airbag_deploy.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,15 @@
3030
)
3131

3232
###############################################################################
33-
# Manually start the ``pre`` service
33+
# Start the ``pre`` service
3434
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35-
# Copy the ``pyDyna/src/ansys/dyna/core/pre/Server`` folder to a desired location.
36-
# Start the ``pre`` service at this location by running this command:
37-
#
38-
# ``python kwserver.py``
35+
# Before starting the ``pre`` service, you must ensure that the Docker container
36+
# for this service has been started. For more information, see "Start the Docker
37+
# container for the ``pre`` service" in https://dyna.docs.pyansys.com/version/stable/index.html.
38+
#
39+
# The ``pre`` service can also be started locally, please download the latest version of
40+
# ansys-pydyna-pre-server.zip package from https://github.com/ansys/pydyna/releases and start it
41+
# refering to the README.rst file in this server package.
3942
#
4043
# Once the ``pre`` service is running, you can connect a client to it using
4144
# the hostname and port. This example uses the default localhost and port

examples/Explicit/ball_plate.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
# Before starting the ``pre`` service, you must ensure that the Docker container
4343
# for this service has been started. For more information, see "Start the Docker
4444
# container for the ``pre`` service" in https://dyna.docs.pyansys.com/version/stable/index.html.
45+
#
46+
# The ``pre`` service can also be started locally, please download the latest version of
47+
# ansys-pydyna-pre-server.zip package from https://github.com/ansys/pydyna/releases and start it
48+
# refering to the README.rst file in this server package.
4549
#
4650
# Once the ``pre`` service is running, you can connect a client to it using
4751
# the host name and port. This code uses the default localhost and port

examples/Explicit/belted_dummy.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,15 @@
4444
# sphinx_gallery_thumbnail_path = '_static/pre/explicit/belted_dummy.png'
4545

4646
###############################################################################
47-
# Manually start the ``pre`` service
47+
# Start the ``pre`` service
4848
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49-
# Copy the ``pyDyna/src/ansys/dyna/core/pre/Server`` folder to a desired location.
50-
# Start the ``pre`` service at this location by running this command:
51-
#
52-
# ``python kwserver.py``
49+
# Before starting the ``pre`` service, you must ensure that the Docker container
50+
# for this service has been started. For more information, see "Start the Docker
51+
# container for the ``pre`` service" in https://dyna.docs.pyansys.com/version/stable/index.html.
52+
#
53+
# The ``pre`` service can also be started locally, please download the latest version of
54+
# ansys-pydyna-pre-server.zip package from https://github.com/ansys/pydyna/releases and start it
55+
# refering to the README.rst file in this server package.
5356
#
5457
# Once the ``pre`` service is running, you can connect a client to it using
5558
# the host name and port. This example uses the default localhost and port

examples/Implicit/camry_rc.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,15 @@
4141
from ansys.dyna.core.pre import examples
4242

4343
###############################################################################
44-
# Manually start the ``pre`` service
44+
# Start the ``pre`` service
4545
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46-
# Copy the ``pyDyna/src/ansys/dyna/core/pre/Server`` folder to a desired location.
47-
# Start the ``pre`` service at this location by running this command:
48-
#
49-
# ``python kwserver.py``
46+
# Before starting the ``pre`` service, you must ensure that the Docker container
47+
# for this service has been started. For more information, see "Start the Docker
48+
# container for the ``pre`` service" in https://dyna.docs.pyansys.com/version/stable/index.html.
49+
#
50+
# The ``pre`` service can also be started locally, please download the latest version of
51+
# ansys-pydyna-pre-server.zip package from https://github.com/ansys/pydyna/releases and start it
52+
# refering to the README.rst file in this server package.
5053
#
5154
# Once the ``pre`` service is running, you can connect a client to it using
5255
# the hostname and port. This example uses the default localhost and port

examples/NVH/frf_plate_damping.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,15 @@
3131
from ansys.dyna.core.pre import examples
3232
# sphinx_gallery_thumbnail_path = '_static/pre/nvh/frf_plate_damping.png'
3333
###############################################################################
34-
# Manually start the ``pre`` service
34+
# Start the ``pre`` service
3535
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36-
# Copy the ``pyDyna/src/ansys/dyna/core/pre/Server`` folder to a desired location.
37-
# Start the ``pre`` service at this location by running this command:
38-
#
39-
# ``python kwserver.py``
36+
# Before starting the ``pre`` service, you must ensure that the Docker container
37+
# for this service has been started. For more information, see "Start the Docker
38+
# container for the ``pre`` service" in https://dyna.docs.pyansys.com/version/stable/index.html.
39+
#
40+
# The ``pre`` service can also be started locally, please download the latest version of
41+
# ansys-pydyna-pre-server.zip package from https://github.com/ansys/pydyna/releases and start it
42+
# refering to the README.rst file in this server package.
4043
#
4144
# Once the ``pre`` service is running, you can connect a client to it using
4245
# the hostname and port. This example uses the default localhost and port

examples/Thermal/thermal_stress.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,15 @@
2929
from ansys.dyna.core.pre import examples
3030
# sphinx_gallery_thumbnail_path = '_static/pre/thermal/thermal.png'
3131
###############################################################################
32-
# Manually start the ``pre`` service
32+
# Start the ``pre`` service
3333
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34-
# Copy the ``pyDyna/src/ansys/dyna/core/pre/Server``folder to a desired location.
35-
# Start the ``pre`` service at this location by running this command:
36-
#
37-
# ``python kwserver.py``
34+
# Before starting the ``pre`` service, you must ensure that the Docker container
35+
# for this service has been started. For more information, see "Start the Docker
36+
# container for the ``pre`` service" in https://dyna.docs.pyansys.com/version/stable/index.html.
37+
#
38+
# The ``pre`` service can also be started locally, please download the latest version of
39+
# ansys-pydyna-pre-server.zip package from https://github.com/ansys/pydyna/releases and start it
40+
# refering to the README.rst file in this server package.
3841
#
3942
# Once the ``pre`` servic is running, you can connect a client to it using
4043
# the hostname and the port. This example uses the default local host and port

0 commit comments

Comments
 (0)