DynEarthSol3D, DES3D in short, is a finite element code that solves the momentum balance and the heat transfer in Lagrangian form using unstructured meshes. It can be used to study the long-term deformation of Earth's lithosphere and problems alike.
Boost::Program_options
library (1.42 or
newer version). Instructions for building the library:
./bootstrap.sh
./b2 --with-program_options -q
to build
the library.git clone https://github.com/sandialabs/seacas.git
cd seacas && export ACCESS=`pwd`
COMPILER=gnu MATIO=NO GNU_PARALLEL=NO CGNS=NO FMT=NO ./install-tpl.sh
mkdir build; cd build
../cmake-exodus
make; make install
./seacas/include
and ./seacas/lib
. git clone https://github.com/MmgTools/mmg.git
cd mmg; mkdir build; cd build
cmake ..
make
mmg/build/include
and mmg/build/lib
.
Makefile
BOOST_ROOT_DIR
if you manually built or installed
boost library.Boost::Program_options
library, set BOOST_ROOT_DIR
to the untarred boost
directory.useexo = 1
and ndims = 3
. Only 3D exodus mesh can be imported.EXO_INCLUDE
and EXO_LIB_DIR
paths if different from the default values.usemmg = 1
.MMG_INCLUDE
and MMG_LIB_DIR
paths if different from the default values.make
to build optimized executable.make opt=0
to build a debugging executable.make openmp=0
to build the executable without OpenMP. This is
necessary to debug the code under valgrind.dynearthsol2d [inputfile: examples/defaults.cfg by default]
.examples/
directory. The
format of the input file is described in examples/defaults.cfg
.benchmarks/
directory.-h
flag to see the available input parameters
and their descriptions.2vtk.py [modelname: 'results' by default]
to convert the binary output to VTK files.2vtk.py -h
to see more usage information.2vtk.py
and
output.cxx
to disable/enable them.Bug reports, comments, and suggestions are always welcome. The best channel is to create an issue on the Issue Tracker here: https://github.com/tan2/DynEarthSol/issues
This program is free software: you can redistribute it and/or modify it under the terms of the MIT / X Windows System license. See LICENSE for the full text.
The files under the subdirectories 3x3-C/
, ann/
, tetgen/
and triangles/
are distributed by their own license(s).