NeoPZ
|
Implements the numerical flux for AUSM problem. (Jorge?) More...
#include <pzausmflux.h>
Public Member Functions | |
TPZAUSMFlux (STATE gamma) | |
Constructor with Gamma value. More... | |
TPZAUSMFlux (const TPZAUSMFlux &cp) | |
Copy constructor. More... | |
void | ComputeFlux (TPZVec< STATE > &solL, TPZVec< STATE > &solR, TPZVec< REAL > &normal, TPZVec< STATE > &F) |
Computes numerical flux. More... | |
Private Member Functions | |
STATE | SoundSpeed (TPZVec< STATE > &sol, STATE press) |
Returns sound speed. More... | |
STATE | Pressure (TPZVec< STATE > &sol) |
Returns pressure values. More... | |
STATE | Speed (TPZVec< STATE > &sol, TPZVec< REAL > &normal, STATE &NormalSpeed) |
Returns speed. More... | |
STATE | Enthalpy (STATE soundSpeed, STATE speed) |
Returns enthalpy. More... | |
void | ComputeInitialData (TPZVec< STATE > &sol, TPZVec< REAL > &normal, STATE &soundSpeed, STATE &Speed, STATE &NormalSpeed, STATE &Enthalpy, STATE &press) |
Auxiliar method only. More... | |
STATE | FacePressure (STATE pL, STATE pR, STATE Ml, STATE Mr) |
Returns pressure in the face. More... | |
STATE | FaceMachNumber (STATE Ml, STATE Mr) |
Returns mach number in the face. More... | |
STATE | NumSoundSpeed (STATE LeftSoundSpeed, STATE RightSoundSpeed) |
Computes the numerical sound speed at the face. More... | |
STATE | MassFlux (STATE NumericalSoundSpeed, STATE rhoL, STATE rhoR, STATE FaceMach) |
Returns the mass flux. More... | |
Private Attributes | |
STATE | fGamma |
Ratio between specific heat is constant and the specific heat the constant volume of a polytropic gas. More... | |
STATE | fAlpha |
Method constants. More... | |
STATE | fBeta |
Implements the numerical flux for AUSM problem. (Jorge?)
Definition at line 17 of file pzausmflux.h.
TPZAUSMFlux::TPZAUSMFlux | ( | STATE | gamma | ) |
TPZAUSMFlux::TPZAUSMFlux | ( | const TPZAUSMFlux & | cp | ) |
Copy constructor.
Definition at line 14 of file pzausmflux.cpp.
void TPZAUSMFlux::ComputeFlux | ( | TPZVec< STATE > & | solL, |
TPZVec< STATE > & | solR, | ||
TPZVec< REAL > & | normal, | ||
TPZVec< STATE > & | F | ||
) |
Computes numerical flux.
Definition at line 20 of file pzausmflux.cpp.
References ComputeInitialData(), fabs, FaceMachNumber(), FacePressure(), MassFlux(), and NumSoundSpeed().
Referenced by TPZEulerEquation::ContributeBCInterface(), and TPZEulerEquation::ContributeInterface().
|
private |
Auxiliar method only.
Definition at line 54 of file pzausmflux.cpp.
References Enthalpy(), Pressure(), SoundSpeed(), and Speed().
Referenced by ComputeFlux().
|
private |
Returns enthalpy.
Definition at line 106 of file pzausmflux.cpp.
References fGamma.
Referenced by ComputeInitialData().
|
private |
Returns mach number in the face.
Definition at line 131 of file pzausmflux.cpp.
References fBeta.
Referenced by ComputeFlux().
|
private |
Returns pressure in the face.
Definition at line 111 of file pzausmflux.cpp.
References fAlpha.
Referenced by ComputeFlux().
|
private |
Returns the mass flux.
Definition at line 155 of file pzausmflux.cpp.
References m.
Referenced by ComputeFlux().
|
private |
Computes the numerical sound speed at the face.
Definition at line 151 of file pzausmflux.cpp.
References sqrt.
Referenced by ComputeFlux().
|
private |
Returns pressure values.
Definition at line 73 of file pzausmflux.cpp.
References DebugStop, fabs, fGamma, and PZError.
Referenced by ComputeInitialData().
|
private |
Returns sound speed.
Definition at line 62 of file pzausmflux.cpp.
References DebugStop, fGamma, PZError, and sqrt.
Referenced by ComputeInitialData().
|
private |
Returns speed.
Definition at line 93 of file pzausmflux.cpp.
References sqrt.
Referenced by ComputeInitialData().
|
private |
Method constants.
Definition at line 25 of file pzausmflux.h.
Referenced by FacePressure(), and TPZAUSMFlux().
|
private |
Definition at line 25 of file pzausmflux.h.
Referenced by FaceMachNumber(), and TPZAUSMFlux().
|
private |
Ratio between specific heat is constant and the specific heat the constant volume of a polytropic gas.
Definition at line 22 of file pzausmflux.h.
Referenced by Enthalpy(), Pressure(), SoundSpeed(), and TPZAUSMFlux().