Skip to content
Permalink
Newer
Older
100644 37 lines (31 sloc) 1.99 KB
1
███████╗██╗ ██╗██████╗ █████╗ ██████╗
2
██╔════╝╚██╗██╔╝╚════██╗██╔══██╗██╔══██╗
3
█████╗ ╚███╔╝ █████╔╝███████║██████╔╝
4
██╔══╝ ██╔██╗ ██╔═══╝ ██╔══██║██╔══██╗
5
███████╗██╔╝ ██╗███████╗██║ ██║██████╔╝
6
╚══════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝
December 17, 2019 15:03
7
8
Ex2Ab is a utility for converting Exodus II mesh files into the Abaqus inp format. <br />
9
The utility will also generate a skeletal MCNP input file.
10
11
## Requirements:
December 17, 2019 15:07
12
* `Exodus II Mesh` with defined blocks (element sets) for each material region.
13
* `Python netCDF4 module` <br />
14
See http://unidata.github.io/netcdf4-python/#netCDF4.Group for installation instructions.
15
* All required other Python dependencies are common packages.
March 19, 2019 12:36
16
17
## Included Files:
December 17, 2019 15:25
18
* `Ex2Ab.py` - the main program file.
19
* `Ex2Ab_modules.py` - file with functions for the main program file.
20
21
## To Run with GUI:
22
1. Enter `python Ex2AB.py` into the command line.
January 9, 2023 15:18
23
* From the directory containing `Ex2AB.py`.
24
2. Choose your `Exodus II Mesh` using the GUI.
25
3. Click `Done` on the GUI.
26
4. Let Ex2Ab run and check the terminal for prompts.
27
* The outputs will be written to your current working directory.
28
29
## To Run without GUI:
30
1. Enter `python Ex2AB.py mesh.exo` into the command line.
31
* `mesh.exo` is your `Exodus II Mesh`.
32
2. Let Ex2Ab run and check the terminal for prompts.
33
* The outputs will be written to your current working directory.
December 17, 2019 15:25
34
35
## Optionally Defined Mesh Features:
December 17, 2019 15:03
36
* `Node sets` on model surfaces that are intended to be reflecting boundaries.
37
* `Attribute1` field on each block - this is treated as the density of the block.