Skip to content

Commit f784f32

Browse files
authored
Update spelling of PyDPF - Composites (#755)
See ansys/pydpf-composites#554
1 parent 6701901 commit f784f32

File tree

10 files changed

+31
-30
lines changed

10 files changed

+31
-30
lines changed

doc/styles/config/vocabularies/ANSYS/accept.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ API
1111
untrusted
1212
DPF
1313
2025R1
14+
PyDPF - Composites

examples/pymechanical_with_shim/embedded_workflow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040
* Export composite definitions and material data from PyACP
4141
* Import lay-up and material in PyMechanical (imported plies)
4242
* Define boundary condition in PyMechanical
43-
* Postprocess results with PyDPF Composites (using the materials file and the RST
43+
* Postprocess results with PyDPF - Composites (using the materials file and the RST
4444
file generated by PyMechanical)
4545
46-
The workflow currently uses a Docker container for PyACP and PyDPF Composites. For PyMechanical,
46+
The workflow currently uses a Docker container for PyACP and PyDPF - Composites. For PyMechanical,
4747
the local installer is used. There is no known issue preventing you from using the PyMechanical
4848
container. This was just not yet implemented due to time restrictions.
4949
"""

examples/use_cases/01-optimizing-ply-angles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def solve_cdb(*, mapdl, cdb_file, workdir):
233233
rst_file = solve_cdb(mapdl=mapdl, cdb_file=cdb_file_path, workdir=workdir)
234234

235235
# %%
236-
# The ``get_max_irf()`` function uses PyDPF Composites to calculate the maximum
236+
# The ``get_max_irf()`` function uses PyDPF - Composites to calculate the maximum
237237
# inverse reserve factor (IRF) for a given RST, composite definitions,
238238
# or materials file.
239239
#

examples/workflows/01-pymapdl-workflow.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
================
2828
2929
This example shows how to define a composite lay-up with PyACP, solve the resulting model with PyMAPDL, and
30-
run a failure analysis with PyDPF Composites.
30+
run a failure analysis with PyDPF - Composites.
3131
"""
3232

3333
# %%
@@ -38,8 +38,8 @@
3838
# boundary conditions. For more information on creating input files, see :ref:`input_file_for_pyacp`.
3939
# Then, you import the DAT file into PyACP to define the composite lay-up. Finally, you export the
4040
# resulting model from PyACP to PyMAPDL. Once the results are available, the RST file is loaded in
41-
# PyDPF Composites for analysis. The additional input files (``material.xml`` and
42-
# ``ACPCompositeDefinitions.h5``) can also be stored with PyACP and passed to PyDPF Composites.
41+
# PyDPF - Composites for analysis. The additional input files (``material.xml`` and
42+
# ``ACPCompositeDefinitions.h5``) can also be stored with PyACP and passed to PyDPF - Composites.
4343

4444
# %%
4545
# Import modules
@@ -216,11 +216,11 @@
216216
mapdl.download(rstfile_name, str(WORKING_DIR))
217217

218218
# %%
219-
# Postprocessing with PyDPF Composites
220-
# ------------------------------------
219+
# Postprocessing with PyDPF - Composites
220+
# --------------------------------------
221221
#
222222
# To postprocess the results, you must configure the imports, connect to the
223-
# PyDPF Composites server, and load its plugin.
223+
# PyDPF - Composites server, and load its plugin.
224224

225225
from ansys.dpf.composites.composite_model import CompositeModel
226226
from ansys.dpf.composites.constants import FailureOutput

examples/workflows/02-advanced-pymapdl-workflow.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
=========================
2828
2929
This example shows how to define a composite lay-up with PyACP, solve the resulting
30-
model with PyMAPDL, and run a failure analysis with PyDPF Composites.
30+
model with PyMAPDL, and run a failure analysis with PyDPF - Composites.
3131
3232
Begin with an MAPDL CDB file that contains the mesh, material data, and
3333
boundary conditions. Import the file to PyACP to define the lay-up, and then export the
3434
resulting model to PyMAPDL. Once the results are available, the RST file is loaded in
35-
PyDPF Composites for postprocessing. The additional input files (``material.xml``
36-
and ``ACPCompositeDefinitions.h5``) can also be stored with PyACP and passed to PyDPF Composites.
35+
PyDPF - Composites for postprocessing. The additional input files (``material.xml``
36+
and ``ACPCompositeDefinitions.h5``) can also be stored with PyACP and passed to PyDPF - Composites.
3737
3838
"""
3939

@@ -292,7 +292,7 @@ def add_ply(mg, name, ply_material, angle, oss):
292292
# %%
293293
# Save the model as a CDB file for solving with PyMAPDL.
294294
model.export_analysis_model(working_dir_path / cdb_filename_out)
295-
# Export the shell lay-up and material file for PyDPF Composites.
295+
# Export the shell lay-up and material file for PyDPF - Composites.
296296
model.export_shell_composite_definitions(working_dir_path / composite_definition_h5_filename)
297297
model.export_materials(working_dir_path / matml_filename)
298298

@@ -329,11 +329,11 @@ def add_ply(mg, name, ply_material, angle, oss):
329329
mapdl.download(rstfile_name, working_dir_path)
330330

331331
# %%
332-
# Postprocessing with PyDPF Composites
333-
# ------------------------------------
332+
# Postprocessing with PyDPF - Composites
333+
# --------------------------------------
334334
#
335335
# To postprocess the results, you must configure the imports, connect to the
336-
# PyDPF Composites server, and load its plugin.
336+
# PyDPF - Composites server, and load its plugin.
337337

338338
from ansys.dpf.composites.composite_model import CompositeModel
339339
from ansys.dpf.composites.constants import FailureOutput

examples/workflows/03-pymechanical-shell-workflow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
- Plies and materials are exported from ACP, and imported into Mechanical.
3838
- Boundary conditions are set in Mechanical.
3939
- The model is solved.
40-
- The results are post-processed in PyDPF Composites.
40+
- The results are post-processed in PyDPF - Composites.
4141
4242
.. warning::
4343
@@ -60,7 +60,7 @@
6060
import textwrap
6161

6262
# %%
63-
# Import PyACP, PyMechanical, and PyDPF Composites.
63+
# Import PyACP, PyMechanical, and PyDPF - Composites.
6464

6565
# isort: off
6666
import ansys.acp.core as pyacp
@@ -278,7 +278,7 @@
278278
# Postprocess results
279279
# -------------------
280280
#
281-
# Evaluate the failure criteria using the PyDPF Composites.
281+
# Evaluate the failure criteria using the PyDPF - Composites.
282282

283283

284284
max_strain = pydpf_composites.failure_criteria.MaxStrainCriterion()

examples/workflows/04-pymechanical-solid-workflow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
- Materials and plies are imported.
4040
- Boundary conditions are set.
4141
- The model is solved.
42-
- The results are post-processed in PyDPF Composites.
42+
- The results are post-processed in PyDPF - Composites.
4343
4444
.. warning::
4545
@@ -62,7 +62,7 @@
6262
import textwrap
6363

6464
# %%
65-
# Import PyACP, PyMechanical, and PyDPF Composites.
65+
# Import PyACP, PyMechanical, and PyDPF - Composites.
6666

6767
# isort: off
6868

@@ -335,7 +335,7 @@
335335
# Postprocess results
336336
# -------------------
337337
#
338-
# Evaluate the failure criteria using the PyDPF Composites.
338+
# Evaluate the failure criteria using the PyDPF - Composites.
339339

340340
max_strain = pydpf_composites.failure_criteria.MaxStrainCriterion()
341341
cfc = pydpf_composites.failure_criteria.CombinedFailureCriterion(

examples/workflows/05-pymechanical-to-cdb-workflow.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
3131
This example shows how to set up a workflow that uses PyMechanical to mesh the
3232
geometry and define the load case, PyACP to define a layup, PyMAPDL to solve the
33-
model, and PyDPF Composites to post-process the results.
33+
model, and PyDPF - Composites to post-process the results.
3434
3535
This workflow does *not* suffer from the limitations of the PyACP to
3636
PyMechanical integration.
@@ -52,7 +52,7 @@
5252
import textwrap
5353

5454
# %%
55-
# Import PyACP, PyMechanical, and PyDPF Composites.
55+
# Import PyACP, PyMechanical, and PyDPF - Composites.
5656

5757
# isort: off
5858
import ansys.acp.core as pyacp
@@ -272,8 +272,8 @@
272272
mapdl.download(rstfile_name, working_dir_path)
273273

274274
# %%
275-
# Postprocessing with PyDPF Composites
276-
# ------------------------------------
275+
# Postprocessing with PyDPF - Composites
276+
# --------------------------------------
277277
#
278278
# Specify the combined failure criterion.
279279
max_strain = pydpf_composites.failure_criteria.MaxStrainCriterion()

examples/workflows/06-cdb-to-pymechanical-workflow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
3131
This example shows how to define a composite lay-up in PyACP based on a mesh
3232
from a CDB file, import the model into PyMechanical for defining the load and
33-
boundary conditions, and run a failure analysis with PyDPF Composites.
33+
boundary conditions, and run a failure analysis with PyDPF - Composites.
3434
3535
.. warning::
3636
@@ -54,7 +54,7 @@
5454
import textwrap
5555

5656
# %%
57-
# Import PyACP, PyMechanical, and PyDPF Composites.
57+
# Import PyACP, PyMechanical, and PyDPF - Composites.
5858

5959
# isort: off
6060
import ansys.acp.core as pyacp
@@ -281,7 +281,7 @@
281281
# Postprocess results
282282
# -------------------
283283
#
284-
# Evaluate the failure criteria using the PyDPF Composites.
284+
# Evaluate the failure criteria using the PyDPF - Composites.
285285

286286

287287
max_strain = pydpf_composites.failure_criteria.MaxStrainCriterion()

src/ansys/acp/core/dpf_integration_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
# SOFTWARE.
2222

23-
"""Helper functions for exchanging data between PyACP and PyDPF or PyDPF Composites."""
23+
"""Helper functions for exchanging data between PyACP and PyDPF or PyDPF - Composites."""
2424

2525
import typing
2626

0 commit comments

Comments
 (0)