![]() | ![]() | ![]() | Gerris Flow Solver Reference Manual | ![]() |
---|
#include <gfs.h> #define GFS_INIT_VORTICITY (obj) #define GFS_INIT_VORTICITY_CLASS (klass) #define GFS_IS_INIT_VORTICITY (obj) GfsInitVorticity; GfsInitVorticityClass; GfsInitVorticityClass* gfs_init_vorticity_class (void);
GfsInitVorticity uses the given vorticity distribution to compute a 2D streamfunction and the corresponding velocity field.
Due to limitations in the type of boundary conditions for the streamfunction-vorticity equation, the vorticity field given as argument must vanish before reaching the boundaries of the domain.
The syntax in parameter files is as follows:
[ GfsGenericInit ] [ GfsFunction ]
<<< Initialisation event | Fraction initialisation >>> |