Cardinal
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

Point _direction
 Unit direction with which to dot the surface normal. More...
 
const std::vector< int > & _boundary
 boundary IDs of the nekRS mesh over which to find the extreme value More...
 
const MooseMesh & _mesh
 Base mesh this postprocessor acts on. More...
 
const NekRSMesh_nek_mesh
 Underlying NekRSMesh, if present. More...
 
const NekRSProblemBase_nek_problem
 Underlying problem. More...
 
const nek_mesh::NekMeshEnum _pp_mesh
 Which NekRS mesh to act on. More...
 

Detailed Description

Compute the integral of pressure over a surface, multiplied by the dot product of the surface unit normal \(\hat{n}\) with a user-specified direction, \(\hat{d}\), or \(\int_\Gamma -P\hat{n}\cdot\hat{d}d\Gamma\), where \(\Gamma\) is the boundary.

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 NekPostprocessor::execute ( )
inlineoverridevirtualinherited

Reimplemented in NekMeshInfoPostprocessor.

◆ getValue()

virtual Real NekPressureSurfaceForce::getValue ( ) const
overridevirtual

◆ initialize()

virtual void NekPostprocessor::initialize ( )
inlineoverridevirtualinherited

Reimplemented in NekMeshInfoPostprocessor.

◆ 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

◆ _direction

Point NekPressureSurfaceForce::_direction
protected

Unit direction with which to dot the surface normal.

◆ _mesh

const MooseMesh& NekPostprocessor::_mesh
protectedinherited

Base mesh this postprocessor acts on.

◆ _nek_mesh

const NekRSMesh* NekPostprocessor::_nek_mesh
protectedinherited

Underlying NekRSMesh, if present.

◆ _nek_problem

const NekRSProblemBase* NekPostprocessor::_nek_problem
protectedinherited

Underlying problem.

◆ _pp_mesh

const nek_mesh::NekMeshEnum NekPostprocessor::_pp_mesh
protectedinherited

Which NekRS mesh to act on.


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