private function drhodp(fl, p, t)
Note
Function to calculate compressibility (drdp)T based on T and p
- if fl is set to INC (incompressible) ρ=0
- if fl is set to GP (perfect gas) ρ=1rgT where rg
is a member of fl FLUID
- if fl is set to MIXT (mixture) ρ=λρ20rgT(p(1−λ)+λrgTρ0)2 where λ\',\'ρ0 and rg 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)