Cardinal
|
#include <NekVolumeAverage.h>
Public Member Functions | |
NekVolumeAverage (const InputParameters ¶meters) | |
virtual Real | getValue () const override |
Real | getIntegralOnMesh (const nek_mesh::NekMeshEnum &mesh) const |
Real | volume () const |
virtual void | initialize () override |
virtual void | execute () override |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Attributes | |
const field::NekFieldEnum | _field |
integrand of the surface integral More... | |
Point | _velocity_direction |
Direction in which to evaluate velocity, when field = velocity_component. 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... | |
Compute the average of a specified quantity over the volume of the nekRS mesh, \(\frac{\int_\Omega f d\Omega}{\int_\Omega d\Omega}\), where \(f\) is the field to be integrated, and \(\Omega\) is the volume.
Note that this calculation is done directly on the mesh that nekRS solves on, not the mesh created for solution transfer in NekRSMesh.
NekVolumeAverage::NekVolumeAverage | ( | const InputParameters & | parameters | ) |
|
inlineoverridevirtualinherited |
Reimplemented in NekMeshInfoPostprocessor.
|
inherited |
Integrate the field over the specified mesh
[in] | mesh | mesh |
|
overridevirtual |
Reimplemented from NekVolumeIntegral.
|
inlineoverridevirtualinherited |
Reimplemented in NekMeshInfoPostprocessor.
|
static |
|
inherited |
Volume by which to normalize
|
protectedinherited |
integrand of the surface integral
|
protectedinherited |
Base mesh this postprocessor acts on.
|
protectedinherited |
Underlying problem.
|
protectedinherited |
Which NekRS mesh to act on.
|
protectedinherited |
Direction in which to evaluate velocity, when field = velocity_component.