|
void | nodalVelocity (Mesh *mesh) |
| Update the nodal velocity.
|
|
void | nodalTotalForce (Mesh *mesh) |
| Update the nodal total force.
|
|
void | resetNodalValues (Mesh *mesh) |
| Delete all stored values in nodes.
|
|
void | particleDensity (vector< Body * > *bodies) |
| Updates the particles' density.
|
|
void | particlePorosity (vector< Body * > *bodies) |
| Updates the porosity of the mixture.
|
|
void | particleStress (vector< Body * > *bodies) |
| Update the particles' stress.
|
|
void | particlePressure (vector< Body * > *bodies, double dt) |
| Update the particles pressure.
|
|
void | particleVelocity (Mesh *mesh, vector< Body * > *bodies, double time_step) |
| Update the particle velocity.
|
|
void | particleVelocityFluid (Mesh *mesh, vector< Body * > *bodies, double time_step) |
| Update the particle velocity fluid.
|
|
void | particlePosition (Mesh *mesh, vector< Body * > *bodies, double time_step) |
| Update particle position.
|
|
void | boundaryConditionsForce (Mesh *mesh) |
| Apply essential boundary condition in terms of force.
|
|
void | boundaryConditionsForceFluid (Mesh *mesh) |
| Apply essential boundary condition in terms of force of fluid phase.
|
|
void | boundaryConditionsMomentum (Mesh *mesh) |
| Apply essential boundary condition in terms of momentum.
|
|
void | boundaryConditionsMomentumFluid (Mesh *mesh) |
| Apply essential boundary condition in terms of momentum of fluid phase.
|
|
void | contributionNodes (Mesh *mesh, vector< Body * > *bodies) |
| Update the weights in each nodes that contributes.
|
|
void | setPlaneForce (const Boundary::planeBoundary *boundary, vector< Node * > *nodes, unsigned direction) |
| Configure the force in each node in boundary planes.
|
|
void | setPlaneForceFluid (const Boundary::planeBoundary *boundary, vector< Node * > *nodes, unsigned direction) |
| Configure the force in fluid phase in each node in boundary planes.
|
|
void | setPlaneMomentum (const Boundary::planeBoundary *boundary, vector< Node * > *nodes, unsigned direction) |
| Configure the momentum in each node in boundary planes.
|
|
void | setPlaneMomentumFluid (const Boundary::planeBoundary *boundary, vector< Node * > *nodes, unsigned direction) |
| Configure the momentum of fluid phase in each node in boundary planes.
|
|
Represents operations to update values in nodes and particles.
void Update::nodalTotalForce |
( |
Mesh * | mesh | ) |
|
Update the nodal total force.
In one phase calculations:
\( f_{iI}^{tot} = f_{iI}^{int} + f_{iI}^{ext} + f_{iI}^{dmp} \)
In two phase calculations:
\( f_{iI}^{tot,s} = f_{iI}^{int,s} + f_{iI}^{ext,s} + f_{iI}^{dmp,s} - \dot{v}_{iI}^f m_I^f \)
- Parameters
-
void Update::particleDensity |
( |
vector< Body * > * | bodies | ) |
|
Updates the particles' density.
In one phase calculations:
\( \rho_{p}^{t+1}=\rho_{p}^{t} /\left(1+\Delta \epsilon_{i i p}^{t-1/2}\right) \)
In two phase calculation:
\( \rho_{p}^{t+1,s}=\rho_{p}^{t,s} /\left(1+\Delta \epsilon_{i i p}^{t-1/2,s}\right) \)
\( \rho_{p}^{t+1,f}=\rho_{p}^{t,f} /\left(1+\Delta \epsilon_{i i p}^{t-1/2,f}\right) \)
- Parameters
-
[in] | bodies | List of Body pointers |
void Update::particlePressure |
( |
vector< Body * > * | bodies, |
|
|
double | dt ) |
Update the particles pressure.
\( p_p^{t+1,f} = p_p^{t,f} - \Delta t K_w / n^{t+1} ((1-n^{t+1}) v_{i,i}^{t+1/2,s}+ n^{t+1} v_{i,i}^{t+1/2,f} ) \)
- Parameters
-
[in] | bodies | List of Body pointers |
[in] | dt | Time step |