proteus 1.9.0
C/C++/Fortran libraries
Loading...
Searching...
No Matches
cppMultiSegmentedCable Class Reference

#include </work/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< ChVector3d > vel)
void setFluidAccelerationAtNodes (std::vector< ChVector3d > vel)
void setFluidDensityAtNodes (std::vector< double > dens)
void updateDragForces ()
void updateAddedMassForces ()
void applyForces ()
std::vector< std::shared_ptr< ChVector3d > > 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< ChContactMaterialSMC > material)
void buildNodesCloud ()
ChVector3d getTensionElement (int i, double eta)

Public Attributes

std::shared_ptr< ChSystem > system
std::string beam_type
std::shared_ptr< ChContactMaterialSMC > mysurfmaterial
std::shared_ptr< ChMesh > mesh
std::shared_ptr< ChBody > fairleadd
std::shared_ptr< ChLinkNodeFrame > fairlead2
std::vector< int > nb_nodes
std::vector< int > nb_elems
std::vector< ChVector3d > mvecs
std::vector< std::shared_ptr< cppCable > > cables
std::shared_ptr< ChContactMaterialSMC > 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< ChVector3d > fluid_velocity
std::vector< ChVector3d > 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< ChVector3d > > forces_drag
std::vector< std::shared_ptr< ChVector3d > > 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 281 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 345 of file ProtChMoorings.h.

Member Function Documentation

◆ applyForces()

void cppMultiSegmentedCable::applyForces ( )

Definition at line 562 of file ProtChMoorings.h.

◆ attachBackNodeToBody()

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

Definition at line 601 of file ProtChMoorings.h.

◆ attachFrontNodeToBody()

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

Definition at line 618 of file ProtChMoorings.h.

◆ buildCable()

void cppMultiSegmentedCable::buildCable ( )

Definition at line 438 of file ProtChMoorings.h.

◆ buildElements()

void cppMultiSegmentedCable::buildElements ( )

Definition at line 410 of file ProtChMoorings.h.

◆ buildNodes()

void cppMultiSegmentedCable::buildNodes ( )

Definition at line 383 of file ProtChMoorings.h.

◆ buildNodesCloud()

void cppMultiSegmentedCable::buildNodesCloud ( )

Definition at line 639 of file ProtChMoorings.h.

◆ getForceFairlead()

void cppMultiSegmentedCable::getForceFairlead ( )

◆ getNodalPositions()

std::vector< std::shared_ptr< ChVector3d > > cppMultiSegmentedCable::getNodalPositions ( )

Definition at line 588 of file ProtChMoorings.h.

◆ getTensionElement()

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

Definition at line 568 of file ProtChMoorings.h.

◆ setContactMaterial()

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

Definition at line 635 of file ProtChMoorings.h.

◆ setFluidAccelerationAtNodes()

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

Definition at line 495 of file ProtChMoorings.h.

◆ setFluidDensityAtNodes()

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

Definition at line 531 of file ProtChMoorings.h.

◆ setFluidVelocityAtNodes()

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

Definition at line 513 of file ProtChMoorings.h.

◆ updateAddedMassForces()

void cppMultiSegmentedCable::updateAddedMassForces ( )

Definition at line 556 of file ProtChMoorings.h.

◆ updateDragForces()

void cppMultiSegmentedCable::updateDragForces ( )

Definition at line 550 of file ProtChMoorings.h.

Member Data Documentation

◆ beam_type

std::string cppMultiSegmentedCable::beam_type

Definition at line 284 of file ProtChMoorings.h.

◆ body_back

std::shared_ptr<ChBody> cppMultiSegmentedCable::body_back

Definition at line 310 of file ProtChMoorings.h.

◆ body_front

std::shared_ptr<ChBody> cppMultiSegmentedCable::body_front

Definition at line 311 of file ProtChMoorings.h.

◆ cables

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

Definition at line 292 of file ProtChMoorings.h.

◆ constraint_back

std::shared_ptr<ChLinkBase> cppMultiSegmentedCable::constraint_back

Definition at line 307 of file ProtChMoorings.h.

◆ constraint_front

std::shared_ptr<ChLinkBase> cppMultiSegmentedCable::constraint_front

Definition at line 306 of file ProtChMoorings.h.

◆ contact_material

std::shared_ptr<ChContactMaterialSMC> cppMultiSegmentedCable::contact_material

Definition at line 293 of file ProtChMoorings.h.

◆ d

std::vector<double> cppMultiSegmentedCable::d

Definition at line 294 of file ProtChMoorings.h.

◆ E

std::vector<double> cppMultiSegmentedCable::E

Definition at line 296 of file ProtChMoorings.h.

◆ elems_built

bool cppMultiSegmentedCable::elems_built

Definition at line 315 of file ProtChMoorings.h.

◆ elemsBeamEuler

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

Definition at line 305 of file ProtChMoorings.h.

◆ elemsCableANCF

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

Definition at line 304 of file ProtChMoorings.h.

◆ fairlead2

std::shared_ptr<ChLinkNodeFrame> cppMultiSegmentedCable::fairlead2

Definition at line 288 of file ProtChMoorings.h.

◆ fairleadd

std::shared_ptr<ChBody> cppMultiSegmentedCable::fairleadd

Definition at line 287 of file ProtChMoorings.h.

◆ fluid_acceleration

std::vector<ChVector3d> cppMultiSegmentedCable::fluid_acceleration

Definition at line 302 of file ProtChMoorings.h.

◆ fluid_density

std::vector<double> cppMultiSegmentedCable::fluid_density

Definition at line 303 of file ProtChMoorings.h.

◆ fluid_velocity

std::vector<ChVector3d> cppMultiSegmentedCable::fluid_velocity

Definition at line 301 of file ProtChMoorings.h.

◆ forces_addedmass

std::vector<std::shared_ptr<ChVector3d> > cppMultiSegmentedCable::forces_addedmass

Definition at line 309 of file ProtChMoorings.h.

◆ forces_drag

std::vector<std::shared_ptr<ChVector3d> > cppMultiSegmentedCable::forces_drag

Definition at line 308 of file ProtChMoorings.h.

◆ length

std::vector<double> cppMultiSegmentedCable::length

Definition at line 297 of file ProtChMoorings.h.

◆ mesh

std::shared_ptr<ChMesh> cppMultiSegmentedCable::mesh

Definition at line 286 of file ProtChMoorings.h.

◆ mvecs

std::vector<ChVector3d> cppMultiSegmentedCable::mvecs

Definition at line 291 of file ProtChMoorings.h.

◆ mysurfmaterial

std::shared_ptr<ChContactMaterialSMC> cppMultiSegmentedCable::mysurfmaterial

Definition at line 285 of file ProtChMoorings.h.

◆ nb_elems

std::vector<int> cppMultiSegmentedCable::nb_elems

Definition at line 290 of file ProtChMoorings.h.

◆ nb_elems_tot

int cppMultiSegmentedCable::nb_elems_tot

Definition at line 313 of file ProtChMoorings.h.

◆ nb_nodes

std::vector<int> cppMultiSegmentedCable::nb_nodes

Definition at line 289 of file ProtChMoorings.h.

◆ nb_nodes_tot

int cppMultiSegmentedCable::nb_nodes_tot

Definition at line 312 of file ProtChMoorings.h.

◆ nodes

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

Definition at line 298 of file ProtChMoorings.h.

◆ nodes_built

bool cppMultiSegmentedCable::nodes_built

Definition at line 314 of file ProtChMoorings.h.

◆ nodes_chlink

bool cppMultiSegmentedCable::nodes_chlink

Definition at line 316 of file ProtChMoorings.h.

◆ nodesDD

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

Definition at line 299 of file ProtChMoorings.h.

◆ nodesRot

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

Definition at line 300 of file ProtChMoorings.h.

◆ rho

std::vector<double> cppMultiSegmentedCable::rho

Definition at line 295 of file ProtChMoorings.h.

◆ system

std::shared_ptr<ChSystem> cppMultiSegmentedCable::system

Definition at line 283 of file ProtChMoorings.h.


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