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

#include <elastic_line_galerkin.h>

Inheritance diagram for MBSimHydraulics::ElasticLineGalerkin:
[legend]

Public Types

enum  AnsatzTypes { BSplineOrd4, BSplineOrd3, Polynom, Harmonic }
 
- Public Types inherited from fmatvec::Atom
enum  MsgType
 

Public Member Functions

 ElasticLineGalerkin (const std::string &name="")
 
void calcSize () override
 
void setp0 (double p0_)
 
void setFracAir (double fracAir_)
 
void setdh (double dh_)
 
void setDLehr (double DLehr_)
 
void setAnsatzFunction (AnsatzTypes method_, int nAnsatz_)
 
void setFlow2D (bool flow2d=true)
 
void setRelativePlotPoints (const fmatvec::Vec &rPP)
 
void setDiameter (double d_)
 
void setLength (double l_)
 
void setQ0 (double Q0_)
 
fmatvec::Vec getQIn ()
 
fmatvec::Vec getQOut ()
 
fmatvec::VecV getInflowFactor () override
 
fmatvec::VecV getOutflowFactor () override
 
void init (InitStage stage, const MBSim::InitConfigSet &config) override
 
void calcqSize () override
 
void calcuSize (int j) override
 
void updateQ () override
 
void updateh (int j=0) override
 
void updateT () override
 
void updateM () override
 
void plot () override
 
void plotParameters ()
 
void initializeUsingXML (xercesc::DOMElement *element) 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
 
- 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
 

Protected Attributes

AnsatzTypes ansatzType
 
bool Flow2D {false}
 
int nAnsatz {0}
 
double p0 {0}
 
double Q0 {0}
 
double fracAir {0}
 
double delta_h {0}
 
double DLehr {0}
 
fmatvec::Vec relPlotPoints
 
- Protected Attributes inherited from MBSimHydraulics::HLine
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

int mdim {0}
 
int plotdim {0}
 
double nu
 
double g {0}
 
double E {0}
 
double k {0}
 
fmatvec::Vec WInt
 
fmatvec::Vec wA
 
fmatvec::Vec wE
 
fmatvec::Vec lambda
 
fmatvec::SymMat MatIntWWT
 
fmatvec::SymMat MatIntWSWST
 
fmatvec::SymMat K
 
fmatvec::SymMat D
 
fmatvec::SymMat N
 
fmatvec::SymMat Omega
 
fmatvec::SymMat MFac
 
fmatvec::SqrMat phi
 
ansatz_function * ansatz
 
fmatvec::Mat plotVecW
 
fmatvec::Mat plotVecWS
 
double l {0}
 
double d {0}
 
double Area {0}
 

Additional Inherited Members

- 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 Member Functions inherited from fmatvec::Atom
 Atom (const Atom &src)
 

Detailed Description

ElasticLineGalerkin

Constructor & Destructor Documentation

MBSimHydraulics::ElasticLineGalerkin::ElasticLineGalerkin ( const std::string &  name = "")

Constructor

Member Function Documentation

void MBSimHydraulics::ElasticLineGalerkin::setAnsatzFunction ( AnsatzTypes  method_,
int  nAnsatz_ 
)

set the method of the ansatz-function and its order; choose one of BSplineOrd3, BSplineOrd4, Polynom, Harmonic

void MBSimHydraulics::ElasticLineGalerkin::setdh ( double  dh_)
inline

set delta_h of the pipe

void MBSimHydraulics::ElasticLineGalerkin::setDLehr ( double  DLehr_)
inline

set damping meassure according Lehr, default=0

void MBSimHydraulics::ElasticLineGalerkin::setFlow2D ( bool  flow2d = true)
inline

set a 2dimension flow recognition

void MBSimHydraulics::ElasticLineGalerkin::setFracAir ( double  fracAir_)
inline

set the fracAir of the pipe (for E-Modulus calculation

void MBSimHydraulics::ElasticLineGalerkin::setp0 ( double  p0_)
inline

set initial pressure of the pipe fluid

void MBSimHydraulics::ElasticLineGalerkin::setRelativePlotPoints ( const fmatvec::Vec &  rPP)
inline

select points in the pipe, for which a output should be created


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

Impressum / Disclaimer / Datenschutz Generated by doxygen 1.8.5 Home