(V)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
A single-element finite element compatability layer in Python 3. This Single Point Simulator (SPS) uses the NumPy F2PY module to compile Fortran based (V)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
python -m singlepointsim <inputfile>
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 (V)UMAT fortran file, foo.f90
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
should compile the (V)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).
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
Built Distribution
Hashes for singlepointsim-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9828e93e97d8ccecc7f432d6f719f5a8243dbff1f6eaa38d39478d4ee785a500 |
|
MD5 | 8bb4c6815053887362139bfecfae3ebd |
|
BLAKE2b-256 | b08b1318c5c0972b11b68e59dce8ca84a2068e5dd1b153361b5712fd032ec299 |