Skip to main content

Python interface to LS-DYNA Service

Project description

PyDYNA

PyAnsys Python PyPI GH-CI Codecov MIT Black Ask DeepWiki

Overview

PyDYNA is a Pythonic package for providing a more convenient and complete way to build an Ansys DYNA input deck, submit it to the Ansys LS-DYNA solver, and finally postprocess the results.

PyDYNA contains three submodules, ansys.dyna.core.pre, ansys.dyna.core.solver, and ansys.dyna.core.run.

  • pre: This module provides highly abstracted APIs for creating and setting up DYNA input decks. There are many classes supported, namely, DynaMech, DynaIGA, DynaICFD, DynaSALE, DynaEM,DynaNVH, DynaMaterial, DynaISPH, DynaICFD and DynaAirbag. Each of these classes can be used to generate LS-DYNA keywords. Since these classes have high-level abstraction, each function call generates groups of keywords needed to define an input in LS-DYNA.

  • solver: This API provides features to interact directly with the Ansys LS-DYNA solver. LS-DYNA is primarily a batch solver with very limited interactive capabilities, the solver service provides a way to push input files to the LS-DYNA solver, monitor the state of the running job, change the value of a load curve and finally retrieve result files back from the server

  • run: This module provides the ability to start the LS-DYNA solver. This does not require any client-server library or Docker container.

Once you have results, you can use the Ansys Data Processing Framework (DPF), which is designed to provide numerical simulation users and engineers with a toolbox for accessing and transforming simulation data. DPF can access data from Ansys solver files and from several files with neutral formats, including CSV, HDF5, and VTK. Using DPF’s various operators, you can manipulate and transform this data.

The ansys-dpf-post package provides a simplified Python interface to DPF, thus enabling rapid postprocessing without ever leaving a Python environment. For more information on DPF-Post, see the DPF-Post documentation.

Documentation and issues

Documentation for the latest stable release of PyDyna is hosted at PyDYNA documentation.

For examples on how to use PyDYNA, see Examples in the PyDYNA documentation.

In the upper right corner of the documentation’s title bar, there is an option for switching from viewing the documentation for the latest stable release to viewing the documentation for the development version or previously released versions.

On the PyDYNA Issues page, you can create issues to report bugs and request new features. On the PyDYNA Discussions page or the Discussions page on the Ansys Developer portal, you can post questions, share ideas, and get community feedback.

To reach the project support team, email pyansys.core@ansys.com.

License

PyDYNA is licensed under the MIT license.

PyDYNA makes no commercial claim over Ansys whatsoever. This library extends the functionality of Ansys LS-DYNA by adding a Python interface to LS-DYNA without changing the core behavior or license of the original software. The use of the interactive control of PyDYNA requires a legally licensed local copy of LS-DYNA.

For more information on LS-DYNA, see the Ansys LS-DYNA page on the Ansys website.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ansys_dyna_core-0.9.0.tar.gz (34.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ansys_dyna_core-0.9.0-py3-none-any.whl (40.3 MB view details)

Uploaded Python 3

File details

Details for the file ansys_dyna_core-0.9.0.tar.gz.

File metadata

  • Download URL: ansys_dyna_core-0.9.0.tar.gz
  • Upload date:
  • Size: 34.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for ansys_dyna_core-0.9.0.tar.gz
Algorithm Hash digest
SHA256 b7965537833f5080097939e9a036d30cc7a077d56bd8b57d2c924f9c01f7a71b
MD5 6267a5dbf7e3a26ef32ddf80743e6195
BLAKE2b-256 0e80f682c46d88bf3c53083ea31e6634429ad01215fa1b8d0143970c9f39e711

See more details on using hashes here.

File details

Details for the file ansys_dyna_core-0.9.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ansys_dyna_core-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29200a3a05505934e5b11caeac7162d9ebfc093d0b4f136764744eddacdfaec3
MD5 3cf67ad2fa4f2375165a77b5927a4c5a
BLAKE2b-256 11e1cba96a2ab1276ba74f95d04dfb6321f94f139ad381e016dc95c2e3c3bf10

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page