Skip to main content

Abaqus FEA UMAT interoperability layer for quick, pythonic single-point analysis and material-model validation.

Project description

Single Point Simulator

Computational Mechanics and Materials Laboratory @ Mississippi State University

For Questions: ch3136 AT msstate DOT edu, clarkhensley AT duck DOT com

Description

An Abaqus FEA single-element finite element compatability layer in Python 3. This Single Point Simulator (SPS) uses the NumPy f2py module to compile Fortran based UMAT material models from Abaqus/Standard or Abaqus Explicit. Then, with a simple material property input file (in .toml or .json format), this tool quickly computes these single-element models and provides tools to visualize the results.

Installation

python -m pip install singlepointsim

Basic Usage

# the umat can be specified in the input file or passed as a command-line argument
python -m singlepointsim <inputfile> (<umat>)

See example_input.toml for an overview of how to format the input file. (.json input format is also accepted by the singlepointsim)

Recommended Usage

Consider a directory containing the desired UMAT fortran file, foo.f In the same directory, create input.toml using the same format as example_input.toml as shown in this github repository. Then, simply running:

python -m singlepointsim input.toml foo.f

should compile the UMAT to a .so or .dll if it is not already compiled and should call on this object to run analysis. Results will be stored in a .csv file in the desired "results" directory, as given by input.toml (or the present working directory if not specified).

Issues?

Fortran, especially Fixed-Form/F77 Fortran, can be finnicky. Please don't hesitate to reach out for support on GitHub, but, ensure that the meson patch built into singlepointsim has successfully run (may require reinstalling meson) and that your file is using either the '.f' extension (for fixed-format Fortran) or the '.f90' extension (for free-format Fortran).

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

singlepointsim-0.0.6.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

singlepointsim-0.0.6-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file singlepointsim-0.0.6.tar.gz.

File metadata

  • Download URL: singlepointsim-0.0.6.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for singlepointsim-0.0.6.tar.gz
Algorithm Hash digest
SHA256 dd5236a6644384b17863283a47ebd991d3ef6dc741954de450393a847540dcb2
MD5 9129a99a6a7e0d0ce418980d02e44bf9
BLAKE2b-256 749186a1312c73d3895fedc5f0284566660c262d1d15c2db124c9365c769d583

See more details on using hashes here.

File details

Details for the file singlepointsim-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for singlepointsim-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a15bc2eb3a5c3d3638bd688288241a055b25e9d4d9fe3bc8e0a03065fa9e7e39
MD5 9c8de9a4f714757cb2ccaf8752041ba9
BLAKE2b-256 e59fbda46c6be9bad2cc2b6be475bfbbbadb5d5f31ef7286499a63f3e6743afc

See more details on using hashes here.

Supported by

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