Processing math: 100%
Cardinal
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
NekPressureSurfaceForce Class Reference

#include <NekPressureSurfaceForce.h>

Inheritance diagram for NekPressureSurfaceForce:
[legend]

Public Member Functions

 NekPressureSurfaceForce (const InputParameters &parameters)
 
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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ NekPressureSurfaceForce()

NekPressureSurfaceForce::NekPressureSurfaceForce ( const InputParameters &  parameters)

Member Function Documentation

◆ execute()

virtual void NekSidePostprocessor::execute ( )
inlineoverridevirtualinherited

◆ getValue()

virtual Real NekPressureSurfaceForce::getValue ( ) const
overridevirtual

◆ initialize()

virtual void NekSidePostprocessor::initialize ( )
inlineoverridevirtualinherited

◆ validParams()

static InputParameters NekPressureSurfaceForce::validParams ( )
static

Member Data Documentation

◆ _boundary

const std::vector<int>& NekSidePostprocessor::_boundary
protectedinherited

boundary IDs of the nekRS mesh over which to find the extreme value

◆ _component

const MooseEnum& NekPressureSurfaceForce::_component
protected

Component of force to compute.

◆ _nek_mesh

const NekRSMesh* NekBase::_nek_mesh
protectedinherited

Underlying NekRSMesh, if present.

◆ _nek_problem

const NekRSProblemBase* NekBase::_nek_problem
protectedinherited

The NekRSProblemBase required by all objects which inherit from NekBase.

◆ _pp_mesh

const nek_mesh::NekMeshEnum NekSidePostprocessor::_pp_mesh
protectedinherited

Which NekRS mesh to act on.


The documentation for this class was generated from the following file: