Example 1: nonlinear diffusion in a star¶
Files¶
-
Comprehensive test files:
-
Reference results for comparison:
- explicit diffusion coefficient :time_specialized.csv
- implicit diffusion coefficient :time_specialized.csv
Statement of the problem¶
This example code is based on the "Example 16: Time Dependent Heat Conduction", on MFEM's website. It solves a diffusion equation in a 2D star (GMSH mesh coming from MFEM examples).
where the concentration in the diffusion coefficient can be evaluated at the previous time step, as done in the MFEM example, or at the current time step to form a fully nonlinear system.
Initial condition¶
The initial condition is set to inside a circle of radius , outside.
Parameters used for the test¶
For this test, the following parameters are considered:
Parameter | Symbol | Value |
---|---|---|
Primary coefficient | ||
Secondary coefficient |
Boundary conditions¶
Neumann boundary conditions are prescribed on the boundary of the domain:
Numerical scheme¶
- Time integration: Euler Implicit over the interval ,
- Spatial discretization: built from GMSH + quadratic FE + uniform levels of refinement (it could be extended further)
Results¶
The figure 1 shows the nonlinear diffusion inside the star.
