MPM-Geomechanics
Material Point Method for simulating geo-materials under large deformation conditions
|
Represents a mesh node. More...
#include <Node.h>
Public Member Functions | |
virtual | ~Node () |
Default destructor. | |
Node () | |
Default constructor. | |
void | setId (int node_id) |
Configure node identification. | |
void | setActive (bool node_activate) |
Configure the active state on the node. | |
void | setCoordinates (const Vector3d &nodal_coordinates) |
Configure the nodal coordinates. | |
void | setVelocity (const Vector3d &nodal_velocity) |
Configure the nodal velocity. | |
void | setMomentum (const Vector3d &nodal_momentum) |
Configure the nodal momentum. | |
virtual void | setMomentumFluid (const Vector3d &nodal_momentum_fluid) |
Configure the nodal momentum of fluid phase. | |
void | setTotalForce (const Vector3d &total_nodal_force) |
Configure the total nodal force. | |
virtual void | setTotalForceFluid (const Vector3d &total_nodal_force_fluid) |
Configure the total nodal force in fluid phase. | |
int | getId () const |
Return the nodal identification. | |
bool | getActive () const |
Return the activate state of the node. | |
double | getMass () const |
Return the nodal mass. | |
virtual double | getMassFluid () const |
Return the nodal mass of fluid phase. | |
const Vector3d & | getCoordinates () const |
Return the nodal coordinates. | |
const Vector3d & | getMomentum () const |
Return the nodal momentum. | |
virtual const Vector3d * | getMomentumFluid () const |
Return the nodal momentum of fluid phase. | |
const Vector3d & | getInternalForce () const |
Return the nodal internal force. | |
const Vector3d & | getExternalForce () const |
Return the nodal external force. | |
const Vector3d & | getTotalForce () const |
Return the nodal total force. | |
virtual const Vector3d * | getTotalForceFluid () const |
Return the nodal total force of fluid phase. | |
const Vector3d & | getVelocity () const |
Return the nodal velocity. | |
virtual const Vector3d * | getVelocityFluid () const |
Return the nodal velocity of fluid phase. | |
void | addMass (double mass_increment) |
Add a mass increment to the nodal mass. | |
virtual void | addMassFluid (double fluid_mass_increment) |
Add fluid mass increment to the nodal mass. | |
void | addMomentum (const Vector3d &momentum_increment) |
Add a momentum increment to the nodal momentum. | |
virtual void | addMomentumFluid (const Vector3d &fluid_momentum_increment) |
Add fluid momentum increment to the nodal momentum of fluid. | |
void | addInternalForce (const Vector3d &internal_force_increment) |
Add a internal force increment to the nodal internal force. | |
virtual void | addInternalForceFluid (const Vector3d &internal_force_fluid_increment) |
Add a internal force increment of fluid to the nodal internal force. | |
void | addExternalForce (const Vector3d &external_force_increment) |
Add a external force increment to the nodal external force. | |
virtual void | addExternalForceFluid (const Vector3d &external_force_fluid_increment) |
Add a external force of fluid increment to the nodal external force. | |
virtual void | resetValues () |
Delete all values stored in node. | |
virtual void | updateTotalForce () |
Calculate the total nodal force. | |
virtual void | updateDampingForce () |
Calculate the damping nodal force. | |
void | updateVelocity () |
Update nodal velocity. | |
virtual void | integrateMomentum (double dt) |
Protected Attributes | |
bool | active |
is active node | |
int | id |
nodal identification | |
double | mass |
nodal mass: \(m_{I}\), or solid mass in two-phase calculations: \(m_{I}^{s}\) | |
Vector3d | coordinates |
nodal coordinates: \(x_{iI}\) | |
Vector3d | momentum |
nodal momentum: \(p_{iI}\), or momentum in solid in two-phase calculations: \(p_{iI}^{s}\) | |
Vector3d | velocity |
nodal velocity: \(v_{iI}\), or velocity in solid in two-phase calculations: \(v_{iI}^{s}\) | |
Vector3d | externalForce |
nodal external force: \(f_{iI}^{ext}\), or external force in solid in two-phase calculations: \(f_{iI}^{ext,s}\) | |
Vector3d | internalForce |
nodal internal force: \(f_{iI}^{int}\), or internal force in solid in two-phase calculations: \(f_{iI}^{int,s}\) | |
Vector3d | dampingForce |
nodal damping force: \(f_{iI}^{dmp}\), or damping force in solid in two-phase calculations: \(f_{iI}^{dmp,s}\) | |
Vector3d | totalForce |
nodal total force: \(f_{iI}\), or total force in solid in two-phase calculations: \(f_{iI}^{s}\) | |
Represents a mesh node.
|
inlinevirtual |
Default destructor.
|
inline |
Default constructor.
|
inline |
Add a external force increment to the nodal external force.
[in] | external_force_increment | Vector containing nodal external force increment |
|
inlinevirtual |
Add a external force of fluid increment to the nodal external force.
[in] | external_force_fluid_increment | Vector containing nodal external force increment |
Reimplemented in NodeMixture.
|
inline |
Add a internal force increment to the nodal internal force.
[in] | internal_force_increment | Vector containing nodal internal force increment |
|
inlinevirtual |
Add a internal force increment of fluid to the nodal internal force.
[in] | internal_force_fluid_increment | Vector containing nodal internal force increment of fluid |
Reimplemented in NodeMixture.
|
inline |
Add a mass increment to the nodal mass.
[in] | mass_increment | Nodal mass increment |
|
inlinevirtual |
Add fluid mass increment to the nodal mass.
[in] | fluid_mass_increment | Nodal mass increment |
Reimplemented in NodeMixture.
|
inline |
Add a momentum increment to the nodal momentum.
[in] | momentum_increment | Vector containing the nodal momentum increment |
|
inlinevirtual |
Add fluid momentum increment to the nodal momentum of fluid.
[in] | fluid_momentum_increment | Vector containing the nodal momentum increment of fluid |
Reimplemented in NodeMixture.
|
inline |
Return the activate state of the node.
|
inline |
Return the nodal coordinates.
|
inline |
Return the nodal external force.
|
inline |
Return the nodal identification.
|
inline |
Return the nodal internal force.
|
inline |
Return the nodal mass.
|
inlinevirtual |
Return the nodal mass of fluid phase.
Reimplemented in NodeMixture.
|
inline |
Return the nodal momentum.
|
inlinevirtual |
Return the nodal momentum of fluid phase.
Reimplemented in NodeMixture.
|
inline |
Return the nodal total force.
|
inlinevirtual |
Return the nodal total force of fluid phase.
Reimplemented in NodeMixture.
|
inline |
Return the nodal velocity.
|
inlinevirtual |
Return the nodal velocity of fluid phase.
Reimplemented in NodeMixture.
|
inlinevirtual |
brief Integrate momentum
Reimplemented in NodeMixture.
|
inlinevirtual |
Delete all values stored in node.
Reimplemented in NodeMixture.
|
inline |
Configure the active state on the node.
[in] | node_activate | Node active value |
|
inline |
Configure the nodal coordinates.
[in] | nodal_coordinates | Vector containing the nodal coordinates |
|
inline |
Configure node identification.
[in] | node_id | Node identification |
|
inline |
Configure the nodal momentum.
[in] | nodal_momentum | Vector containing the nodal momentum |
|
inlinevirtual |
Configure the nodal momentum of fluid phase.
[in] | nodal_momentum_fluid | Vector containing the nodal momentum of fluid phase |
Reimplemented in NodeMixture.
|
inline |
Configure the total nodal force.
[in] | total_nodal_force | Vector containing the total nodal force |
|
inlinevirtual |
Configure the total nodal force in fluid phase.
[in] | total_nodal_force_fluid | Vector containing the total nodal force in fluid phase |
Reimplemented in NodeMixture.
|
inline |
Configure the nodal velocity.
[in] | nodal_velocity | Vector containing the nodal velocity |
|
virtual |
Calculate the damping nodal force.
Reimplemented in NodeMixture.
|
inlinevirtual |
Calculate the total nodal force.
Reimplemented in NodeMixture.
|
inline |
Update nodal velocity.
|
protected |
is active node
|
protected |
nodal coordinates: \(x_{iI}\)
|
protected |
nodal damping force: \(f_{iI}^{dmp}\), or damping force in solid in two-phase calculations: \(f_{iI}^{dmp,s}\)
|
protected |
nodal external force: \(f_{iI}^{ext}\), or external force in solid in two-phase calculations: \(f_{iI}^{ext,s}\)
|
protected |
nodal identification
|
protected |
nodal internal force: \(f_{iI}^{int}\), or internal force in solid in two-phase calculations: \(f_{iI}^{int,s}\)
|
protected |
nodal mass: \(m_{I}\), or solid mass in two-phase calculations: \(m_{I}^{s}\)
|
protected |
nodal momentum: \(p_{iI}\), or momentum in solid in two-phase calculations: \(p_{iI}^{s}\)
|
protected |
nodal total force: \(f_{iI}\), or total force in solid in two-phase calculations: \(f_{iI}^{s}\)
|
protected |
nodal velocity: \(v_{iI}\), or velocity in solid in two-phase calculations: \(v_{iI}^{s}\)