#include <NekPressureSurfaceForce.h>
Public Member Functions | |
NekPressureSurfaceForce (const InputParameters ¶meters) | |
virtual Real | getValue () const override |
virtual void | initialize () override |
virtual void | execute () override |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Attributes | |
const MooseEnum & | _component |
Component of force to compute. | |
const nek_mesh::NekMeshEnum | _pp_mesh |
Which NekRS mesh to act on. | |
const std::vector< int > & | _boundary |
boundary IDs of the nekRS mesh over which to find the extreme value | |
const NekRSProblemBase * | _nek_problem |
The NekRSProblemBase required by all objects which inherit from NekBase. | |
const NekRSMesh * | _nek_mesh |
Underlying NekRSMesh, if present. | |
Compute the integral of pressure force that the fluid exerts on a surface, or \int_\Gamma Pn_id\Gamma, where $n_i$ is either the $x$/$y$/$z$ direction (or the magnitude of the entire force, if the component is 'total').
Note that this calculation is done directly on the mesh that nekRS solves on, not the mesh created for solution transfer in NekRSMesh.
NekPressureSurfaceForce::NekPressureSurfaceForce | ( | const InputParameters & | parameters | ) |
|
inlineoverridevirtualinherited |
|
overridevirtual |
|
inlineoverridevirtualinherited |
|
static |
|
protectedinherited |
boundary IDs of the nekRS mesh over which to find the extreme value
|
protected |
Component of force to compute.
|
protectedinherited |
The NekRSProblemBase required by all objects which inherit from NekBase.
|
protectedinherited |
Which NekRS mesh to act on.