|
Phyth v0.1.0
A dimensional safe C++ header-only mechanics and electromagnetics simulation library.
|
Concentrated force acting at a single point in an elastic medium. More...
#include <PointForce.hpp>


Private Attributes | |
| Vector3< Quantity< Meter > > | position_ |
| Vector3< Quantity< Newton > > | force_ |
| IsotropicMaterial | material_ |
Concentrated force acting at a single point in an elastic medium.
Produces a stress field via Kelvin's solution (Green's function for an infinite elastic medium).
Formula: sigma_ij(vec_r) = - (1 / (8 * pi * (1 - nu))) * [ (1 - 2*nu) * (vec_F_i * vec_r_j + vec_F_j * vec_r_i - delta_ij * (vec_F dot vec_r)) / r^3
Example:
Definition at line 31 of file PointForce.hpp.
|
inlineexplicitnoexcept |
Construct a point force.
| position | Location of the point force |
| force | Force vector |
| material | Material properties (uses Poisson's ratio only) |
Definition at line 40 of file PointForce.hpp.
|
inlineoverridevirtual |
Get the force vector at a point.
Returns the force only at the exact force location, otherwise zero.
| point | Position to evaluate. |
Implements Phyth::Mechanics::ForceSource.
Definition at line 112 of file PointForce.hpp.
|
inlineoverridevirtual |
Get the minimum distance from a point to the force location.
| point | Position to compute distance from. |
Implements Phyth::Mechanics::ForceSource.
Definition at line 136 of file PointForce.hpp.
Get the force location.
Definition at line 147 of file PointForce.hpp.
|
inlineoverridevirtual |
Compute stress tensor at a point.
| point | Position to evaluate |
| std::runtime_error | If point is at the force location |
Implements Phyth::Mechanics::ForceSource.
Definition at line 56 of file PointForce.hpp.
|
inlineoverridevirtual |
Get the total force of this source.
Implements Phyth::Mechanics::ForceSource.
Definition at line 126 of file PointForce.hpp.
Definition at line 162 of file PointForce.hpp.
|
private |
Definition at line 163 of file PointForce.hpp.
Definition at line 161 of file PointForce.hpp.