GfsSourceDiffusion
From Gerris
GfsSourceDiffusion is used to add diffusion to a scalar tracer (representing, for example, temperature or concentration).
The syntax in parameter files is:
[ GfsSourceScalar ] [ GfsDiffusion ] Phi
where Phi
is the optional name of an existing variable. If Phi
is specified the equation solved is not a standard diffusion equation anymore but takes the form
- ∂tV = ∇.μ∇Φ
(i.e. by default Phi = V
).
GfsSourceDiffusion can also be used to set a viscosity source term on each Cartesian vector component of the velocity, however when the viscosity is non-uniform GfsSourceViscosity should be used instead.
Examples
- B\'enard--von K\'arm\'an Vortex Street for flow around a cylinder at Re=160
- Vortex street around a "heated" cylinder
- Boussinesq flow generated by a heated cylinder
- Comparison between explicit and implicit diffusion schemes on concentration tracer
- Conservation of diffusive tracer
- Boundary layer on a rotating disk
- Lid-driven cavity at Re=1000
- Lid-driven cavity with a non-uniform metric
- Lid-driven cavity on an anisotropic mesh
- Planar capillary waves
- Fluids of different densities
- Pure gravity wave
- Creeping Couette flow between cylinders
- Gouy-Chapman Debye layer
SourceDiffusion {} U 0.00078125
SourceDiffusion {} V 0.00078125
SourceDiffusion {} T 0.001
SourceDiffusion {} U 0.00078125
SourceDiffusion {} V 0.00078125
SourceDiffusion T 0.0001
SourceDiffusion T1 T/(T+1.e9*(1.-T)*(1.-T)) {beta = 1}
SourceDiffusion T 1e-4 { beta = 0.5 }
SourceDiffusion W 0.2
SourceDiffusion {} U 1e-3
SourceDiffusion {} V 1e-3
SourceDiffusion U 1e-3
SourceDiffusion V 1e-3
SourceDiffusion {} U 1e-3
SourceDiffusion {} V 1e-3
SourceDiffusion U 0.0182571749236
SourceDiffusion V 0.0182571749236
SourceDiffusion U 0.0182571749236
SourceDiffusion V 0.0182571749236
SourceDiffusion {} U 0.0182571749236
SourceDiffusion {} V 0.0182571749236
SourceDiffusion T 1
SourceDiffusion Cpos 1.0
SourceDiffusion Cneg 1.0