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

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

Collaboration diagram for cppCable:
[legend]

Public Member Functions

 cppCable (std::shared_ptr< ChSystem > system, std::shared_ptr< ChMesh > mesh, double length, int nb_elems, double d, double rho, double E, double L0, std::string beam_type)
 
void setFluidVelocityAtNodes (std::vector< ChVector<>> vel)
 
void setFluidAccelerationAtNodes (std::vector< ChVector<>> acc)
 
void setFluidDensityAtNodes (std::vector< double > vof)
 
std::vector< std::shared_ptr< ChVector< double > > > getNodalPositions ()
 
void buildVectors ()
 
void buildNodes (bool last_node)
 
void buildNodesBeamEuler (bool last_node)
 
void buildNodesCableANCF (bool last_node)
 
void buildElements (bool set_lastnodes)
 
void buildElementsBeamEuler (bool set_lastnodes)
 
void buildElementsCableANCF (bool set_lastnodes)
 
void buildMesh (bool add_lastnode)
 
void buildMeshBeamEuler (bool add_lastnode)
 
void buildMeshCableANCF (bool add_lastnode)
 
void setDragForce ()
 
void setAddedMassForce ()
 
void applyForces ()
 
void addNodestoContactCloud (std::shared_ptr< ChContactSurfaceNodeCloud > cloud)
 
void setDragCoefficients (double axial, double normal)
 
void setAddedMassCoefficients (double axial, double normal)
 
void setRestLengthPerElement (std::vector< double > length_array)
 
void setIyy (double Iyy_in)
 

Public Attributes

std::shared_ptr< ChSystem > system
 
std::shared_ptr< ChMesh > mesh
 
int nb_elems
 
std::vector< double > length_per_elem
 
double Cd_axial
 
double Cd_normal
 
double Cm_axial
 
double Cm_normal
 
std::vector< ChVector<> > mvecs
 
std::vector< ChVector<> > mvecs_tangents
 
std::vector< ChVector<> > mvecs_middle
 
std::vector< ChVector<> > mdirs
 
double d
 
double rho
 
double E
 
double length
 
double A0
 
double L0 = 0
 
double Iyy
 
int nb_nodes
 
bool applyDrag
 
bool applyAddedMass
 
bool applyBuoyancy
 
std::string beam_type
 
std::vector< std::shared_ptr< ChNodeFEAxyzD > > nodes
 
std::vector< std::shared_ptr< ChNodeFEAxyzDD > > nodesDD
 
std::vector< std::shared_ptr< ChElementCableANCF > > elemsCableANCF
 
std::vector< std::shared_ptr< ChElementBeamEuler > > elemsBeamEuler
 
std::vector< std::shared_ptr< ChNodeFEAxyzrot > > nodesRot
 
std::vector< std::shared_ptr< ChElementCableANCF > > elems_cable
 
std::shared_ptr< ChBeamSectionCable > msection_cable
 
std::shared_ptr< ChBeamSectionAdvanced > msection_advanced
 
std::vector< double > elems_length
 
std::vector< ChVector<> > fluid_velocity
 
std::vector< ChVector<> > fluid_acceleration
 
std::vector< double > fluid_density
 
std::vector< double > nodes_density
 
std::vector< std::shared_ptr< ChVector< double > > > forces_drag
 
std::vector< std::shared_ptr< ChVector< double > > > forces_addedmass
 
std::vector< std::shared_ptr< ChLoad< MyLoaderTriangular > > > elems_loads_triangular
 
std::vector< std::shared_ptr< ChLoad< ChLoaderGravity > > > elems_loads_volumetric
 

Detailed Description

Definition at line 126 of file ProtChMoorings.h.

Constructor & Destructor Documentation

◆ cppCable()

cppCable::cppCable ( std::shared_ptr< ChSystem >  system,
std::shared_ptr< ChMesh >  mesh,
double  length,
int  nb_elems,
double  d,
double  rho,
double  E,
double  L0 = 0,
std::string  beam_type = "CableANCF" 
)

Definition at line 567 of file ProtChMoorings.h.

Member Function Documentation

◆ addNodestoContactCloud()

void cppCable::addNodestoContactCloud ( std::shared_ptr< ChContactSurfaceNodeCloud >  cloud)

Definition at line 980 of file ProtChMoorings.h.

◆ applyForces()

void cppCable::applyForces ( )

Definition at line 955 of file ProtChMoorings.h.

◆ buildElements()

void cppCable::buildElements ( bool  set_lastnodes = true)

Definition at line 714 of file ProtChMoorings.h.

◆ buildElementsBeamEuler()

void cppCable::buildElementsBeamEuler ( bool  set_lastnodes)

Definition at line 761 of file ProtChMoorings.h.

◆ buildElementsCableANCF()

void cppCable::buildElementsCableANCF ( bool  set_lastnodes)

Definition at line 723 of file ProtChMoorings.h.

◆ buildMesh()

void cppCable::buildMesh ( bool  add_lastnode = true)

Definition at line 798 of file ProtChMoorings.h.

◆ buildMeshBeamEuler()

void cppCable::buildMeshBeamEuler ( bool  add_lastnode)

Definition at line 807 of file ProtChMoorings.h.

◆ buildMeshCableANCF()

void cppCable::buildMeshCableANCF ( bool  add_lastnode)

Definition at line 823 of file ProtChMoorings.h.

◆ buildNodes()

void cppCable::buildNodes ( bool  last_node = true)

Definition at line 630 of file ProtChMoorings.h.

◆ buildNodesBeamEuler()

void cppCable::buildNodesBeamEuler ( bool  last_node)

Definition at line 635 of file ProtChMoorings.h.

◆ buildNodesCableANCF()

void cppCable::buildNodesCableANCF ( bool  last_node)

Definition at line 679 of file ProtChMoorings.h.

◆ buildVectors()

void cppCable::buildVectors ( )

◆ getNodalPositions()

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

◆ setAddedMassCoefficients()

void cppCable::setAddedMassCoefficients ( double  axial,
double  normal 
)

Definition at line 856 of file ProtChMoorings.h.

◆ setAddedMassForce()

void cppCable::setAddedMassForce ( )

Definition at line 910 of file ProtChMoorings.h.

◆ setDragCoefficients()

void cppCable::setDragCoefficients ( double  axial,
double  normal 
)

Definition at line 850 of file ProtChMoorings.h.

◆ setDragForce()

void cppCable::setDragForce ( )

Definition at line 865 of file ProtChMoorings.h.

◆ setFluidAccelerationAtNodes()

void cppCable::setFluidAccelerationAtNodes ( std::vector< ChVector<>>  acc)

Definition at line 838 of file ProtChMoorings.h.

◆ setFluidDensityAtNodes()

void cppCable::setFluidDensityAtNodes ( std::vector< double >  vof)

Definition at line 846 of file ProtChMoorings.h.

◆ setFluidVelocityAtNodes()

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

Definition at line 842 of file ProtChMoorings.h.

◆ setIyy()

void cppCable::setIyy ( double  Iyy_in)

Definition at line 619 of file ProtChMoorings.h.

◆ setRestLengthPerElement()

void cppCable::setRestLengthPerElement ( std::vector< double >  length_array)

Definition at line 861 of file ProtChMoorings.h.

Member Data Documentation

◆ A0

double cppCable::A0

Definition at line 141 of file ProtChMoorings.h.

◆ applyAddedMass

bool cppCable::applyAddedMass

Definition at line 146 of file ProtChMoorings.h.

◆ applyBuoyancy

bool cppCable::applyBuoyancy

Definition at line 147 of file ProtChMoorings.h.

◆ applyDrag

bool cppCable::applyDrag

Definition at line 145 of file ProtChMoorings.h.

◆ beam_type

std::string cppCable::beam_type

Definition at line 148 of file ProtChMoorings.h.

◆ Cd_axial

double cppCable::Cd_axial

Definition at line 132 of file ProtChMoorings.h.

◆ Cd_normal

double cppCable::Cd_normal

Definition at line 133 of file ProtChMoorings.h.

◆ Cm_axial

double cppCable::Cm_axial

Definition at line 134 of file ProtChMoorings.h.

◆ Cm_normal

double cppCable::Cm_normal

Definition at line 135 of file ProtChMoorings.h.

◆ d

double cppCable::d

Definition at line 140 of file ProtChMoorings.h.

◆ E

double cppCable::E

Definition at line 140 of file ProtChMoorings.h.

◆ elems_cable

std::vector<std::shared_ptr<ChElementCableANCF> > cppCable::elems_cable

Definition at line 154 of file ProtChMoorings.h.

◆ elems_length

std::vector<double> cppCable::elems_length

Definition at line 157 of file ProtChMoorings.h.

◆ elems_loads_triangular

std::vector<std::shared_ptr<ChLoad<MyLoaderTriangular> > > cppCable::elems_loads_triangular

Definition at line 171 of file ProtChMoorings.h.

◆ elems_loads_volumetric

std::vector<std::shared_ptr<ChLoad<ChLoaderGravity> > > cppCable::elems_loads_volumetric

Definition at line 172 of file ProtChMoorings.h.

◆ elemsBeamEuler

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

Definition at line 152 of file ProtChMoorings.h.

◆ elemsCableANCF

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

Definition at line 151 of file ProtChMoorings.h.

◆ fluid_acceleration

std::vector<ChVector<> > cppCable::fluid_acceleration

Definition at line 159 of file ProtChMoorings.h.

◆ fluid_density

std::vector<double> cppCable::fluid_density

Definition at line 160 of file ProtChMoorings.h.

◆ fluid_velocity

std::vector<ChVector<> > cppCable::fluid_velocity

Definition at line 158 of file ProtChMoorings.h.

◆ forces_addedmass

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

Definition at line 169 of file ProtChMoorings.h.

◆ forces_drag

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

Definition at line 168 of file ProtChMoorings.h.

◆ Iyy

double cppCable::Iyy

Definition at line 143 of file ProtChMoorings.h.

◆ L0

double cppCable::L0 = 0

Definition at line 142 of file ProtChMoorings.h.

◆ length

double cppCable::length

Definition at line 140 of file ProtChMoorings.h.

◆ length_per_elem

std::vector<double> cppCable::length_per_elem

Definition at line 131 of file ProtChMoorings.h.

◆ mdirs

std::vector<ChVector<> > cppCable::mdirs

Definition at line 139 of file ProtChMoorings.h.

◆ mesh

std::shared_ptr<ChMesh> cppCable::mesh

Definition at line 129 of file ProtChMoorings.h.

◆ msection_advanced

std::shared_ptr<ChBeamSectionAdvanced> cppCable::msection_advanced

Definition at line 156 of file ProtChMoorings.h.

◆ msection_cable

std::shared_ptr<ChBeamSectionCable> cppCable::msection_cable

Definition at line 155 of file ProtChMoorings.h.

◆ mvecs

std::vector<ChVector<> > cppCable::mvecs

Definition at line 136 of file ProtChMoorings.h.

◆ mvecs_middle

std::vector<ChVector<> > cppCable::mvecs_middle

Definition at line 138 of file ProtChMoorings.h.

◆ mvecs_tangents

std::vector<ChVector<> > cppCable::mvecs_tangents

Definition at line 137 of file ProtChMoorings.h.

◆ nb_elems

int cppCable::nb_elems

Definition at line 130 of file ProtChMoorings.h.

◆ nb_nodes

int cppCable::nb_nodes

Definition at line 144 of file ProtChMoorings.h.

◆ nodes

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

Definition at line 149 of file ProtChMoorings.h.

◆ nodes_density

std::vector<double> cppCable::nodes_density

Definition at line 161 of file ProtChMoorings.h.

◆ nodesDD

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

Definition at line 150 of file ProtChMoorings.h.

◆ nodesRot

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

Definition at line 153 of file ProtChMoorings.h.

◆ rho

double cppCable::rho

Definition at line 140 of file ProtChMoorings.h.

◆ system

std::shared_ptr<ChSystem> cppCable::system

Definition at line 128 of file ProtChMoorings.h.


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