| Gerris Flow Solver Reference Manual |
|---|
#include <gfs.h>gdouble gfs_plane_alpha (const FttVector *m,gdouble c);gdouble gfs_plane_volume (const FttVector *m,gdouble alpha);gdouble gfs_line_alpha (const FttVector *m,gdouble c);gdouble gfs_line_area (const FttVector *m,gdouble alpha);void gfs_line_center (const FttVector *m,gdouble alpha,gdouble a, FttVector *p);void gfs_tracer_vof_advection (GfsDomain *domain, GfsAdvectionParams *par);
gdouble gfs_plane_alpha (const FttVector *m,gdouble c);
m : | a FttVector. |
c : | a volume fraction. |
| Returns : | the value |
gdouble gfs_plane_volume (const FttVector *m,gdouble alpha);
m : | normal to the plane. |
alpha : | plane constant. |
| Returns : | the volume of a cell lying under the plane ( |
gdouble gfs_line_alpha (const FttVector *m,gdouble c);
m : | a FttVector. |
c : | a volume fraction. |
| Returns : | the value |
gdouble gfs_line_area (const FttVector *m,gdouble alpha);
m : | normal to the line. |
alpha : | line constant. |
| Returns : | the area of the fraction of a cell lying under the line
( |
void gfs_line_center (const FttVector *m,gdouble alpha,gdouble a, FttVector *p);
Fills p with the position of the center of mass of the fraction of
a square cell lying under the line (m,alpha).
m : | normal to the line. |
alpha : | line constant. |
a : | area of cell fraction. |
p : | a FttVector. |
void gfs_tracer_vof_advection (GfsDomain *domain, GfsAdvectionParams *par);
Advects the v field of par using the current face-centered (MAC)
velocity field.
domain : | a GfsDomain. |
par : | the advection parameters. |
| <<< Advection | Poisson solver >>> |