Type details

Monofluid model

struct monofluid_cons_t

Type containing conservative variables for a monofluid model.

Public Functions

inline monofluid_cons_t()

Public Members

double m

mass per unit volume

double mE

total energy per unit volume

array<double> mV

2D/3D momentum per unit volume

Public Static Attributes

static constexpr unsigned nvar = 2 + P4EST_DIM
struct monofluid_prim_t

Type containing primitive variables for a monofluid model.

Public Functions

inline monofluid_prim_t()

Public Members

double m

mass per unit volume

double P

pressure

double T

temperature

array<double> V

2D/3D velocity

Public Static Attributes

static constexpr unsigned nvar = 3 + P4EST_DIM

Bifluid5eq model

struct bifluid5eq_cons_t

Type containing conservative variables for a bifluid5eq model.

Public Functions

inline bifluid5eq_cons_t()

Public Members

double mg

mass of gas per unit volume

double ml

mass of liquid per unit volume

array<double> mV

2D/3D momentum per unit volume

double mE

total energy per unit volume

double ag

gas volume fraction

Public Static Attributes

static constexpr unsigned nvar = 4 + P4EST_DIM
struct bifluid5eq_prim_t

Type containing primitive variables for a bifluid5eq model.

Public Functions

inline bifluid5eq_prim_t()

Public Members

double mg

mass of gas per unit volume

double ml

mass of liquid per unit volume

double P

pressure

double T

temperature

double ag

gas volume fraction

array<double> V

2D/3D velocity

Public Static Attributes

static constexpr unsigned nvar = 5 + P4EST_DIM

Bifluid7eq model

struct bifluid7eq_cons_t

Type containing conservative variables for a bifluid7eq model.

Public Functions

inline bifluid7eq_cons_t()

Public Members

double mg

mass of gas per unit volume

array<double> mgVg

2D/3D momentum of the gas phase per unit volume

double mgEg

total energy of the gas phase per unit volume

double ml

mass of liquid per unit volume

array<double> mlVl

2D/3D momentum of the liquid phase per unit volume

double mlEl

total energy of of the liquid phase per unit volume

double ag

gas volume fraction

Public Static Attributes

static constexpr unsigned nvar = 5 + 2 * P4EST_DIM
struct bifluid7eq_prim_t

Type containing primitive variables for a bifluid7eq model.

Public Functions

inline bifluid7eq_prim_t()

Public Members

double mg

mass of gas per unit volume

array<double> Vg

2D/3D velocity of the gas phase

double Pg

pressure of the gas phase

double Tg

temperature of the gas phase

double ml

mass of liquid per unit volume

array<double> Vl

2D/3D velocity of liquid

double Pl

pressure of liquid

double Tl

temperature of liquid

double ag

gas volume fraction

Public Static Attributes

static constexpr unsigned nvar = 7 + 2 * P4EST_DIM