Gerris
|
Volume-Of-Fluid tracers. More...
Functions | |
gdouble | gfs_line_area (const FttVector *m, gdouble alpha) |
gdouble | gfs_line_alpha (const FttVector *m, gdouble c) |
void | gfs_line_center (const FttVector *m, gdouble alpha, gdouble a, FttVector *p) |
gdouble | gfs_line_area_center (const FttVector *m, gdouble alpha, FttVector *p) |
gdouble | gfs_plane_volume (const FttVector *m, gdouble alpha) |
gdouble | gfs_plane_alpha (const FttVector *m, gdouble c) |
void | gfs_plane_center (const FttVector *m, gdouble alpha, gdouble a, FttVector *p) |
gdouble | gfs_plane_area_center (const FttVector *m, gdouble alpha, FttVector *p) |
void | gfs_youngs_gradient (FttCell *cell, GfsVariable *v, FttVector *g) |
gdouble | gfs_vof_plane_interpolate (FttCell *cell, FttVector *p, guint level, GfsVariableTracerVOF *t, FttVector *m) |
gdouble | gfs_vof_interpolate (FttCell *cell, FttVector *p, guint level, GfsVariableTracerVOF *t) |
void | gfs_tracer_vof_advection (GfsDomain *domain, GfsAdvectionParams *par) |
gdouble | gfs_vof_face_value (const FttCellFace *face, GfsVariableTracerVOF *t) |
guint | gfs_vof_facet (FttCell *cell, GfsVariableTracerVOF *t, FttVector *p, FttVector *m) |
gdouble | gfs_vof_facet_distance2 (FttCell *cell, GfsVariableTracerVOF *t, GtsPoint *p) |
gdouble | gfs_vof_center (FttCell *cell, GfsVariableTracerVOF *t, FttVector *p) |
gdouble | gfs_fit_curvature (FttCell *cell, GfsVariableTracerVOF *t, gdouble *kmax) |
gdouble | gfs_height_curvature (FttCell *cell, GfsVariableTracerVOF *t, gdouble *kmax) |
gboolean | gfs_curvature_along_direction (FttCell *cell, GfsVariableTracerVOFHeight *t, FttComponent c, gdouble *kappa, gdouble *kmax) |
gdouble | gfs_height_curvature_new (FttCell *cell, GfsVariableTracerVOFHeight *t, gdouble *kmax) |
gdouble | gfs_vof_correctness (FttCell *cell, GfsVariableTracerVOF *t) |
GfsVariable * | gfs_closest_height (FttCell *cell, GfsVariableTracerVOFHeight *t, FttComponent c, gdouble *orientation) |
Volume-Of-Fluid tracers.
gdouble gfs_line_alpha | ( | const FttVector * | m, |
gdouble | c | ||
) |
m | a #FttVector. |
c | a volume fraction. |
gdouble gfs_line_area | ( | const FttVector * | m, |
gdouble | alpha | ||
) |
m | normal to the line. |
alpha | line constant. |
gdouble gfs_line_area_center | ( | const FttVector * | m, |
gdouble | alpha, | ||
FttVector * | p | ||
) |
m | normal to the line. |
alpha | line constant. |
p | a #FttVector. |
Fills p with the position of the center of area of the fraction of a square cell lying under the line (m,alpha).
void gfs_line_center | ( | const FttVector * | m, |
gdouble | alpha, | ||
gdouble | a, | ||
FttVector * | p | ||
) |
m | normal to the line. |
alpha | line constant. |
a | area of cell fraction. |
p | a #FttVector. |
Fills p with the position of the center of mass of the fraction of a square cell lying under the line (m,alpha).
gdouble gfs_plane_alpha | ( | const FttVector * | m, |
gdouble | c | ||
) |
m | a #FttVector. |
c | a volume fraction. |
gdouble gfs_plane_area_center | ( | const FttVector * | m, |
gdouble | alpha, | ||
FttVector * | p | ||
) |
m | normal to the plane. |
alpha | plane constant. |
p | a #FttVector. |
Fills p with the position of the center of area of the fraction of a cubic cell lying under the plane (m,alpha).
void gfs_plane_center | ( | const FttVector * | m, |
gdouble | alpha, | ||
gdouble | a, | ||
FttVector * | p | ||
) |
m | normal to the plane. |
alpha | plane constant. |
a | volume of cell fraction. |
p | a #FttVector. |
Fills p with the position of the center of mass of the fraction of a cubic cell lying under the plane (m,alpha).
gdouble gfs_plane_volume | ( | const FttVector * | m, |
gdouble | alpha | ||
) |
m | normal to the plane. |
alpha | plane constant. |
gdouble gfs_vof_interpolate | ( | FttCell * | cell, |
FttVector * | p, | ||
guint | level, | ||
GfsVariableTracerVOF * | t | ||
) |
cell | a #FttCell containing location p. |
p | the center of the virtual cell. |
level | the level of the virtual cell. |
t | a #GfsVariableTracerVOF. |
Computes the volume fraction of a virtual cell at level centered on p.
gdouble gfs_vof_plane_interpolate | ( | FttCell * | cell, |
FttVector * | p, | ||
guint | level, | ||
GfsVariableTracerVOF * | t, | ||
FttVector * | m | ||
) |
cell | a #FttCell containing location p. |
p | the center of the virtual cell. |
level | the level of the virtual cell. |
t | a #GfsVariableTracerVOF. |
m | a #FttVector. |
Computes the equation m.x = alpha of the volume fraction plane of a virtual cell at level centered on p.
void gfs_youngs_gradient | ( | FttCell * | cell, |
GfsVariable * | v, | ||
FttVector * | g | ||
) |
cell | a #FttCell. |
v | a #GfsVariable. |
g | a #FttVector. |
Fills g with the Youngs-averaged gradients of v normalised by the size of cell.