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".
#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 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; | |
| } |
| enum | |
| { | |
| SINE_WAVE; | |
| DIRAC; | |
| UNIFORM; | |
| } |