proteus
1.8.1
C/C++/Fortran libraries
|
#include </Users/cekees/proteus/proteus/mbd/ProtChMoorings.h>
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 |
Definition at line 194 of file ProtChMoorings.h.
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.
void cppMultiSegmentedCable::applyForces | ( | ) |
Definition at line 475 of file ProtChMoorings.h.
void cppMultiSegmentedCable::attachBackNodeToBody | ( | std::shared_ptr< ChBody > | body | ) |
Definition at line 514 of file ProtChMoorings.h.
void cppMultiSegmentedCable::attachFrontNodeToBody | ( | std::shared_ptr< ChBody > | body | ) |
Definition at line 531 of file ProtChMoorings.h.
void cppMultiSegmentedCable::buildCable | ( | ) |
Definition at line 351 of file ProtChMoorings.h.
void cppMultiSegmentedCable::buildElements | ( | ) |
Definition at line 323 of file ProtChMoorings.h.
void cppMultiSegmentedCable::buildNodes | ( | ) |
Definition at line 296 of file ProtChMoorings.h.
void cppMultiSegmentedCable::buildNodesCloud | ( | ) |
Definition at line 552 of file ProtChMoorings.h.
void cppMultiSegmentedCable::getForceFairlead | ( | ) |
std::vector< std::shared_ptr< ChVector< double > > > cppMultiSegmentedCable::getNodalPositions | ( | ) |
Definition at line 501 of file ProtChMoorings.h.
ChVector cppMultiSegmentedCable::getTensionElement | ( | int | i, |
double | eta = 0. |
||
) |
Definition at line 481 of file ProtChMoorings.h.
void cppMultiSegmentedCable::setContactMaterial | ( | std::shared_ptr< ChMaterialSurfaceSMC > | material | ) |
Definition at line 548 of file ProtChMoorings.h.
void cppMultiSegmentedCable::setFluidAccelerationAtNodes | ( | std::vector< ChVector<>> | vel | ) |
Definition at line 408 of file ProtChMoorings.h.
void cppMultiSegmentedCable::setFluidDensityAtNodes | ( | std::vector< double > | dens | ) |
Definition at line 444 of file ProtChMoorings.h.
void cppMultiSegmentedCable::setFluidVelocityAtNodes | ( | std::vector< ChVector<>> | vel | ) |
Definition at line 426 of file ProtChMoorings.h.
void cppMultiSegmentedCable::updateAddedMassForces | ( | ) |
Definition at line 469 of file ProtChMoorings.h.
void cppMultiSegmentedCable::updateDragForces | ( | ) |
Definition at line 463 of file ProtChMoorings.h.
std::string cppMultiSegmentedCable::beam_type |
Definition at line 197 of file ProtChMoorings.h.
std::shared_ptr<ChBody> cppMultiSegmentedCable::body_back |
Definition at line 223 of file ProtChMoorings.h.
std::shared_ptr<ChBody> cppMultiSegmentedCable::body_front |
Definition at line 224 of file ProtChMoorings.h.
std::vector<std::shared_ptr<cppCable> > cppMultiSegmentedCable::cables |
Definition at line 205 of file ProtChMoorings.h.
std::shared_ptr<ChLinkBase> cppMultiSegmentedCable::constraint_back |
Definition at line 220 of file ProtChMoorings.h.
std::shared_ptr<ChLinkBase> cppMultiSegmentedCable::constraint_front |
Definition at line 219 of file ProtChMoorings.h.
std::shared_ptr<ChMaterialSurfaceSMC> cppMultiSegmentedCable::contact_material |
Definition at line 206 of file ProtChMoorings.h.
std::vector<double> cppMultiSegmentedCable::d |
Definition at line 207 of file ProtChMoorings.h.
std::vector<double> cppMultiSegmentedCable::E |
Definition at line 209 of file ProtChMoorings.h.
bool cppMultiSegmentedCable::elems_built |
Definition at line 228 of file ProtChMoorings.h.
std::vector<std::shared_ptr<ChElementBeamEuler> > cppMultiSegmentedCable::elemsBeamEuler |
Definition at line 218 of file ProtChMoorings.h.
std::vector<std::shared_ptr<ChElementCableANCF> > cppMultiSegmentedCable::elemsCableANCF |
Definition at line 217 of file ProtChMoorings.h.
std::shared_ptr<ChLinkPointFrame> cppMultiSegmentedCable::fairlead2 |
Definition at line 201 of file ProtChMoorings.h.
std::shared_ptr<ChBody> cppMultiSegmentedCable::fairleadd |
Definition at line 200 of file ProtChMoorings.h.
std::vector<ChVector<> > cppMultiSegmentedCable::fluid_acceleration |
Definition at line 215 of file ProtChMoorings.h.
std::vector<double> cppMultiSegmentedCable::fluid_density |
Definition at line 216 of file ProtChMoorings.h.
std::vector<ChVector<> > cppMultiSegmentedCable::fluid_velocity |
Definition at line 214 of file ProtChMoorings.h.
std::vector<std::shared_ptr<ChVector<double> > > cppMultiSegmentedCable::forces_addedmass |
Definition at line 222 of file ProtChMoorings.h.
std::vector<std::shared_ptr<ChVector<double> > > cppMultiSegmentedCable::forces_drag |
Definition at line 221 of file ProtChMoorings.h.
std::vector<double> cppMultiSegmentedCable::length |
Definition at line 210 of file ProtChMoorings.h.
std::shared_ptr<ChMesh> cppMultiSegmentedCable::mesh |
Definition at line 199 of file ProtChMoorings.h.
std::vector<ChVector<> > cppMultiSegmentedCable::mvecs |
Definition at line 204 of file ProtChMoorings.h.
std::shared_ptr<ChMaterialSurfaceSMC> cppMultiSegmentedCable::mysurfmaterial |
Definition at line 198 of file ProtChMoorings.h.
std::vector<int> cppMultiSegmentedCable::nb_elems |
Definition at line 203 of file ProtChMoorings.h.
int cppMultiSegmentedCable::nb_elems_tot |
Definition at line 226 of file ProtChMoorings.h.
std::vector<int> cppMultiSegmentedCable::nb_nodes |
Definition at line 202 of file ProtChMoorings.h.
int cppMultiSegmentedCable::nb_nodes_tot |
Definition at line 225 of file ProtChMoorings.h.
std::vector<std::shared_ptr<ChNodeFEAxyzD> > cppMultiSegmentedCable::nodes |
Definition at line 211 of file ProtChMoorings.h.
bool cppMultiSegmentedCable::nodes_built |
Definition at line 227 of file ProtChMoorings.h.
bool cppMultiSegmentedCable::nodes_chlink |
Definition at line 229 of file ProtChMoorings.h.
std::vector<std::shared_ptr<ChNodeFEAxyzDD> > cppMultiSegmentedCable::nodesDD |
Definition at line 212 of file ProtChMoorings.h.
std::vector<std::shared_ptr<ChNodeFEAxyzrot> > cppMultiSegmentedCable::nodesRot |
Definition at line 213 of file ProtChMoorings.h.
std::vector<double> cppMultiSegmentedCable::rho |
Definition at line 208 of file ProtChMoorings.h.
std::shared_ptr<ChSystem> cppMultiSegmentedCable::system |
Definition at line 196 of file ProtChMoorings.h.