SPHinXsys
alpha version
|
Linear equation of state (EOS). More...
#include <weakly_compressible_fluid.h>
Inherits SPH::Fluid.
Inherited by SPH::Oldroyd_B_Fluid, and SPH::SymmetricTaitFluid.
Public Member Functions | |
WeaklyCompressibleFluid (Real rho0, Real c0, Real mu=0.0) | |
Real | ReferenceSoundSpeed () |
virtual Real | getPressure (Real rho) override |
virtual Real | DensityFromPressure (Real p) override |
virtual Real | getSoundSpeed (Real p=0.0, Real rho=1.0) override |
virtual WeaklyCompressibleFluid * | ThisObjectPtr () override |
Public Member Functions inherited from SPH::Fluid | |
Fluid (Real rho0, Real mu) | |
Real | ReferenceViscosity () |
virtual Real | getPressure (Real rho, Real rho_e) |
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 | c0_ |
Real | p0_ |
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_ |
BaseParticles * | base_particles_ |
XmlEngine | reload_material_xml_engine_ |
ParticleVariableList | reload_local_parameters_ |
Linear equation of state (EOS).
|
protected |
reference sound speed and pressure