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

#include </work/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< ChVector3d > vel)
void setFluidAccelerationAtNodes (std::vector< ChVector3d > acc)
void setFluidDensityAtNodes (std::vector< double > vof)
std::vector< std::shared_ptr< ChVector3d > > 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< ChVector3d > mvecs
std::vector< ChVector3d > mvecs_tangents
std::vector< ChVector3d > mvecs_middle
std::vector< ChVector3d > 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< ChVector3d > fluid_velocity
std::vector< ChVector3d > fluid_acceleration
std::vector< double > fluid_density
std::vector< double > nodes_density
std::vector< std::shared_ptr< ChVector3d > > forces_drag
std::vector< std::shared_ptr< ChVector3d > > forces_addedmass
std::vector< std::shared_ptr< ChLoad > > elems_loads_triangular
std::vector< std::shared_ptr< ChLoad > > elems_loads_volumetric

Detailed Description

Definition at line 213 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 654 of file ProtChMoorings.h.

Member Function Documentation

◆ addNodestoContactCloud()

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

Definition at line 1104 of file ProtChMoorings.h.

◆ applyForces()

void cppCable::applyForces ( )

Definition at line 1079 of file ProtChMoorings.h.

◆ buildElements()

void cppCable::buildElements ( bool set_lastnodes = true)

Definition at line 824 of file ProtChMoorings.h.

◆ buildElementsBeamEuler()

void cppCable::buildElementsBeamEuler ( bool set_lastnodes)

Definition at line 878 of file ProtChMoorings.h.

◆ buildElementsCableANCF()

void cppCable::buildElementsCableANCF ( bool set_lastnodes)

Definition at line 833 of file ProtChMoorings.h.

◆ buildMesh()

void cppCable::buildMesh ( bool add_lastnode = true)

Definition at line 922 of file ProtChMoorings.h.

◆ buildMeshBeamEuler()

void cppCable::buildMeshBeamEuler ( bool add_lastnode)

Definition at line 931 of file ProtChMoorings.h.

◆ buildMeshCableANCF()

void cppCable::buildMeshCableANCF ( bool add_lastnode)

Definition at line 947 of file ProtChMoorings.h.

◆ buildNodes()

void cppCable::buildNodes ( bool last_node = true)

Definition at line 724 of file ProtChMoorings.h.

◆ buildNodesBeamEuler()

void cppCable::buildNodesBeamEuler ( bool last_node)

Definition at line 729 of file ProtChMoorings.h.

◆ buildNodesCableANCF()

void cppCable::buildNodesCableANCF ( bool last_node)

Definition at line 789 of file ProtChMoorings.h.

◆ buildVectors()

void cppCable::buildVectors ( )

◆ getNodalPositions()

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

◆ setAddedMassCoefficients()

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

Definition at line 980 of file ProtChMoorings.h.

◆ setAddedMassForce()

void cppCable::setAddedMassForce ( )

Definition at line 1034 of file ProtChMoorings.h.

◆ setDragCoefficients()

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

Definition at line 974 of file ProtChMoorings.h.

◆ setDragForce()

void cppCable::setDragForce ( )

Definition at line 989 of file ProtChMoorings.h.

◆ setFluidAccelerationAtNodes()

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

Definition at line 962 of file ProtChMoorings.h.

◆ setFluidDensityAtNodes()

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

Definition at line 970 of file ProtChMoorings.h.

◆ setFluidVelocityAtNodes()

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

Definition at line 966 of file ProtChMoorings.h.

◆ setIyy()

void cppCable::setIyy ( double Iyy_in)

Definition at line 713 of file ProtChMoorings.h.

◆ setRestLengthPerElement()

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

Definition at line 985 of file ProtChMoorings.h.

Member Data Documentation

◆ A0

double cppCable::A0

Definition at line 228 of file ProtChMoorings.h.

◆ applyAddedMass

bool cppCable::applyAddedMass

Definition at line 233 of file ProtChMoorings.h.

◆ applyBuoyancy

bool cppCable::applyBuoyancy

Definition at line 234 of file ProtChMoorings.h.

◆ applyDrag

bool cppCable::applyDrag

Definition at line 232 of file ProtChMoorings.h.

◆ beam_type

std::string cppCable::beam_type

Definition at line 235 of file ProtChMoorings.h.

◆ Cd_axial

double cppCable::Cd_axial

Definition at line 219 of file ProtChMoorings.h.

◆ Cd_normal

double cppCable::Cd_normal

Definition at line 220 of file ProtChMoorings.h.

◆ Cm_axial

double cppCable::Cm_axial

Definition at line 221 of file ProtChMoorings.h.

◆ Cm_normal

double cppCable::Cm_normal

Definition at line 222 of file ProtChMoorings.h.

◆ d

double cppCable::d

Definition at line 227 of file ProtChMoorings.h.

◆ E

double cppCable::E

Definition at line 227 of file ProtChMoorings.h.

◆ elems_cable

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

Definition at line 241 of file ProtChMoorings.h.

◆ elems_length

std::vector<double> cppCable::elems_length

Definition at line 244 of file ProtChMoorings.h.

◆ elems_loads_triangular

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

Definition at line 258 of file ProtChMoorings.h.

◆ elems_loads_volumetric

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

Definition at line 259 of file ProtChMoorings.h.

◆ elemsBeamEuler

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

Definition at line 239 of file ProtChMoorings.h.

◆ elemsCableANCF

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

Definition at line 238 of file ProtChMoorings.h.

◆ fluid_acceleration

std::vector<ChVector3d> cppCable::fluid_acceleration

Definition at line 246 of file ProtChMoorings.h.

◆ fluid_density

std::vector<double> cppCable::fluid_density

Definition at line 247 of file ProtChMoorings.h.

◆ fluid_velocity

std::vector<ChVector3d> cppCable::fluid_velocity

Definition at line 245 of file ProtChMoorings.h.

◆ forces_addedmass

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

Definition at line 256 of file ProtChMoorings.h.

◆ forces_drag

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

Definition at line 255 of file ProtChMoorings.h.

◆ Iyy

double cppCable::Iyy

Definition at line 230 of file ProtChMoorings.h.

◆ L0

double cppCable::L0 = 0

Definition at line 229 of file ProtChMoorings.h.

◆ length

double cppCable::length

Definition at line 227 of file ProtChMoorings.h.

◆ length_per_elem

std::vector<double> cppCable::length_per_elem

Definition at line 218 of file ProtChMoorings.h.

◆ mdirs

std::vector<ChVector3d> cppCable::mdirs

Definition at line 226 of file ProtChMoorings.h.

◆ mesh

std::shared_ptr<ChMesh> cppCable::mesh

Definition at line 216 of file ProtChMoorings.h.

◆ msection_advanced

std::shared_ptr<ChBeamSectionAdvanced> cppCable::msection_advanced

Definition at line 243 of file ProtChMoorings.h.

◆ msection_cable

std::shared_ptr<ChBeamSectionCable> cppCable::msection_cable

Definition at line 242 of file ProtChMoorings.h.

◆ mvecs

std::vector<ChVector3d> cppCable::mvecs

Definition at line 223 of file ProtChMoorings.h.

◆ mvecs_middle

std::vector<ChVector3d> cppCable::mvecs_middle

Definition at line 225 of file ProtChMoorings.h.

◆ mvecs_tangents

std::vector<ChVector3d> cppCable::mvecs_tangents

Definition at line 224 of file ProtChMoorings.h.

◆ nb_elems

int cppCable::nb_elems

Definition at line 217 of file ProtChMoorings.h.

◆ nb_nodes

int cppCable::nb_nodes

Definition at line 231 of file ProtChMoorings.h.

◆ nodes

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

Definition at line 236 of file ProtChMoorings.h.

◆ nodes_density

std::vector<double> cppCable::nodes_density

Definition at line 248 of file ProtChMoorings.h.

◆ nodesDD

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

Definition at line 237 of file ProtChMoorings.h.

◆ nodesRot

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

Definition at line 240 of file ProtChMoorings.h.

◆ rho

double cppCable::rho

Definition at line 227 of file ProtChMoorings.h.

◆ system

std::shared_ptr<ChSystem> cppCable::system

Definition at line 215 of file ProtChMoorings.h.


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