private function rho(fl, p, t)
Note
Function to calculate the density of the fluid based on t and p
- if fl is set to INC (incompressible) where is a member of fl FLUID
- if fl is set to GP (perfect gas) where is a member of fl FLUID
- if fl is set to MIXT (mixture) where are members of fl FLUID
Arguments
| Type |
Intent | Optional |
Attributes | | Name | |
| class(FLUID), |
intent(in) |
|
| :: |
fl | fluid type |
| real(kind=R8), |
intent(in) |
|
| :: |
p | pressure |
| real(kind=R8), |
intent(in) |
|
| :: |
t | absolute temperature |
Return Value real(kind=R8)