GfsSourceDiffusionExplicit
From Gerris
GfsSourceDiffusionExplicit is the time-explicit version of GfsSourceDiffusion. Note that this means that the timestep will need to be smaller than the local diffusion timescale to ensure stability i.e.
- Δt < Δx2/μ
where Δx is the mesh size and μ the diffusion coefficient. Depending on the problem this can be very restrictive and the stable time-implicit scheme of GfsDiffusion could be used instead.
The syntax in parameter files is:
[ GfsSourceDiffusion ]
Examples
- Comparison between the explicit and implicit diffusion schemes
- Comparison between explicit and implicit diffusion schemes on concentration tracer
- Conservation of diffusive tracer
- Relaxation of a charge bump
- Charge relaxation in an axisymmetric insulated conducting column
- Charge relaxation in a planar cross-section
- Equilibrium of a droplet suspended in an electric field
- Gouy-Chapman Debye layer
SourceDiffusionExplicit T 1
SourceDiffusionExplicit C T/(T+1.e9*(1.-T)*(1.-T))
SourceDiffusionExplicit Te 1e-4
SourceDiffusionExplicit Rhoe 1 Phi
SourceDiffusionExplicit Rhoe K*T Phi
SourceDiffusionExplicit C K*T/(T+1.e9*(1.-T)) Phi
SourceDiffusionExplicit Rhoe K*T Phi
SourceDiffusionExplicit Rhoe F*((1. - T)+ R*T) Phi
SourceDiffusionExplicit Cpos Cpos Phi
SourceDiffusionExplicit Cneg -Cneg Phi