GeModel Derived Type

type, public, abstract, extends(BaseModel) :: GeModel

Excess Gibbs energy model.


Components

Type Visibility Attributes Name Initial
type(Substances), public :: components

Substances contained in the module


Type-Bound Procedures

procedure(excess_gibbs), public, deferred :: excess_gibbs

  • subroutine excess_gibbs(self, n, t, Ge, GeT, GeT2, Gen, GeTn, Gen2) Prototype

    Excess Gibbs and derivs procedure

    Arguments

    Type IntentOptional Attributes Name
    class(GeModel), intent(in) :: self

    Model

    real(kind=pr), intent(in) :: n(:)

    Moles vector

    real(kind=pr), intent(in) :: t

    Temperature [K]

    real(kind=pr), intent(out), optional :: Ge

    Excess Gibbs

    real(kind=pr), intent(out), optional :: GeT

    real(kind=pr), intent(out), optional :: GeT2

    real(kind=pr), intent(out), optional :: Gen(size(n))
    real(kind=pr), intent(out), optional :: GeTn(size(n))
    real(kind=pr), intent(out), optional :: Gen2(size(n),size(n))

procedure, public :: ln_activity_coefficient

  • public subroutine ln_activity_coefficient(self, n, T, lngamma)

    Arguments

    Type IntentOptional Attributes Name
    class(GeModel), intent(in) :: self
    real(kind=pr), intent(in) :: n(:)
    real(kind=pr), intent(in) :: T
    real(kind=pr), intent(out) :: lngamma(:)