CG  Version 25
Public Member Functions | Static Public Member Functions | List of all members
FluidPiston Class Reference

#include <FluidPiston.h>

Public Member Functions

 FluidPiston ()
 
 ~FluidPiston ()
 

Static Public Member Functions

static int fluidSolidRiemannProblem (const real solid[], const real fluid[], real fsr[])
 Solve the fluid-solid Riemann problem.
 

Constructor & Destructor Documentation

FluidPiston::FluidPiston ( )
FluidPiston::~FluidPiston ( )

Member Function Documentation

int FluidPiston::fluidSolidRiemannProblem ( const real  solid[],
const real  fluid[],
real  fsr[] 
)
static

Solve the fluid-solid Riemann problem.

[] (input) : solid state solid[0..3]=[rho,v,stress,cp] cp = solid speed of sound (for p-waves) [] (input) : fluid state fluid[0..4]=[rho,v,p,gamma,pOffset] [0..] (output) : state next to the interface, fsr[0..2] = [rhoFluid,v,pFluid, Mfsr,Sfsr] Mfsr = FSR Mach number, Sfsr = reflected shock speed See also papers/fsi/elasticPiston.tex for the derivation of this equation.

References expansionFanFSR(), gam, gp1, resFSR(), rhs(), tol, and zeroin.

Referenced by fluidSolidRiemannSolution(), and Parameters::getUserDefinedKnownSolution().


The documentation for this class was generated from the following files: