@@ -39,23 +39,24 @@ finally postprocess the results.
39
39
In the PyDYNA installation, the ``docker `` directory has two child
40
40
directories:
41
41
42
- - ``pre ``: Provides the interface for creating DYNA input decks.
43
- This service includes highly abstracted APIs for setting up
44
- LS-DYNA input decks. Included are DynaMech, DynaIGA, DynaICFD,
45
- DynaSALE, DynaEM, and DynaAirbag.
46
- - ``solver ``: Contains the code for interfacing directly with
47
- the Ansys LS-DYNA solver. Because LS-DYNA is primarily a batch
48
- solver with very limited interactive capabilities, the code in
49
- this directory is similarly limited. The target use case is that
50
- LS-DYNA is running in a container environment such as Docker or
51
- Kubernetes. The code in the ``solver `` directory allows you to push
52
- input files to the container, start LS-DYNA and monitor its progress,
53
- and then retrieve results (RST) files.`
42
+ - ``pre ``: Contains the package with the ``ls-pre `` Docker image for the
43
+ ``pre `` service. This service provides highly abstracted APIs for creating and
44
+ setting up DYNA input decks for DynaMech, DynaIGA, DynaICFD, DynaSALE, DynaEM,
45
+ and DynaAirbag.
46
+ - ``solver ``: Contains the package with the ``dynasolver `` Docker image
47
+ for the ``solver `` service. This service provides highly abstracted
48
+ APIs for interacting directly with the Ansys LS-DYNA solver. Because LS-DYNA
49
+ is primarily a batch solver with very limited interactive capabilities, the
50
+ ``solver `` service is similarly limited. The target use case is that LS-DYNA is
51
+ running in a container environment such as Docker or Kubernetes. Using this
52
+ service, you can push input files to the container, start LS-DYNA
53
+ and monitor its progress, and then retrieve Ansys solver results (RST)
54
+ files.
54
55
55
56
Once you have results, you can use the Ansys Data Processing Framework (DPF),
56
57
which is designed to provide numerical simulation users and engineers
57
58
with a toolbox for accessing and transforming simulation data. DPF
58
- can access data from Ansys solver result files and from several
59
+ can access data from Ansys solver RST files and from several
59
60
files with neutral formats, including CSV, HDF5, and VTK. Using DPF's
60
61
various operators, you can manipulate and transform this data.
61
62
@@ -64,22 +65,31 @@ a simplified Python interface to DPF, thus enabling rapid postprocessing
64
65
without ever leaving a Python environment. For more information on DPF-Post,
65
66
see the `DPF-Post documentation <https://post.docs.pyansys.com >`_.
66
67
67
- Documentation
68
- =============
69
- For comprehesive information on PyDYNA, see the latest release
70
- ` documentation <https://dyna.docs.pyansys.com/ >`_.
68
+ Documentation and issues
69
+ ========================
70
+ Documentation for the latest stable release of PyDyna is hosted at ` PyDYNA documentation
71
+ <https://dyna.docs.pyansys.com/version/stable/ /> `_.
71
72
72
- On the `PyDyna Issues <https://github.com.mcas.ms/pyansys/pyDyna/issues >`_ page, you can create
73
- issues to submit questions, report bugs, and request new features. To reach
74
- the PyAnsys support team, email `
[email protected] <
[email protected] >`_.
73
+ In the upper right corner of the documentation's title bar, there is an option for switching from
74
+ viewing the documentation for the latest stable release to viewing the documentation for the
75
+ development version or previously released versions.
76
+
77
+ On the `PyDYNA Issues <https://github.com/ansys/pydyna/issues >`_ page, you can create issues to
78
+ report bugs and request new features. On the `PyDYNA Discussions <https://github.com/ansys/pydyna/discussions >`_
79
+ page or the `Discussions <https://discuss.ansys.com/ >`_ page on the Ansys Developer portal,
80
+ you can post questions, share ideas, and get community feedback.
81
+
82
+ To reach the project support team, email `
[email protected] <
[email protected] >`_.
75
83
76
84
Usage
77
85
=====
78
- Here is a basic preprocessing example:
79
-
80
- Get the input file from (``<repository-root-folder>/src/ansys/dyna/core/pre/examples/explicit/ball_plate/ball_plate.k ``)
86
+ The next few sections show how to preprocess, solve, and postprocess a ball plate example.
81
87
82
- The follow example can be obtained from (``<repository-root-folder>/examples/Explicit/ball_plate.py ``)
88
+ Preprocess
89
+ ----------
90
+ The following code preprocesses a ball plate example. In the repository, you can get the
91
+ input file from ``src/ansys/dyna/core/pre/examples/explicit/ball_plate/ball_plate.k `` and
92
+ the Python file from ``examples/Explicit/ball_plate.py ``.
83
93
84
94
.. code :: python
85
95
@@ -162,9 +172,10 @@ The follow example can be obtained from (``<repository-root-folder>/examples/Exp
162
172
downloadfile = os.path.join(downloadpath," ball_plate.k" )
163
173
solution.download(serveroutfile,downloadfile)
164
174
165
- Here is a basic solving example:
166
-
167
- The follow example can be obtained from (``<repository-root-folder>/examples/solver/ball_plate_solver.py ``)
175
+ Solve
176
+ -----
177
+ The following code solves this basic ball plate example. In the repository,
178
+ you can get the Python file from ``examples/solver/ball_plate_solver.py ``.
168
179
169
180
.. code :: python
170
181
@@ -177,7 +188,10 @@ The follow example can be obtained from (``<repository-root-folder>/examples/sol
177
188
dyna.start(4 ) # start 4 ranks of mppdyna
178
189
dyna.run(" i=ball_plate.k memory=10m ncycle=20000" ) # begin execution
179
190
180
- Here is a basic postprocessing example:
191
+
192
+ Postprocess
193
+ -----------
194
+ The following code postprocesses results from the solve of this basic ball plate example:
181
195
182
196
.. code :: python
183
197
0 commit comments