Skip to content

Commit d176066

Browse files
committed
Some minor edits to fix formatting issues and typos
1 parent 334fd45 commit d176066

File tree

8 files changed

+34
-34
lines changed

8 files changed

+34
-34
lines changed

doc/source/user-guide/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ In the PyDYNA installation, the ``docker`` directory has two child
55
directories:
66

77
- ``pre``: Provides the interface for creating DYNA input decks.
8-
This service includes highly abstracted APIs for setting up
9-
LSN-DYNA input decks. Included are DynaMech, DynaIGA, DynaICFD,
10-
DynaSALE, DynaEM, and DynaAirbag.
8+
This service includes highly abstracted APIs for setting up
9+
LSN-DYNA input decks. Included are DynaMech, DynaIGA, DynaICFD,
10+
DynaSALE, DynaEM, and DynaAirbag.
1111
- ``solver``: Contains the code for interfacing directly with
1212
the Ansys LS-DYNA solver. Because LS-DYNA is primarily a batch
1313
solver with very limited interactive capabilities, the code in

docker/pre/README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Build the Docker image for the ``pre`` service
22
==============================================
33

4-
You must build the Docker image for the PyDNA ``pre`` service and then
4+
You must build the Docker image for the PyDYNA ``pre`` service and then
55
run the image as a container.
66

77
Prerequisites
@@ -14,7 +14,7 @@ Prerequisites
1414
git clone https://github.com/pyansys/pydyna.git
1515
cd pydyna
1616
17-
The ``docker`` file in the the ``docker/pre`` directory is used to build the
17+
The ``docker`` file in the ``docker/pre`` directory is used to build the
1818
Linux-based Docker image.
1919

2020

@@ -36,9 +36,9 @@ Once all prerequisites are met, perform these steps to build the Docker image:
3636
#. Run the following Docker command, replacing ``<DOCKERFILE_NAME>``
3737
with ``Dockerfile`` and ``<DOCKER_IMAGE_TAG>`` with ``latest``.
3838

39-
.. code:: bash
39+
.. code:: bash
4040
41-
docker build -t ghcr.io/ansys/ls-pre:<DOCKER_IMAGE_TAG> -f <DOCKERFILE_NAME> .
41+
docker build -t ghcr.io/ansys/ls-pre:<DOCKER_IMAGE_TAG> -f <DOCKERFILE_NAME> .
4242
4343
#. Check that the image has been built successfully by running this command:
4444

docker/solver/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ Perform these steps to run the image as a container:
6969

7070
#. Run this Docker command:
7171

72-
.. code:: bash
72+
.. code:: bash
7373
74-
docker-compose up
74+
docker-compose up
7575
7676
#. Check that the image is running successfully.
7777

examples/Airbag/airbag_deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~
154154
# The following code defines the sectional properties of the parts. This example
155155
# has three shell parts. Each shell part is initialized as ``ShellPart`` with a
156-
# unique ID and an appropriate shell formulation has been assigned. Again,
156+
# unique ID and an appropriate shell formulation is assigned. Again,
157157
# PyDYNA does not yet support all element formulations. You can find the
158158
# supported formulations in ``dynabase`` class.
159159

examples/Airbag/airbag_post.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
from ansys.dpf.core import examples
1414

1515
###############################################################################
16-
# Connect to DPF
17-
# ~~~~~~~~~~~~~~
18-
# Connect to DPF Server.
16+
# Connect to DPF Server
17+
# ~~~~~~~~~~~~~~~~~~~~~
18+
# Connect to the DPF Server.
1919
#
2020
dpf.connect_to_server()
2121

2222
###############################################################################
23-
# Load the model
24-
# ~~~~~~~~~~~~~~
23+
# Load model
24+
# ~~~~~~~~~~
2525
# Load the model and print the contents of the model. All parts in the model
2626
# are shell parts. Model information includes the result components and the
2727
# number of states available in the d3plot.
@@ -57,7 +57,7 @@
5757
###############################################################################
5858
# Plot deformed state
5959
# ~~~~~~~~~~~~~~~~~~~
60-
# Plot the deformed state at 9ms.
60+
# Plot the deformed state at 9 ms.
6161
#
6262
""" N = fields_top[19]
6363
D = model.results.displacement(time_scoping=[19]).eval()

examples/Explicit/belted_dummy.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@
4646
###############################################################################
4747
# Manually 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:
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:
5151
#
5252
# ``python kwserver.py``
5353
#
5454
# Once the ``pre`` servic is running, you can connect a client to it using
55-
# the hostname and the port. This example uses the default local host and port
55+
# the host name and the port. This example uses the default local host and port
5656
# (``"localhost"`` and ``"50051"`` respectively).
5757
#
5858
hostname = "localhost"
@@ -89,8 +89,8 @@
8989
dummy.set_init_velocity(Velocity(14.8, 0, 0))
9090

9191
###############################################################################
92-
# Define materials for the model
93-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
92+
# Define materials
93+
# ~~~~~~~~~~~~~~~~
9494
# In this model, many parts share common material types. Thus, these materials
9595
# are generated in a loop and a list of these materials are created. This list
9696
# can then be used later to assign materials to parts. The ``dynamaterials`` class
@@ -131,12 +131,12 @@
131131
discmatlist.append(mat)
132132

133133
###############################################################################
134-
# Define section properties and assign appropriate materials
135-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134+
# Define section properties and assign materials
135+
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136136
# Now that you have a list of materials with the material ID corresponding to
137137
# the Part ID, you can loop through the list and assign these materials to the
138-
# parts. While in the loop, the section properties, element formulations, and
139-
# constraints are also defined.
138+
# parts. While in the loop, also define the section properties, element
139+
# formulations, and constraints.
140140
#
141141
for i in range(1, 23):
142142
part = ShellPart(i)
@@ -174,7 +174,7 @@
174174
###############################################################################
175175
# Define spherical joints
176176
# ~~~~~~~~~~~~~~~~~~~~~~~
177-
# A spherical joint is one of the simpler joint types which. You need only define
177+
# A spherical joint is one of the simpler joint types. You need only define
178178
# a coincident node pair. Read the node pairs from the ``jointlist`` array defined in
179179
# the ``belted_dummy_data.py`` file.
180180
#
@@ -200,8 +200,8 @@
200200
scalefactor=-1,
201201
)
202202
###############################################################################
203-
# Define the gravity
204-
# ~~~~~~~~~~~~~~~~~~
203+
# Define gravity
204+
# ~~~~~~~~~~~~~~
205205
# Use the ``Gravity()`` method in the ``dynabase`` class
206206
# to define the gravity load, direction of the load, and the curve.
207207
#

examples/Implicit/camry_rc.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@
5858
camry_solution = DynaSolution(hostname)
5959

6060
###############################################################################
61-
# Import the initial mesh data (nodes and elements)
62-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63-
# Import the mesh data, which includes the vehicle data, weld data, and
64-
# platen data.
61+
# Import initial mesh data
62+
# ~~~~~~~~~~~~~~~~~~~~~~~~
63+
# Import the initial mesh data (nodes and elements), which includes the
64+
# vehicle data, weld data, and platen data.
6565
#
6666
fns = []
6767
path = examples.camry_rc + os.sep
@@ -345,7 +345,7 @@
345345
###############################################################################
346346
# Define database cards and save input file
347347
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
348-
# Define the fequency of output for the binary and ASCII database outputs
348+
# Define the frequency of output for the binary and ASCII database outputs
349349
# and save the input file.
350350
#
351351
camry_solution.create_database_binary(dt=0.001)

examples/NVH/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
NVH examples
22
~~~~~~~~~~~~~
33

4-
These examples show how to create and use NVH models.
4+
These examples show how to create and use NVH (noise, vibration, and harshness) models.

0 commit comments

Comments
 (0)