How sahmotaman/damask works
DAMASK is a materials-simulation toolkit with a Fortran simulation core and a Python package for preparing simulation data, representing crystallography and grids, running solver integrations, and working with results. A typical user prepares material and geometry inputs, runs a simulation, then inspects or transforms its output. The tree supports the major solver and processing subsystems, but the supplied excerpts do not show the Fortran runtime call chain; those connections are therefore omitted. Python relationships shown below come from excerpts or SOURCE INDEX references.
Main entry points: src Fortran solvers · _result.py Result analysis · _rotation.py Rotations · grid_filters.py Grid filters
Components 23
Simulation core
- Fortran solvers
src - Grid solvers
src/grid - Mesh solvers
src/mesh - Material models
src - HDF5 results
Input preparation
- Configuration
python/damask/_config.py - Material config
python/damask/_configmaterial.py - Marc mesh PBC
processing/pre/mentat_pbcOnBoxMesh.py
Materials and geometry
- Grid geometry
python/damask/_grid.py - Grid filters
python/damask/grid_filters.py - Seed generation
python/damask/seeds.py - Crystal lattices
python/damask/_crystal.py - Rotations
python/damask/_rotation.py - Orientations
python/damask/_orientation.py
Analysis tools
- Result analysis
python/damask/_result.py - Continuum mechanics
python/damask/mechanics.py - Tensor math
python/damask/tensor.py - VTK data
python/damask/_vtk.py - Tabular data
python/damask/_table.py - Color maps
python/damask/_colormap.py
Solver integration
- Marc wrapper
python/damask/solver/_marc.py
Other components
- Simulation user
- MSC Marc
Connections 22
- Simulation user → Configuration: defines inputs
- Simulation user → Grid geometry: prepares geometry
- Simulation user → Fortran solvers: runs simulation
- Fortran solvers → Grid solvers: dispatches grid
- Fortran solvers → Mesh solvers: dispatches mesh
- Fortran solvers → Material models: uses models
- Fortran solvers → HDF5 results: writes results
- Simulation user → Marc mesh PBC: prepares mesh
- Simulation user → Result analysis: opens results
- Grid geometry → Grid filters: uses filters
python/damask/_grid.py - Seed generation → Grid filters: uses filters
python/damask/seeds.py - Orientations → Rotations: uses rotations
python/damask/_orientation.py - Orientations → Crystal lattices: uses lattices
python/damask/_orientation.py - Rotations → Tensor math: uses tensor math
python/damask/_rotation.py - Rotations → Grid filters: uses filters
python/damask/_rotation.py - Continuum mechanics → Tensor math: uses tensor math
python/damask/mechanics.py - Continuum mechanics → Rotations: uses rotations
python/damask/mechanics.py - Result analysis → Grid filters: uses filters
python/damask/_result.py - Result analysis → Continuum mechanics: uses mechanics
python/damask/_result.py - Result analysis → Tensor math: uses tensor math
python/damask/_result.py - Marc wrapper → MSC Marc: submits jobs
python/damask/solver/_marc.py - Simulation user → Marc wrapper: submits job