Skip to content

dhrichards/mcfab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mcfab: Monte-Carlo Fabric Evolution Model

A Monte-Carlo based solver for fabric evolution. It is coded in JAX and can be run on GPU, giving ~50x speedup compared to a NumPy implementation. It solves ice fabric evolution equations with:

  • a contribution to lattice rotation from D, the deformation tensor
  • a contribution to lattice rotation from S, the deviatoric stress tensor subject to some flow law
  • A browninan motion term, corresponding to a diffusional process
  • Migration recrystallization like Placidi et al. (2010)

A number of rheologies are incoprated, such as Rathmann et al. (2021) and the GOLF rheology of Gillet-Chaulet et al. (2005). A parameter set which reproduces Richards et al. (2021) is also included.

Installation

The package requires JAX and JAXlib to be installed. Instructions can be found here. The package also depends on jaxopt if a fully non-linear flow law is used.

The package can be installed by:

git clone https://github.com/dhrichards/mcfab.git
cd mcfab
pip install .

Example usage

import jax.numpy as jnp
TODO

References

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages