GfsSource
From Gerris
GfsSource is used to associate a source term to a variable.
The syntax in parameter files is:
[ GfsSourceScalar ] [ GfsFunction ]
The dimensions of the GfsFunction are the dimensions of the variable per unit time (except when the variable is the pressure "P", see next).
When GfsSource is used for the pressure "P" used by the GfsSimulation solver, the source term is a "volume source" (or sink) S such that:
- ∇.u = S
Examples
- Rayleigh-Taylor instability
- Boussinesq flow generated by a heated cylinder
- Collapse of a column of grains
- Air-water flow around a Series 60 cargo ship
- Forced isotropic turbulence in a triply-periodic box
- Flow created by a cylindrical volume source
- Boundary layer on a rotating disk
- Poiseuille flow
- Bagnold flow of a granular material
- Poiseuille flow with metric
- Poiseuille flow with multilayer Saint-Venant
- Hydrostatic balance with solid boundaries and viscosity
- Hydrostatic balance with quadratic pressure profile
Source {} V -9.81
Source V T
Source V -1
Source U (x > -0.375 ? 0 : 10.*(FROUDE - U))
Source U 0.1*(U - Ubar)
Source V 0.1*(V - Vbar)
Source W 0.1*(W - Wbar)
Source P F
Source V W*W/y
Source U 1
Source V 1
Source V -cos(ALPHA)
Source U sin(ALPHA)
Source U 1
Source V 1
Source U A*P/NL
Source V -1
Source V -rho