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

linear EOS with relaxation time and polymetric viscosity. More...

#include <weakly_compressible_fluid.h>

Inherits SPH::WeaklyCompressibleFluid.

Public Member Functions

 Oldroyd_B_Fluid (Real rho0, Real c0, Real mu, Real lambda, Real mu_p)
 
Real getReferenceRelaxationTime ()
 
Real ReferencePolymericViscosity ()
 
virtual Oldroyd_B_FluidThisObjectPtr () override
 
- Public Member Functions inherited from SPH::WeaklyCompressibleFluid
 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
 
- 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 lambda_
 
Real mu_p_
 
- Protected Attributes inherited from SPH::WeaklyCompressibleFluid
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 EOS with relaxation time and polymetric viscosity.

Member Data Documentation

◆ lambda_

Real SPH::Oldroyd_B_Fluid::lambda_
protected

relaxation time

◆ mu_p_

Real SPH::Oldroyd_B_Fluid::mu_p_
protected

polymeric viscosity


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