57#define PIGAMMA double invgammaavg = (fc - frho1[]*b1)/(gamma1 - 1.) + \
58 (1. - fc - frho2[]*b2)/(gamma2 - 1.), \
59 PIGAMMAavg = (fc - frho1[]*b1)*PI1*gamma1/(gamma1 - 1.) + frho1[]*q1 + \
60 (1. - fc - frho2[]*b2)*PI2*gamma2/(gamma2 - 1.) + frho2[]*q2
double sound_speed(Point point)
These functions are provided by the Equation Of State.
double thermal_expansion(Point point)
double average_temperature(Point point, double p)
These functions are provided by the Equation Of State.
double bulk_compressibility(Point point)
double average_pressure(Point point)
double internal_energy(Point point, double fc)
vector q[]
The primitive variables are the momentum , pressure , density , (face) specific volume ,...
scalar ps[]
The equation of state is defined by the pressure field ps and .
static number sq(number x)
static number clamp(number x, number a, number b)
scalar f[]
The primary fields are: