Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=I4), | public | :: | fluid_type | constant for the fluid type: INC, GP, MIXT |
|||
real(kind=R8), | public | :: | p_0 | reference pressure |
|||
real(kind=R8), | public | :: | rho_0 | reference liquid density |
|||
real(kind=R8), | public | :: | mu_0 | reference dynamic viscosity |
|||
real(kind=R8), | public | :: | T_0 | reference temperature |
|||
real(kind=R8), | public | :: | rg | perfect gas constant |
|||
real(kind=R8), | public | :: | lambda | gas mass fraction |
|||
real(kind=R8), | public, | dimension(20) | :: | cst | table of parameters for the thermodynamic and rheological laws |
density
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 |
compressibility
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 |
pressure (perfect gas)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FLUID), | intent(in) | :: | fl | fluid type |
||
real(kind=R8), | intent(in) | :: | rho | density |
||
real(kind=R8), | intent(in) | :: | t | absolute temperature |
type FLUID
integer(kind=I4) :: fluid_type !! *constant for the fluid type: INC, GP, MIXT*
real(kind=R8) :: p_0 !! *reference pressure*
real(kind=R8) :: rho_0 !! *reference liquid density*
real(kind=R8) :: mu_0 !! *reference dynamic viscosity*
real(kind=R8) :: T_0 !! *reference temperature*
real(kind=R8) :: rg !! *perfect gas constant*
real(kind=R8) :: lambda !! *gas mass fraction*
real(kind=R8), dimension(20) :: cst !! *table of parameters for the thermodynamic and rheological laws*
contains
procedure :: rho !! *density*
procedure :: drhodp !! *compressibility*
procedure :: pres !! *pressure (perfect gas)*
endtype FLUID