Define the equation of state (EOS) of ideal compressible fluid for FORESEER library.
Overload eos_compressible name with its constructor.
Return and instance of eos_compressible.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R8P), | intent(in), | optional | :: | cp | Specific heat at constant pressure |
|
| real(kind=R8P), | intent(in), | optional | :: | cv | Specific heat at constant volume |
|
| real(kind=R8P), | intent(in), | optional | :: | gam | Specific heats ratio |
|
| real(kind=R8P), | intent(in), | optional | :: | R | Fluid constant |
Instance of eos_compressible.
Equation of state (EOS) of ideal compressible object class.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=R8P), | public | :: | R_ | = | 0._R8P | Fluid constant |
|
| real(kind=R8P), | public | :: | cp_ | = | 0._R8P | Specific heat at constant pressure |
|
| real(kind=R8P), | public | :: | cv_ | = | 0._R8P | Specific heat at constant volume |
|
| real(kind=R8P), | public | :: | delta_ | = | 0._R8P |
|
|
| real(kind=R8P), | public | :: | eta_ | = | 0._R8P |
|
|
| real(kind=R8P), | public | :: | g_ | = | 0._R8P | Specific heats ratio |
|
| real(kind=R8P), | public | :: | gm1_ | = | 0._R8P |
|
|
| real(kind=R8P), | public | :: | gp1_ | = | 0._R8P |
|
Overload eos_compressible name with its constructor.
| private elemental function eos_compressible_instance(cp, cv, gam, R) | Return and instance of eos_compressible. |
| procedure, public, pass(self) :: R | Return fluid constant |
| generic, public :: assignment(=) => eos_assign_eos | Overload |
| procedure, public, pass(self) :: compute_derivate | Compute derivate quantities (from |
| procedure, public, pass(self) :: cp | Return specific heat at constant pressure. |
| procedure, public, pass(self) :: cv | Return specific heat at constant volume. |
| procedure, public, pass(self) :: delta | Return |
| procedure, public, pass(self) :: density | Return density. |
| procedure, public, pass(self) :: description | Return pretty-printed object description. |
| procedure, public, pass(self) :: energy | Return specific internal energy. |
| procedure, public, pass(lhs) :: eos_assign_eos | Operator |
| procedure, public, pass(self) :: eta | Return |
| procedure, public, pass(self) :: g | Return specific heats ratio |
| procedure, public, pass(self) :: gm1 | Return |
| procedure, public, pass(self) :: gp1 | Return |
| procedure, public, pass(self) :: pressure | Return pressure. |
| procedure, public, pass(self) :: speed_of_sound | Return speed of sound. |
| procedure, public, pass(self) :: temperature | Return temperature. |
Return fluid constant R=cp-cv.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_compressible), | intent(in) | :: | self | Equation of state. |
Fluid constant value.
Return specific heat at constant pressure.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_compressible), | intent(in) | :: | self | Equation of state. |
cp value.
Return specific heat at constant volume.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_compressible), | intent(in) | :: | self | Equation of state. |
cv value.
Return (gamma - 1) / 2.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_compressible), | intent(in) | :: | self | Equation of state. |
(gamma - 1) / 2 value.
Return density.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_compressible), | intent(in) | :: | self | Equation of state. |
||
| real(kind=R8P), | intent(in), | optional | :: | energy | Specific internal energy value. |
|
| real(kind=R8P), | intent(in), | optional | :: | pressure | Pressure value. |
|
| real(kind=R8P), | intent(in), | optional | :: | speed_of_sound | Speed of sound value. |
|
| real(kind=R8P), | intent(in), | optional | :: | temperature | Temperature value. |
Density value.
Return a pretty-formatted object description.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_compressible), | intent(in) | :: | self | Equation of state. |
||
| character(len=*), | intent(in), | optional | :: | prefix | Prefixing string. |
Description.
Return specific internal energy.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_compressible), | intent(in) | :: | self | Equation of state. |
||
| real(kind=R8P), | intent(in), | optional | :: | density | Density value. |
|
| real(kind=R8P), | intent(in), | optional | :: | pressure | Pressure value. |
|
| real(kind=R8P), | intent(in), | optional | :: | temperature | Temperature value. |
Energy value.
Return and instance of eos_compressible.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=R8P), | intent(in), | optional | :: | cp | Specific heat at constant pressure |
|
| real(kind=R8P), | intent(in), | optional | :: | cv | Specific heat at constant volume |
|
| real(kind=R8P), | intent(in), | optional | :: | gam | Specific heats ratio |
|
| real(kind=R8P), | intent(in), | optional | :: | R | Fluid constant |
Instance of eos_compressible.
Return conservative_compressible pointer associated to conservative_object or its extensions until conservative_compressible included.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_object), | intent(in), | target | :: | to | Target of associate. |
|
| character(len=*), | intent(in), | optional | :: | error_message | Auxiliary error message. |
Associated pointer.
Return 2 * gamma / (gamma - 1).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_compressible), | intent(in) | :: | self | Equation of state. |
2 * gamma / (gamma - 1) value.
Return specific heats ratio gamma=cp/cv.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_compressible), | intent(in) | :: | self | Equation of state. |
Specific heats ratio value.
Return gamma - 1.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_compressible), | intent(in) | :: | self | Equation of state. |
gamma - 1 value.
Return gamma + 1.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_compressible), | intent(in) | :: | self | Equation of state. |
gamma + 1 value.
Return pressure.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_compressible), | intent(in) | :: | self | Equation of state. |
||
| real(kind=R8P), | intent(in), | optional | :: | density | Density value. |
|
| real(kind=R8P), | intent(in), | optional | :: | energy | Specific internal energy value. |
|
| real(kind=R8P), | intent(in), | optional | :: | temperature | Temperature value. |
Pressure value.
Return speed of sound.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_compressible), | intent(in) | :: | self | Equation of state. |
||
| real(kind=R8P), | intent(in) | :: | density | Density value. |
||
| real(kind=R8P), | intent(in) | :: | pressure | Pressure value. |
Speed of sound value.
Return temperature.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_compressible), | intent(in) | :: | self | Equation of state. |
||
| real(kind=R8P), | intent(in), | optional | :: | density | Density value. |
|
| real(kind=R8P), | intent(in), | optional | :: | energy | Specific internal energy value. |
|
| real(kind=R8P), | intent(in), | optional | :: | pressure | Pressure value. |
Temperature value.
Compute derivate quantities (from cp and cv).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_compressible), | intent(inout) | :: | self | Equation of state. |
Operator =.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eos_compressible), | intent(inout) | :: | lhs | Left hand side. |
||
| class(eos_object), | intent(in) | :: | rhs | Right hand side. |