File pressflow.h

RCS Header: /cvsroot/rheoplast/pressflow.h,v 1.8 2005/12/27 00:56:02 zhou Exp

The typedefs and prototypes for velocity-pressure fluid flow. This is not meant to be included on its own, only when someone #includes "rheoplast.h".


Included Files


Preprocessor definitions

#define PRESSFLOW_H

#define PRESSFLOW_HELP "Velocity-pressure flow is done on a staggered mesh, see the pressflow.c\ndocumentation for a complete description. To use it, add option:\n -with-pressflow\nand control it with properties and body force parameters:\n -viscosity <eta> viscosity [1.0]\n -density <rho> density [1.0]\n -sineforcet0 <Ft0> Sinusoidal force onset time [2.0]\n -sineforcemax <Fmax> Sinusoidal force amplitude [1.0]\n -sineforctype <dirac,sine> Sinusoidal force type [sine]\nOne may also specify initial and boundary conditions describing stagnation\nflow inward in the x-direction and centered at the origin (which turns on\nall symmetries) using:\n -flow_stagnation <umax> Maximum stagnation velocity [0.0]\n\n"


Typedef AppCtx

typedef void AppCtx

Typedef pressparm

Structure typedef for velocity-pressure fluid flow.

typedef struct {...} pressparm

struct  
   {  
      PetscScalar viscosity;  
      PetscScalar density;  
      PetscScalar sineFt0;  
      PetscScalar sineFmax;  
      PetscScalar uniFt0;  
      PetscScalar uniFmax;  
      PetscScalar stagnation;  
      int uvar;  
      int vvar;  
      int wvar;  
      int pressvar;  
      int omegavar;  
      int omeg2var;  
      int omeg3var;  
   }  

Typedef SFType

typedef enum {...} SFType
enum  
   {  
      SINE_WAVE;  
      DIRAC;  
      UNIFORM;  
   }