This repository contains supplementary TerraFERMA model files to accompany the paper
Evans, O., Spiegelman, M., Kelemen, P.B., Exploring Feedbacks in a Model of Reaction-Driven Cracking, submitted to JGR-Solid Earth
This repository contains the following directories:
- models: Directories containing input files for describing and running the models used in this manuscript.
- meshes: gmsh input files used in the models
-
Install TerraFERMA: To view and run these models will require building and installing the open source code TerraFERMA.
-
Running Models: If the software is installed successfully the models can be run from within each subdirectory using
$ tfsimulationharness --test <filename>.shml
where <filename>.shml
is the name of the simulation harness file that controls parameter sweeps and parallelization options. Models are described (boundary/initial conditions, timesteppers, weak forms, solvers etc.) in the TerraFERMA markup language files with suffix .tfml
.
- Generating meshes: The meshes for this problem can be generated by running (in the meshes directory) the following commands
$ gmsh -2 <filename>.geo
$ dolfin-convert <filename>.msh <filename>.xml
- Viewing Input files: both
.tfml
and.shml
files can be viewed and changed using thediamond
GUI with
$ diamond <filename>.tfml