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

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 WeaklyCompressibleFluidThisObjectPtr () 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_
 
BaseParticlesbase_particles_
 
XmlEngine reload_material_xml_engine_
 
ParticleVariableList reload_local_parameters_
 

Detailed Description

Linear equation of state (EOS).

Member Data Documentation

◆ p0_

Real SPH::WeaklyCompressibleFluid::p0_
protected

reference sound speed and pressure


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