Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/zzqbranch'
Browse files Browse the repository at this point in the history
  • Loading branch information
wenhuiuy committed Dec 9, 2023
2 parents fbdbcad + 66f975d commit 76685e6
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 27 deletions.
2 changes: 1 addition & 1 deletion docker/pre/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Prerequisites
instructions from `this page <https://docs.docker.com/engine/install/>`_.

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

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

Expand Down
2 changes: 1 addition & 1 deletion docker/solver/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Prerequisites
instructions from `this page <https://docs.docker.com/engine/install/>`_.

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

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

Expand Down
13 changes: 8 additions & 5 deletions examples/Airbag/airbag_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,15 @@
)

###############################################################################
# Manually start the ``pre`` service
# Start the ``pre`` service
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Copy the ``pyDyna/src/ansys/dyna/core/pre/Server`` folder to a desired location.
# Start the ``pre`` service at this location by running this command:
#
# ``python kwserver.py``
# Before starting the ``pre`` service, you must ensure that the Docker container
# for this service has been started. For more information, see "Start the Docker
# container for the ``pre`` service" in https://dyna.docs.pyansys.com/version/stable/index.html.
#
# The ``pre`` service can also be started locally, please download the latest version of
# ansys-pydyna-pre-server.zip package from https://github.com/ansys/pydyna/releases and start it
# refering to the README.rst file in this server package.
#
# Once the ``pre`` service is running, you can connect a client to it using
# the hostname and port. This example uses the default localhost and port
Expand Down
4 changes: 4 additions & 0 deletions examples/Explicit/ball_plate.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
# Before starting the ``pre`` service, you must ensure that the Docker container
# for this service has been started. For more information, see "Start the Docker
# container for the ``pre`` service" in https://dyna.docs.pyansys.com/version/stable/index.html.
#
# The ``pre`` service can also be started locally, please download the latest version of
# ansys-pydyna-pre-server.zip package from https://github.com/ansys/pydyna/releases and start it
# refering to the README.rst file in this server package.
#
# Once the ``pre`` service is running, you can connect a client to it using
# the host name and port. This code uses the default localhost and port
Expand Down
13 changes: 8 additions & 5 deletions examples/Explicit/belted_dummy.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,15 @@
# sphinx_gallery_thumbnail_path = '_static/pre/explicit/belted_dummy.png'

###############################################################################
# Manually start the ``pre`` service
# Start the ``pre`` service
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Copy the ``pyDyna/src/ansys/dyna/core/pre/Server`` folder to a desired location.
# Start the ``pre`` service at this location by running this command:
#
# ``python kwserver.py``
# Before starting the ``pre`` service, you must ensure that the Docker container
# for this service has been started. For more information, see "Start the Docker
# container for the ``pre`` service" in https://dyna.docs.pyansys.com/version/stable/index.html.
#
# The ``pre`` service can also be started locally, please download the latest version of
# ansys-pydyna-pre-server.zip package from https://github.com/ansys/pydyna/releases and start it
# refering to the README.rst file in this server package.
#
# Once the ``pre`` service is running, you can connect a client to it using
# the host name and port. This example uses the default localhost and port
Expand Down
13 changes: 8 additions & 5 deletions examples/Implicit/camry_rc.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,15 @@
from ansys.dyna.core.pre import examples

###############################################################################
# Manually start the ``pre`` service
# Start the ``pre`` service
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Copy the ``pyDyna/src/ansys/dyna/core/pre/Server`` folder to a desired location.
# Start the ``pre`` service at this location by running this command:
#
# ``python kwserver.py``
# Before starting the ``pre`` service, you must ensure that the Docker container
# for this service has been started. For more information, see "Start the Docker
# container for the ``pre`` service" in https://dyna.docs.pyansys.com/version/stable/index.html.
#
# The ``pre`` service can also be started locally, please download the latest version of
# ansys-pydyna-pre-server.zip package from https://github.com/ansys/pydyna/releases and start it
# refering to the README.rst file in this server package.
#
# Once the ``pre`` service is running, you can connect a client to it using
# the hostname and port. This example uses the default localhost and port
Expand Down
13 changes: 8 additions & 5 deletions examples/NVH/frf_plate_damping.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,15 @@
from ansys.dyna.core.pre import examples
# sphinx_gallery_thumbnail_path = '_static/pre/nvh/frf_plate_damping.png'
###############################################################################
# Manually start the ``pre`` service
# Start the ``pre`` service
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Copy the ``pyDyna/src/ansys/dyna/core/pre/Server`` folder to a desired location.
# Start the ``pre`` service at this location by running this command:
#
# ``python kwserver.py``
# Before starting the ``pre`` service, you must ensure that the Docker container
# for this service has been started. For more information, see "Start the Docker
# container for the ``pre`` service" in https://dyna.docs.pyansys.com/version/stable/index.html.
#
# The ``pre`` service can also be started locally, please download the latest version of
# ansys-pydyna-pre-server.zip package from https://github.com/ansys/pydyna/releases and start it
# refering to the README.rst file in this server package.
#
# Once the ``pre`` service is running, you can connect a client to it using
# the hostname and port. This example uses the default localhost and port
Expand Down
13 changes: 8 additions & 5 deletions examples/Thermal/thermal_stress.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,15 @@
from ansys.dyna.core.pre import examples
# sphinx_gallery_thumbnail_path = '_static/pre/thermal/thermal.png'
###############################################################################
# Manually start the ``pre`` service
# Start the ``pre`` service
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Copy the ``pyDyna/src/ansys/dyna/core/pre/Server``folder to a desired location.
# Start the ``pre`` service at this location by running this command:
#
# ``python kwserver.py``
# Before starting the ``pre`` service, you must ensure that the Docker container
# for this service has been started. For more information, see "Start the Docker
# container for the ``pre`` service" in https://dyna.docs.pyansys.com/version/stable/index.html.
#
# The ``pre`` service can also be started locally, please download the latest version of
# ansys-pydyna-pre-server.zip package from https://github.com/ansys/pydyna/releases and start it
# refering to the README.rst file in this server package.
#
# Once the ``pre`` servic is running, you can connect a client to it using
# the hostname and the port. This example uses the default local host and port
Expand Down
1 change: 1 addition & 0 deletions src/ansys/dyna/core/solver/dynasolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import queue
import sys
import threading
from time import sleep

from ansys.api.dyna.v0 import dynasolver_pb2
import grpc
Expand Down

0 comments on commit 76685e6

Please sign in to comment.