Constant Density Incompressible Flow Solver Geometry
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=wp), | public, | allocatable | :: | DIV(:,:,:,:,:) |
Divergence operator for velocity |
||
| type(marker_set), | public | :: | IB |
Immersed boundaries |
|||
| real(kind=wp), | public, | allocatable | :: | LAP(:,:,:,:,:,:) |
Viscous Laplacian for velocity Core fields |
||
| type(eulerian_obj_r), | public | :: | P |
Fluid pressure |
|||
| type(ResPart_set), | public | :: | RP |
Resolved particles |
|||
| type(eulerian_obj_r), | public | :: | SA |
Surface density function |
|||
| type(eulerian_obj_r), | public | :: | V(3) |
Fluid velocity fields |
|||
| type(hypre_obj), | public | :: | VFSolver |
HYPRE Solver for the volume-fraction equation |
|||
| type(eulerian_obj_r), | public | :: | Vm(3) |
Velocities at mid points Bodyforces |
|||
| type(eulerian_obj_r), | public | :: | Vold(3) |
Old fluid velocity (at n) |
|||
| type(bc_set), | public | :: | bcs |
Boundary conditions |
|||
| type(block_obj), | public | :: | block |
Block information Mathematical tools |
|||
| class(bodyforce_obj), | public, | allocatable | :: | bodyforce |
Bodyforce |
||
| type(collision_obj), | public | :: | collisions |
Utility that handles collisions |
|||
| type(eulerian_obj_r), | public | :: | dP |
Pressure correction Optional components |
|||
| type(eulerian_obj_r), | public | :: | divu |
Divergence field |
|||
| type(eulerian_set), | public | :: | fields |
Eulerian data container |
|||
| real(kind=wp), | public | :: | gravity(3) | = | 0.0_wp |
Gravity Solver parameters |
|
| type(hypre_obj), | public | :: | hypre |
HYPRE Solver for the pressure-Poisson equation |
|||
| type(eulerian_obj_r), | public | :: | ibF(3) |
Immersed boundary force |
|||
| type(eulerian_obj_r), | public | :: | ibN(3) |
IB normals field Additional fields |
|||
| type(eulerian_obj_r), | public | :: | ibVF |
Solid volume fraction |
|||
| type(eulerian_obj_i), | public | :: | maskV(3) |
Output parmeters |
|||
| integer, | public | :: | maxitp | = | 1 |
Collision substeps |
|
| type(monitor_set), | public | :: | monitors |
Monitors to print to stdout and files at end of each time step |
|||
| character(len=:), | public, | allocatable | :: | name |
Name of this solver |
||
| type(op_obj), | public | :: | op |
Differential Operators |
|||
| character(len=str8), | public, | allocatable | :: | output_var(:) |
Names of variables to output Flow parameters |
||
| character(len=str8), | public, | allocatable | :: | outputs(:) |
List of outputs (one output can contain multiple variables) |
||
| real(kind=wp), | public, | allocatable | :: | pGRAD(:,:,:,:,:) |
Gradient operator for pressure |
||
| type(parallel_obj), | public, | pointer | :: | parallel | => | null() |
Associated parallel structure |
| type(parser_obj), | public, | pointer | :: | parser | => | null() |
Associated parser |
| type(monitor_set), | public | :: | pmonitor |
Monitor for the pressure-Poisson equation, prints at each substep |
|||
| type(eulerian_obj_r), | public | :: | resV(3) |
Velocity residual |
|||
| real(kind=wp), | public | :: | rho | = | 1.0_wp |
Fluid density |
|
| type(eulerian_obj_r), | public | :: | rhs |
Right-hand side |
|||
| type(eulerian_obj_r), | public | :: | srcV(3) |
Momentum source Masks |
|||
| integer, | public | :: | subit | = | 2 |
Solver sub-iteration Collision parameters |
|
| type(timer_obj), | public, | pointer | :: | timer | => | null() |
Associated timer |
| logical, | public | :: | use_IB | = | .false. |
Use Immersed Boundaries |
|
| logical, | public | :: | use_RP | = | .false. |
Use Resolved Particles |
|
| logical, | public | :: | use_col | = | .false. |
Use collisions |
|
| real(kind=wp), | public | :: | visc | = | 1.0_wp |
Fluid viscosity |
Advances solution from n to n+1
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cdifs_obj), | intent(inout) | :: | this |
The solver |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cdifs_obj), | intent(inout) | :: | this |
The solver |
Initialize the solver
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cdifs_obj), | intent(inout) | :: | this |
The solver |
||
| type(timer_obj), | intent(in), | target | :: | timer |
Timer utility |
|
| type(parallel_obj), | intent(in), | target | :: | parallel |
Parallel machinery |
|
| type(parser_obj), | intent(in), | target | :: | parser |
Parser for input file |
Analyze data and post to monitors
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cdifs_obj), | intent(inout) | :: | this |
The solver |
Prepare data before run
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cdifs_obj), | intent(inout) | :: | this |
The solver |
Process single-precision data for visualization
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cdifs_obj), | intent(inout) | :: | this |
The solver |
Write restart data to disk
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cdifs_obj), | intent(inout) | :: | this |
The solver |