Skip to content

kmokstad/IFEM-ThermoElasticity

 
 

Repository files navigation

IFEM ThermoElasticity

Introduction

This module contains the thermo-elasticity library and applications built using the IFEM library.

Getting all dependencies

  1. Install IFEM from https://github.com/OPM/IFEM

Getting the code

This is done by first navigating to a folder <App root> in which you want the applications and typing

git clone https://github.com/OPM/IFEM-Elasticity Elasticity
git clone https://github.com/OPM/IFEM-ThermoElasticity ThermoElasticity

The build system uses sibling directory logic to locate the IFEM-Elasticity module.

Compiling the code

To compile, first navigate to the root catalogue <App root>.

  1. cd ThermoElasticity
  2. mkdir Debug
  3. cd Debug
  4. cmake -DCMAKE_BUILD_TYPE=Debug ..
  5. make

This will compile the library and applications. The executable can be found in the 'bin' sub-folder. Change all instances of Debug with Release to drop debug-symbols, and get a faster running code.

Testing the code

IFEM uses the cmake test system. To compile and run all regression- and unit-tests, navigate to your build folder (i.e. <App root>/ThermoElasticity/Debug) and type

make check

About

Thermo-elastic solvers built on IFEM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 55.8%
  • C++ 37.8%
  • CMake 5.1%
  • Shell 1.3%