Basilisk CFD
Adaptive Cartesian mesh PDE framework
Loading...
Searching...
No Matches
Mie-Gruneisen.h File Reference

Go to the source code of this file.

Macros

#define PIGAMMA
 

Functions

double sound_speed (Point point)
 These functions are provided by the Equation Of State.
 
double average_pressure (Point point)
 
double bulk_compressibility (Point point)
 
double internal_energy (Point point, double fc)
 

Variables

double gamma1 = 1.4 [0]
 
double gamma2 = 1.4 [0]
 
double PI1 = 0.
 
double PI2 = 0.
 

Macro Definition Documentation

◆ PIGAMMA

#define PIGAMMA
Value:
double invgammaavg = fc/(gamma1 - 1.) + (1. - fc)/(gamma2 - 1.), \
PIGAMMAavg = fc*PI1*gamma1/(gamma1 - 1.) + (1. - fc)*PI2*gamma2/(gamma2 - 1.)
double gamma2
double gamma1
double PI1
double PI2
int x
Definition common.h:76

Average pressure

Definition at line 56 of file Mie-Gruneisen.h.

Function Documentation

◆ average_pressure()

double average_pressure ( Point  point)

Definition at line 59 of file Mie-Gruneisen.h.

References clamp(), dimension, f, fE1, fE2, frho1, frho2, PIGAMMA, q, sq(), vector::x, and x.

Here is the call graph for this function:

◆ bulk_compressibility()

double bulk_compressibility ( Point  point)

Bulk compressibility of the mixture

i.e. \(\rho c^2\).

Definition at line 75 of file Mie-Gruneisen.h.

References clamp(), f, p, PIGAMMA, and x.

Here is the call graph for this function:

◆ internal_energy()

double internal_energy ( Point  point,
double  fc 
)

Internal energy

Definition at line 85 of file Mie-Gruneisen.h.

References p, PIGAMMA, and x.

◆ sound_speed()

double sound_speed ( Point  point)

These functions are provided by the Equation Of State.

Sound speed

In mixture cells, this function returns the maximum between the speeds in both phases.

Definition at line 28 of file Mie-Gruneisen.h.

References clamp(), dimension, f, fE1, fE2, frho1, frho2, gamma1, gamma2, max, p, PI1, PI2, q, sq(), vector::x, and x.

Here is the call graph for this function:

Variable Documentation

◆ gamma1

double gamma1 = 1.4 [0]

The Mie–Gruneisen Equation of State

This EOS is typically used in combination with the two-phase compressible solver.

The general form of the Mie–Gruneisen EOS can be written

\[ \rho_i e_i = \frac{p_i + \Gamma_i \Pi_i}{\Gamma_i - 1} \]

with \(\rho_i\), \(e_i\) and \(p_i\) the densities, internal energies and pressures of each phase.

These are the coefficients of the Mie-Gruneisen EOS for each phase.

Definition at line 20 of file Mie-Gruneisen.h.

Referenced by sound_speed().

◆ gamma2

double gamma2 = 1.4 [0]

Definition at line 20 of file Mie-Gruneisen.h.

Referenced by sound_speed().

◆ PI1

double PI1 = 0.

Definition at line 20 of file Mie-Gruneisen.h.

Referenced by sound_speed().

◆ PI2

double PI2 = 0.

Definition at line 20 of file Mie-Gruneisen.h.

Referenced by sound_speed().