|
| CoupledBeam () |
|
void | setupOomph () |
|
void | setupMercury () |
|
void | actionsBeforeSolve () override |
| Write header of output file. More...
|
|
void | actionsBeforeOomphTimeStep () override |
| Each time step, compute deflection, elastic, kinetic and gravitational energy, and write to output file. More...
|
|
double | getBeamDeflection () |
|
| CoupledBeam () |
|
void | setupOomph () |
|
void | setupMercury () |
|
void | actionsBeforeSolve () override |
| Write header of output file. More...
|
|
void | actionsBeforeOomphTimeStep () override |
| Each time step, compute deflection, elastic, kinetic and gravitational energy, and write to output file. More...
|
|
double | getBeamDeflection () |
|
| CoupledBeam () |
|
void | setupOomph () |
|
void | setupMercury () |
|
void | actionsBeforeSolve () override |
| Write header of output file. More...
|
|
void | actionsBeforeOomphTimeStep () override |
| Each time step, compute deflection, elastic, kinetic and gravitational energy, and write to output file. More...
|
|
double | getBeamDeflection () |
|
| CoupledBeam () |
|
void | setupOomph () |
|
void | setupMercury () |
|
void | actionsBeforeSolve () override |
| Write header of output file. More...
|
|
void | actionsBeforeOomphTimeStep () override |
| Each time step, compute deflection, elastic, kinetic and gravitational energy, and write to output file. More...
|
|
double | getBeamDeflection () |
|
| SCoupling ()=default |
|
void | solveSurfaceCoupling (const unsigned max_adapt=0) |
|
void | solveSurfaceCoupling (unsigned nStep, const unsigned max_adapt) |
|
void | solveSurfaceCouplingForgiving (unsigned nStep, double timeMaxMin=-constants::inf, const unsigned max_adapt=0) |
|
void | solveSurfaceCouplingFixedSolid () |
|
TriangleWall * | createTriangleWall (std::array< Vec3D, 3 > vertex) |
|
void | updateTriangleWall (TriangleWall *&wall, std::array< Vec3D, 3 > vertex) |
|
void | computeOneTimeStepForSCoupling (const unsigned &nStepsMercury, const unsigned max_adapt=0) |
|
void | createDPMWallsFromFiniteElems () |
|
void | updateDPMWallsFromFiniteElems () |
|
void | updateTractionOnFiniteElems () |
|
bool | computeSCouplingForcesFromTriangles (ELEMENT *const elem_pt, const unsigned &nTriangles, unsigned &wallID, Vector< Vector< double > > &nodalCouplingForces) |
|
void | getElementBoundingBox (ELEMENT *&elem_pt, Vec3D &min, Vec3D &max) |
|
void | getSCoupledElements () |
|
void | coupleBoundary (unsigned b) |
|
void | coupleBoundaries (std::vector< unsigned > b) |
|
void | disableLogSurfaceCoupling () |
|
void | setSolidFeelsParticles (bool val) |
|
bool | getSolidFeelsParticles () const |
|
| BaseCoupling ()=default |
|
void | setName (std::string name) |
|
std::string | getName () const |
|
void | removeOldFiles () const |
|
void | writeEneTimeStep (std::ostream &os) const override |
|
void | writeEneHeader (std::ostream &os) const override |
|
void | solveOomph (int max_adapt=0) |
|
void | checkResidual () |
|
void | solveMercury (unsigned long nt) |
|
void | setCGWidth (const double &width) |
|
double | getCGWidth () |
|
bool | useCGMapping () |
|
CGFunctions::LucyXYZ | getCGFunction () |
|
void CoupledBeam::actionsBeforeOomphTimeStep |
( |
| ) |
|
|
inlineoverride |
Each time step, compute deflection, elastic, kinetic and gravitational energy, and write to output file.
134 double mass, elasticEnergy, kineticEnergy;
136 getMassMomentumEnergy(mass, com, linearMomentum, angularMomentum, elasticEnergy, kineticEnergy);
137 static double gravEnergy0 = getOomphGravity()*mass*com[2];
138 double gravEnergy = getOomphGravity()*mass*com[2]-gravEnergy0;
139 static double gravEnergyParticle0 = getGravitationalEnergy();
140 out << getOomphTime()
142 <<
' ' << elasticEnergy
143 <<
' ' << kineticEnergy
145 <<
' ' << getElasticEnergy()
146 <<
' ' << getKineticEnergy()
147 <<
' ' << getGravitationalEnergy()-gravEnergyParticle0;
148 for (
const auto p: particleHandler) {
149 out <<
' ' <<
p->getPosition();
References getBeamDeflection(), out, and p.
void CoupledBeam::actionsBeforeOomphTimeStep |
( |
| ) |
|
|
inlineoverride |
Each time step, compute deflection, elastic, kinetic and gravitational energy, and write to output file.
132 double mass, elasticEnergy, kineticEnergy;
134 getMassMomentumEnergy(mass, com, linearMomentum, angularMomentum, elasticEnergy, kineticEnergy);
135 static double gravEnergy0 = getOomphGravity()*mass*com[2];
136 double gravEnergy = getOomphGravity()*mass*com[2]-gravEnergy0;
137 static double gravEnergyParticle0 = getGravitationalEnergy();
138 out << getOomphTime()
140 <<
' ' << elasticEnergy
141 <<
' ' << kineticEnergy
143 <<
' ' << getElasticEnergy()
144 <<
' ' << getKineticEnergy()
145 <<
' ' << getGravitationalEnergy()-gravEnergyParticle0;
146 for (
const auto p: particleHandler) {
147 out <<
' ' <<
p->getPosition();
References getBeamDeflection(), out, and p.