All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | Private Attributes | List of all members
MBSimHydraulics::HydraulicEnvironment Class Reference

#include <environment.h>

Inheritance diagram for MBSimHydraulics::HydraulicEnvironment:
[legend]

Public Member Functions

void initializeUsingXML (xercesc::DOMElement *e) override
 
virtual void initializeFluidData ()
 
void setBasicBulkModulus (double E0_)
 
void setKappa (double kappa_)
 
void setTemperature (double T_)
 
void setConstantSpecificMass (double rho_)
 
void setVolumeDependingOnTemperature (double dVdT_, double rho0_, double T0_)
 
void setSpecificMassDependingOnTemperature (double dRhodT_, double rho0_, double T0_)
 
void setConstantKinematicViscosity (double nu_)
 
void setWalterUbbelohdeKinematicViscosity (double T1, double nu1, double T2, double nu2)
 
void setEnvironmentPressure (double pinf_)
 
double getEnvironmentPressure ()
 
double getSpecificMass ()
 
double getBasicBulkModulus ()
 
double getKinematicViscosity ()
 
double getKappa ()
 
double getDynamicViscosity ()
 
double getTemperature ()
 
- Public Member Functions inherited from fmatvec::Atom
Atom & operator= (const Atom &)
 
void setMessageStreamActive (MsgType type, bool activeFlag)
 
void getMessageStream (MsgType type, std::shared_ptr< bool > &a, std::shared_ptr< std::ostream > &s) const
 
void adoptMessageStreams (const Atom *src=nullptr)
 
std::ostream & msg (MsgType type) const
 
bool msgAct (MsgType type) const
 

Static Public Member Functions

static HydraulicEnvironment * getInstance ()
 
- Static Public Member Functions inherited from fmatvec::Atom
static void setCurrentMessageStream (MsgType type, const std::shared_ptr< bool > &a=std::make_shared< bool >(true), const std::shared_ptr< std::ostream > &s=std::make_shared< std::ostream >(std::cout.rdbuf()))
 
static std::ostream & msgStatic (MsgType type)
 
static bool msgActStatic (MsgType type)
 

Protected Attributes

double E0 {0}
 
double kappa {0}
 
double rho {0}
 
double nu {0}
 
double pinf {0}
 

Static Protected Attributes

static std::unique_ptr
< HydraulicEnvironment > 
instance
 

Private Member Functions

double calcConstantSpecificMass (double T)
 
double calcVolumeDependingOnTemperature (double T)
 
double calcSpecificMassDependingOnTemperature (double T)
 
double calcConstantKinematicViscosity (double T)
 
double calcWalterUbbelohdeKinematicViscosity (double T)
 

Private Attributes

double rhoConstant {0}
 
double dVdT {0}
 
double rho0 {0}
 
double T0 {0}
 
double dRhodT {0}
 
double(HydraulicEnvironment::* calcRho )(double T)
 
double nuConstant {0}
 
double Tm {0}
 
double Wm {0}
 
double T2 {0}
 
double m {0}
 
double(HydraulicEnvironment::* calcNu )(double T)
 
double T {0}
 

Additional Inherited Members

- Public Types inherited from fmatvec::Atom
enum  MsgType
 
- Protected Member Functions inherited from fmatvec::Atom
 Atom (const Atom &src)
 

Detailed Description

HydraulicEnvironment

Member Function Documentation

double MBSimHydraulics::HydraulicEnvironment::getBasicBulkModulus ( )
inline

get the fluid compressibility depending on node fracAir and node pressure according Walter and Ubbelohde

double MBSimHydraulics::HydraulicEnvironment::getDynamicViscosity ( )
inline

get the dynamic viscosity

double MBSimHydraulics::HydraulicEnvironment::getEnvironmentPressure ( )
inline

get the boundary pressure

double MBSimHydraulics::HydraulicEnvironment::getKappa ( )
inline

get the air kappa value

double MBSimHydraulics::HydraulicEnvironment::getKinematicViscosity ( )
inline

get the kinemaitc viscosity

double MBSimHydraulics::HydraulicEnvironment::getSpecificMass ( )
inline

get the fluid specific mass

double MBSimHydraulics::HydraulicEnvironment::getTemperature ( )
inline

get the fluid temperature

void MBSimHydraulics::HydraulicEnvironment::setBasicBulkModulus ( double  E0_)
inline

set the basic (air-free) bulk modulus

void MBSimHydraulics::HydraulicEnvironment::setConstantKinematicViscosity ( double  nu_)

set a constant kinematic viscosity

void MBSimHydraulics::HydraulicEnvironment::setConstantSpecificMass ( double  rho_)

set a constant fluid specific mass

void MBSimHydraulics::HydraulicEnvironment::setEnvironmentPressure ( double  pinf_)
inline

set the boundary pressure

void MBSimHydraulics::HydraulicEnvironment::setKappa ( double  kappa_)
inline

set the air kappa value

void MBSimHydraulics::HydraulicEnvironment::setSpecificMassDependingOnTemperature ( double  dRhodT_,
double  rho0_,
double  T0_ 
)

set specific mass change with temperature

void MBSimHydraulics::HydraulicEnvironment::setTemperature ( double  T_)
inline

set the temerature of the fluid

void MBSimHydraulics::HydraulicEnvironment::setVolumeDependingOnTemperature ( double  dVdT_,
double  rho0_,
double  T0_ 
)

set volume change with temperature

void MBSimHydraulics::HydraulicEnvironment::setWalterUbbelohdeKinematicViscosity ( double  T1,
double  nu1,
double  T2,
double  nu2 
)

set the kinematic viscosity according Walter and Ubbelohde


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

Impressum / Disclaimer / Datenschutz Generated by doxygen 1.8.5 Home