GfsVariableCurvature

From Gerris

Revision as of 06:35, 3 July 2008; view current revision
←Older revision | Newer revision→
Jump to: navigation, search

A GfsVariableCurvature variable contains the mean curvature (double the mean curvature in 3D) of an interface defined either through a GfsVariableDistance or a GfsVariableTracerVOF. The values are defined in a band around the interface. Outside of this band the value is set to G_MAXDOUBLE.

The syntax in parameter files is:

[ GfsVariable ] V

where V is either a GfsVariableDistance or a GfsVariableTracerVOF. When using a GfsVariableTracerVOF, the maximum curvature of the interface (i.e. the maximum of the absolute value of the principal curvatures) can optionally be stored in a second variable. For example:

GfsVariableCurvature K T Kmax

will define both the mean curvature K and the maximum curvature Kmax of the interface defined by GfsVariableTracerVOF T.

Note that in 2D the maximum curvature is just the absolute value of the mean curvature.

Examples

Personal tools
communication