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:
MBSimHydraulics::HLine MBSim::Object MBSim::Element fmatvec::Atom

Public Types

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

Public Member Functions

 ElasticLineGalerkin (const std::string &name="")
 
virtual std::string getType () const
 
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::Vec getInflowFactor ()
 
fmatvec::Vec getOutflowFactor ()
 
void init (InitStage stage)
 
void calcqSize ()
 
void calcuSize (int j)
 
void updateStateDependentVariables (double t)
 
void updateh (double t, int j=0)
 
void updateT (double t)
 
void updateM (double t, int j=0)
 
void plot (double t, double dt)
 
void plotParameters ()
 
void initializeUsingXML (xercesc::DOMElement *element)
 
- Public Member Functions inherited from MBSimHydraulics::HLine
 HLine (const std::string &name)
 
virtual void updateJacobians (double t, int j=0)
 
virtual void updateInverseKineticsJacobians (double t)
 
virtual void setFrameOfReference (MBSim::Frame *frame)
 
void setFromNode (HNode *nFrom_)
 
void setToNode (HNode *nTo_)
 
void setDirection (fmatvec::Vec dir)
 
HNodegetFromNode ()
 
HNodegetToNode ()
 
void setOutflowRelative (bool rel=true)
 
void setInflowRelative (bool rel=true)
 
virtual fmatvec::MatgetJacobian ()
 
void updateM (double t, int j=0)
 
void init (InitStage stage)
 
void initializeUsingXML (xercesc::DOMElement *element)
 
- Public Member Functions inherited from fmatvec::Atom
Atomoperator= (const Atom &)
 
void setMessageStreamActive (MsgType type, bool active)
 
void getMessageStream (MsgType type, boost::shared_ptr< bool > &a, boost::shared_ptr< std::ostream > &s)
 
void adoptMessageStreams (const Atom *src=NULL)
 
std::ostream & msg (MsgType type)
 
bool msgAct (MsgType type)
 

Protected Attributes

AnsatzTypes ansatzType
 
bool Flow2D
 
int nAnsatz
 
double p0
 
double Q0
 
double fracAir
 
double delta_h
 
double DLehr
 
fmatvec::Vec relPlotPoints
 
- Protected Attributes inherited from MBSimHydraulics::HLine
HNodenFrom
 
HNodenTo
 
bool nFromRelative
 
bool nToRelative
 
fmatvec::Vec direction
 
fmatvec::SymMat Mlocal
 
fmatvec::Mat Jacobian
 
MBSim::FrameframeOfReference
 

Private Attributes

int mdim
 
int plotdim
 
double nu
 
double g
 
double E
 
double k
 
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
 
fmatvec::Vec QIn
 
fmatvec::Vec QOut
 
double l
 
double d
 
double Area
 

Additional Inherited Members

- Static Public Member Functions inherited from fmatvec::Atom
static void setCurrentMessageStream (MsgType type, const boost::shared_ptr< bool > &a=boost::make_shared< bool >(true), const boost::shared_ptr< std::ostream > &s=boost::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 Valid HTML