SPHinXsys  alpha version
Public Member Functions | Protected Attributes | List of all members
SPH::CompressibleFluid Class Reference

Ideal gas equation of state (EOS). More...

#include <compressible_fluid.h>

Inherits SPH::Fluid.

Public Member Functions

 CompressibleFluid (Real rho0, Real gamma, Real mu=0.0)
 
Real HeatCapacityRatio ()
 
virtual Real getPressure (Real rho, Real rho_e) override
 
virtual Real getPressure (Real rho) override
 
virtual Real DensityFromPressure (Real p) override
 
virtual Real getSoundSpeed (Real p, Real rho) override
 
virtual CompressibleFluidThisObjectPtr () override
 
- Public Member Functions inherited from SPH::Fluid
 Fluid (Real rho0, Real mu)
 
Real ReferenceViscosity ()
 
- Public Member Functions inherited from SPH::BaseMaterial
 BaseMaterial (Real rho0)
 
virtual void assignBaseParticles (BaseParticles *base_particles)
 
std::string MaterialType ()
 
std::string LocalParametersName ()
 
Real ReferenceDensity ()
 
virtual void writeToXmlForReloadLocalParameters (const std::string &filefullpath)
 
virtual void readFromXmlForLocalParameters (const std::string &filefullpath)
 

Protected Attributes

Real gamma_
 
- Protected Attributes inherited from SPH::Fluid
Real mu_
 
- Protected Attributes inherited from SPH::BaseMaterial
std::string material_type_name_
 
std::string parameters_name_
 
Real rho0_
 
BaseParticlesbase_particles_
 
XmlEngine reload_material_xml_engine_
 
ParticleVariableList reload_local_parameters_
 

Detailed Description

Ideal gas equation of state (EOS).

Constructor & Destructor Documentation

◆ CompressibleFluid()

SPH::CompressibleFluid::CompressibleFluid ( Real  rho0,
Real  gamma,
Real  mu = 0.0 
)
inlineexplicit

heat capacity ratio


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