77f8eb06193d54d7468c38ac4020dc106efc6c29
Simple Diffusion Example
Simple example of diffusion using MFEM and stroid. This is built as a test case for me to verify that stroid generates well conditioned meshes and to test implicit time stepping schemes in MFEM.
This model makes many simplifications for the sake of clarity:
- Constant diffusion coefficient
- No advection
- No sources or sinks
- No cross-diffusion
- A simple quadratic + ring initial chemical gradient (completely unphysical, just for testing)
Building
git clone https://github.com/tboudreaux/mfem-diffusion-example.git
cd mfem-diffusion-example
meson setup build
meson compile -C build
./build/test_diffusion
You will also need glvis running in the background to visualize the output
Description
Languages
C++
76.4%
Meson
20.5%
CMake
3.1%