mbsimhydraulics  4.0.0
MBSim Hydraulics Module
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
MBSimHydraulics::Leakage0DOF Class Reference
Inheritance diagram for MBSimHydraulics::Leakage0DOF:
[legend]

Public Member Functions

 Leakage0DOF (const std::string &name)
 
void setGapLengthFunction (MBSim::Function< double(double)> *s)
 
double evalGapLength () const
 
void setSurface1VelocityFunction (MBSim::Function< double(double)> *s)
 
double evalSurface1Velocity () const
 
void setSurface2VelocityFunction (MBSim::Function< double(double)> *s)
 
double evalSurface2Velocity () const
 
void init (InitStage stage, const MBSim::InitConfigSet &config) override
 
void updateQ () override
 
void initializeUsingXML (xercesc::DOMElement *element) override
 
- Public Member Functions inherited from MBSimHydraulics::DimensionlessLine
 DimensionlessLine (const std::string &name)
 
void calcSize () override
 
void setLength (double length_)
 
double getLength () const
 
fmatvec::VecV getInflowFactor () override
 
fmatvec::VecV getOutflowFactor () override
 
void calcqSize () override
 
void calcuSize (int j) override
 
void initializeUsingXML (xercesc::DOMElement *element) override
 
void init (InitStage stage, const MBSim::InitConfigSet &config) override
 
void plot () override
 
- Public Member Functions inherited from MBSimHydraulics::HLine
 HLine (const std::string &name)
 
void calcSize () override
 
void updateh (int j=0) override
 
void updateJacobians (int j=0)
 
void updateInverseKineticsJacobians ()
 
std::shared_ptr< OpenMBV::Group > getOpenMBVGrp () override
 
virtual void setFrameOfReference (MBSim::Frame *frame)
 
void setFromNode (HNode *nFrom_)
 
void setToNode (HNode *nTo_)
 
void setDirection (const fmatvec::Vec &dir)
 
HNode * getFromNode ()
 
HNode * getToNode ()
 
void setOutflowRelative (bool rel=true)
 
void setInflowRelative (bool rel=true)
 
const fmatvec::VecV & evalQIn ()
 
const fmatvec::VecV & evalQOut ()
 
const fmatvec::VecV & getQIn (bool check=true) const
 
const fmatvec::VecV & getQOut (bool check=true) const
 
const fmatvec::MatV & getJacobian () const
 
void updateM () override
 
void init (InitStage stage, const MBSim::InitConfigSet &config) override
 
void initializeUsingXML (xercesc::DOMElement *element) override
 
virtual Element * getDependency () const
 
void resetUpToDate () override
 
HydraulicEnvironment * getHydEnv () const
 

Protected Attributes

LeakagePressureLoss * lpl
 
- Protected Attributes inherited from MBSimHydraulics::DimensionlessLine
double length
 
- Protected Attributes inherited from MBSimHydraulics::HLine
HydraulicEnvironment * hydEnv =nullptr
 
HNode * nFrom
 
HNode * nTo
 
bool nFromRelative
 
bool nToRelative
 
fmatvec::VecV direction
 
fmatvec::SymMatV Mlocal
 
fmatvec::VecV QIn
 
fmatvec::VecV QOut
 
fmatvec::MatV Jacobian
 
MBSim::Frame * frameOfReference
 
bool updQ
 

Private Attributes

MBSim::Function< double(double)> * s1vFunction
 
MBSim::Function< double(double)> * s2vFunction
 
MBSim::Function< double(double)> * glFunction
 

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