GfsAdaptGradient
From Gerris
←Older revision | Newer revision→
GfsAdaptGradient uses a "cell cost" defined as the norm of the local gradient of a given variable or function multiplied by the cell size.
The syntax in parameter files is:
[ GfsAdapt ] [ GfsFunction ]
Examples
- B\'enard--von K\'arm\'an Vortex Street for flow around a cylinder at Re=160
- Vortex street around a "heated" cylinder
- Parallel simulation on four processors
- Rayleigh-Taylor instability
- Boussinesq flow generated by a heated cylinder
- "Garden sprinkler effect" in wave model
- Small amplitude solitary wave interacting with a parabolic hump
- Time-reversed VOF advection in a shear flow
- Viscous flow past a sphere
- Mass conservation
- Mass conservation with solid boundary
- Momentum conservation for large density ratios
- Circular droplet in equilibrium
- Axisymmetric spherical droplet in equilibrium
- Advection of a cosine bell around the sphere
AdaptGradient { istep = 1 } { maxlevel = 6 cmax = 1e-2 } T
AdaptGradient { istep = 1 } { maxlevel = 6 cmax = 1e-2 } T
AdaptGradient { istep = 1 } { maxlevel = 6 cmax = 1e-2 } T
AdaptGradient { istep = 1 } { maxlevel = 7 cmax = 1e-2 } T
AdaptGradient { istep = 1 } { maxlevel = 8 cmax = 5e-2 } T
AdaptGradient { istep = 1 } { cmax = 0.04 minlevel = MINLEVEL maxlevel = 6 } Hs
AdaptGradient { istep = 1 } {
cmax = 1e-4
cfactor = 2
maxlevel = 8
minlevel = 6
} (P + Zb)
AdaptGradient { istep = 1 } { cmax = 1e-2 maxlevel = 8 } T
AdaptGradient { istep = 1 } { cmax = 5e-2 maxlevel = LEVEL } U
AdaptGradient { istep = 1 } { cmax = 5e-2 maxlevel = LEVEL } V
AdaptGradient { istep = 1 } { cmax = 1e-3 minlevel = 4 maxlevel = (x < 0.25 ? 6 : 7) } T1
AdaptGradient { istep = 1 } { cmax = 1e-3 minlevel = 4 maxlevel = (x < 0. ? 7 : 8) } T1
AdaptGradient { istep = 1 } { cmax = 1e-3 maxlevel = level } T
AdaptGradient { istep = 1 } { cmax = 1e-6 maxlevel = LEVEL } T
AdaptGradient { istep = 1 } { cmax = 1e-6 maxlevel = LEVEL } T
AdaptGradient { istep = 1 } { cmax = 1e-4 maxlevel = LEVEL } T

