proteus  1.8.1
C/C++/Fortran libraries
Public Member Functions | Public Attributes | List of all members
cppMultiSegmentedCable Class Reference

#include </Users/cekees/proteus/proteus/mbd/ProtChMoorings.h>

Collaboration diagram for cppMultiSegmentedCable:
[legend]

Public Member Functions

 cppMultiSegmentedCable (std::shared_ptr< ChSystem > system, std::shared_ptr< ChMesh > mesh, std::vector< double > length, std::vector< int > nb_nodes, std::vector< double > d, std::vector< double > rho, std::vector< double > E, std::string beam_type)
 
void setFluidVelocityAtNodes (std::vector< ChVector<>> vel)
 
void setFluidAccelerationAtNodes (std::vector< ChVector<>> vel)
 
void setFluidDensityAtNodes (std::vector< double > dens)
 
void updateDragForces ()
 
void updateAddedMassForces ()
 
void applyForces ()
 
std::vector< std::shared_ptr< ChVector< double > > > getNodalPositions ()
 
void buildNodes ()
 
void buildElements ()
 
void buildCable ()
 
void getForceFairlead ()
 
void attachBackNodeToBody (std::shared_ptr< ChBody > body)
 
void attachFrontNodeToBody (std::shared_ptr< ChBody > body)
 
void setContactMaterial (std::shared_ptr< ChMaterialSurfaceSMC > material)
 
void buildNodesCloud ()
 
ChVector getTensionElement (int i, double eta)
 

Public Attributes

std::shared_ptr< ChSystem > system
 
std::string beam_type
 
std::shared_ptr< ChMaterialSurfaceSMC > mysurfmaterial
 
std::shared_ptr< ChMesh > mesh
 
std::shared_ptr< ChBody > fairleadd
 
std::shared_ptr< ChLinkPointFrame > fairlead2
 
std::vector< int > nb_nodes
 
std::vector< int > nb_elems
 
std::vector< ChVector<> > mvecs
 
std::vector< std::shared_ptr< cppCable > > cables
 
std::shared_ptr< ChMaterialSurfaceSMC > contact_material
 
std::vector< double > d
 
std::vector< double > rho
 
std::vector< double > E
 
std::vector< double > length
 
std::vector< std::shared_ptr< ChNodeFEAxyzD > > nodes
 
std::vector< std::shared_ptr< ChNodeFEAxyzDD > > nodesDD
 
std::vector< std::shared_ptr< ChNodeFEAxyzrot > > nodesRot
 
std::vector< ChVector<> > fluid_velocity
 
std::vector< ChVector<> > fluid_acceleration
 
std::vector< double > fluid_density
 
std::vector< std::shared_ptr< ChElementCableANCF > > elemsCableANCF
 
std::vector< std::shared_ptr< ChElementBeamEuler > > elemsBeamEuler
 
std::shared_ptr< ChLinkBase > constraint_front
 
std::shared_ptr< ChLinkBase > constraint_back
 
std::vector< std::shared_ptr< ChVector< double > > > forces_drag
 
std::vector< std::shared_ptr< ChVector< double > > > forces_addedmass
 
std::shared_ptr< ChBody > body_back
 
std::shared_ptr< ChBody > body_front
 
int nb_nodes_tot
 
int nb_elems_tot
 
bool nodes_built
 
bool elems_built
 
bool nodes_chlink
 

Detailed Description

Definition at line 194 of file ProtChMoorings.h.

Constructor & Destructor Documentation

◆ cppMultiSegmentedCable()

cppMultiSegmentedCable::cppMultiSegmentedCable ( std::shared_ptr< ChSystem >  system,
std::shared_ptr< ChMesh >  mesh,
std::vector< double >  length,
std::vector< int >  nb_nodes,
std::vector< double >  d,
std::vector< double >  rho,
std::vector< double >  E,
std::string  beam_type = "CableANCF" 
)

Definition at line 258 of file ProtChMoorings.h.

Member Function Documentation

◆ applyForces()

void cppMultiSegmentedCable::applyForces ( )

Definition at line 475 of file ProtChMoorings.h.

◆ attachBackNodeToBody()

void cppMultiSegmentedCable::attachBackNodeToBody ( std::shared_ptr< ChBody >  body)

Definition at line 514 of file ProtChMoorings.h.

◆ attachFrontNodeToBody()

void cppMultiSegmentedCable::attachFrontNodeToBody ( std::shared_ptr< ChBody >  body)

Definition at line 531 of file ProtChMoorings.h.

◆ buildCable()

void cppMultiSegmentedCable::buildCable ( )

Definition at line 351 of file ProtChMoorings.h.

◆ buildElements()

void cppMultiSegmentedCable::buildElements ( )

Definition at line 323 of file ProtChMoorings.h.

◆ buildNodes()

void cppMultiSegmentedCable::buildNodes ( )

Definition at line 296 of file ProtChMoorings.h.

◆ buildNodesCloud()

void cppMultiSegmentedCable::buildNodesCloud ( )

Definition at line 552 of file ProtChMoorings.h.

◆ getForceFairlead()

void cppMultiSegmentedCable::getForceFairlead ( )

◆ getNodalPositions()

std::vector< std::shared_ptr< ChVector< double > > > cppMultiSegmentedCable::getNodalPositions ( )

Definition at line 501 of file ProtChMoorings.h.

◆ getTensionElement()

ChVector cppMultiSegmentedCable::getTensionElement ( int  i,
double  eta = 0. 
)

Definition at line 481 of file ProtChMoorings.h.

◆ setContactMaterial()

void cppMultiSegmentedCable::setContactMaterial ( std::shared_ptr< ChMaterialSurfaceSMC >  material)

Definition at line 548 of file ProtChMoorings.h.

◆ setFluidAccelerationAtNodes()

void cppMultiSegmentedCable::setFluidAccelerationAtNodes ( std::vector< ChVector<>>  vel)

Definition at line 408 of file ProtChMoorings.h.

◆ setFluidDensityAtNodes()

void cppMultiSegmentedCable::setFluidDensityAtNodes ( std::vector< double >  dens)

Definition at line 444 of file ProtChMoorings.h.

◆ setFluidVelocityAtNodes()

void cppMultiSegmentedCable::setFluidVelocityAtNodes ( std::vector< ChVector<>>  vel)

Definition at line 426 of file ProtChMoorings.h.

◆ updateAddedMassForces()

void cppMultiSegmentedCable::updateAddedMassForces ( )

Definition at line 469 of file ProtChMoorings.h.

◆ updateDragForces()

void cppMultiSegmentedCable::updateDragForces ( )

Definition at line 463 of file ProtChMoorings.h.

Member Data Documentation

◆ beam_type

std::string cppMultiSegmentedCable::beam_type

Definition at line 197 of file ProtChMoorings.h.

◆ body_back

std::shared_ptr<ChBody> cppMultiSegmentedCable::body_back

Definition at line 223 of file ProtChMoorings.h.

◆ body_front

std::shared_ptr<ChBody> cppMultiSegmentedCable::body_front

Definition at line 224 of file ProtChMoorings.h.

◆ cables

std::vector<std::shared_ptr<cppCable> > cppMultiSegmentedCable::cables

Definition at line 205 of file ProtChMoorings.h.

◆ constraint_back

std::shared_ptr<ChLinkBase> cppMultiSegmentedCable::constraint_back

Definition at line 220 of file ProtChMoorings.h.

◆ constraint_front

std::shared_ptr<ChLinkBase> cppMultiSegmentedCable::constraint_front

Definition at line 219 of file ProtChMoorings.h.

◆ contact_material

std::shared_ptr<ChMaterialSurfaceSMC> cppMultiSegmentedCable::contact_material

Definition at line 206 of file ProtChMoorings.h.

◆ d

std::vector<double> cppMultiSegmentedCable::d

Definition at line 207 of file ProtChMoorings.h.

◆ E

std::vector<double> cppMultiSegmentedCable::E

Definition at line 209 of file ProtChMoorings.h.

◆ elems_built

bool cppMultiSegmentedCable::elems_built

Definition at line 228 of file ProtChMoorings.h.

◆ elemsBeamEuler

std::vector<std::shared_ptr<ChElementBeamEuler> > cppMultiSegmentedCable::elemsBeamEuler

Definition at line 218 of file ProtChMoorings.h.

◆ elemsCableANCF

std::vector<std::shared_ptr<ChElementCableANCF> > cppMultiSegmentedCable::elemsCableANCF

Definition at line 217 of file ProtChMoorings.h.

◆ fairlead2

std::shared_ptr<ChLinkPointFrame> cppMultiSegmentedCable::fairlead2

Definition at line 201 of file ProtChMoorings.h.

◆ fairleadd

std::shared_ptr<ChBody> cppMultiSegmentedCable::fairleadd

Definition at line 200 of file ProtChMoorings.h.

◆ fluid_acceleration

std::vector<ChVector<> > cppMultiSegmentedCable::fluid_acceleration

Definition at line 215 of file ProtChMoorings.h.

◆ fluid_density

std::vector<double> cppMultiSegmentedCable::fluid_density

Definition at line 216 of file ProtChMoorings.h.

◆ fluid_velocity

std::vector<ChVector<> > cppMultiSegmentedCable::fluid_velocity

Definition at line 214 of file ProtChMoorings.h.

◆ forces_addedmass

std::vector<std::shared_ptr<ChVector<double> > > cppMultiSegmentedCable::forces_addedmass

Definition at line 222 of file ProtChMoorings.h.

◆ forces_drag

std::vector<std::shared_ptr<ChVector<double> > > cppMultiSegmentedCable::forces_drag

Definition at line 221 of file ProtChMoorings.h.

◆ length

std::vector<double> cppMultiSegmentedCable::length

Definition at line 210 of file ProtChMoorings.h.

◆ mesh

std::shared_ptr<ChMesh> cppMultiSegmentedCable::mesh

Definition at line 199 of file ProtChMoorings.h.

◆ mvecs

std::vector<ChVector<> > cppMultiSegmentedCable::mvecs

Definition at line 204 of file ProtChMoorings.h.

◆ mysurfmaterial

std::shared_ptr<ChMaterialSurfaceSMC> cppMultiSegmentedCable::mysurfmaterial

Definition at line 198 of file ProtChMoorings.h.

◆ nb_elems

std::vector<int> cppMultiSegmentedCable::nb_elems

Definition at line 203 of file ProtChMoorings.h.

◆ nb_elems_tot

int cppMultiSegmentedCable::nb_elems_tot

Definition at line 226 of file ProtChMoorings.h.

◆ nb_nodes

std::vector<int> cppMultiSegmentedCable::nb_nodes

Definition at line 202 of file ProtChMoorings.h.

◆ nb_nodes_tot

int cppMultiSegmentedCable::nb_nodes_tot

Definition at line 225 of file ProtChMoorings.h.

◆ nodes

std::vector<std::shared_ptr<ChNodeFEAxyzD> > cppMultiSegmentedCable::nodes

Definition at line 211 of file ProtChMoorings.h.

◆ nodes_built

bool cppMultiSegmentedCable::nodes_built

Definition at line 227 of file ProtChMoorings.h.

◆ nodes_chlink

bool cppMultiSegmentedCable::nodes_chlink

Definition at line 229 of file ProtChMoorings.h.

◆ nodesDD

std::vector<std::shared_ptr<ChNodeFEAxyzDD> > cppMultiSegmentedCable::nodesDD

Definition at line 212 of file ProtChMoorings.h.

◆ nodesRot

std::vector<std::shared_ptr<ChNodeFEAxyzrot> > cppMultiSegmentedCable::nodesRot

Definition at line 213 of file ProtChMoorings.h.

◆ rho

std::vector<double> cppMultiSegmentedCable::rho

Definition at line 208 of file ProtChMoorings.h.

◆ system

std::shared_ptr<ChSystem> cppMultiSegmentedCable::system

Definition at line 196 of file ProtChMoorings.h.


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