███████╗██╗ ██╗██████╗ █████╗ ██████╗
██╔════╝╚██╗██╔╝╚════██╗██╔══██╗██╔══██╗
█████╗ ╚███╔╝ █████╔╝███████║██████╔╝
██╔══╝ ██╔██╗ ██╔═══╝ ██╔══██║██╔══██╗
███████╗██╔╝ ██╗███████╗██║ ██║██████╔╝
╚══════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝
Ex2Ab is a utility for converting Exodus II mesh files into the Abaqus inp format.
The utility will also generate a skeletal MCNP input file.
Requirements:
Exodus II Mesh
with defined blocks (element sets) for each material region.Python netCDF4 module
See http://unidata.github.io/netcdf4-python/#netCDF4.Group for installation instructions.- All required other Python dependencies are common packages.
Included Files:
Ex2Ab.py
- the main program file.Ex2Ab_modules.py
- file with functions for the main program file.
To Run with GUI:
- Enter
python Ex2AB.py
into the command line.- From the directory containing
Ex2AB.py
.
- From the directory containing
- Choose your
Exodus II Mesh
using the GUI. - Click
Done
on the GUI. - Let Ex2Ab run and check the terminal for prompts.
- The outputs will be written to your current working directory.
To Run without GUI:
- Enter
python Ex2AB.py mesh.exo
into the command line.mesh.exo
is yourExodus II Mesh
.
- Let Ex2Ab run and check the terminal for prompts.
- The outputs will be written to your current working directory.
Optionally Defined Mesh Features:
Node sets
on model surfaces that are intended to be reflecting boundaries.Attribute1
field on each block - this is treated as the density of the block.