Vorticity initialisation

Name

Vorticity initialisation -- Initialising 2D velocities from a prescribed vorticity distribution

Synopsis


#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);

Description

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 ]

Details

GFS_INIT_VORTICITY()

#define     GFS_INIT_VORTICITY(obj)

obj :


GFS_INIT_VORTICITY_CLASS()

#define     GFS_INIT_VORTICITY_CLASS(klass)

klass :


GFS_IS_INIT_VORTICITY()

#define     GFS_IS_INIT_VORTICITY(obj)

obj :


GfsInitVorticity

typedef struct {
  GfsFunction * f;
} GfsInitVorticity;


GfsInitVorticityClass

typedef struct {
} GfsInitVorticityClass;


gfs_init_vorticity_class ()

GfsInitVorticityClass* gfs_init_vorticity_class
                                            (void);

Returns :