SPHinXsys
alpha version
|
Base class of all fluids. More...
#include <base_material.h>
Inherits SPH::BaseMaterial.
Inherited by SPH::CompressibleFluid, and SPH::WeaklyCompressibleFluid.
Public Member Functions | |
Fluid (Real rho0, Real mu) | |
Real | ReferenceViscosity () |
virtual Real | getPressure (Real rho)=0 |
virtual Real | getPressure (Real rho, Real rho_e) |
virtual Real | DensityFromPressure (Real p)=0 |
virtual Real | getSoundSpeed (Real p=0.0, Real rho=1.0)=0 |
virtual Fluid * | ThisObjectPtr () override |
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 | 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_ |
Base class of all fluids.
|
protected |
reference sound speed, viscosity.