www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
VolumetricFlowRate Class Reference

This postprocessor computes the volumetric flow rate through a boundary. More...

#include <VolumetricFlowRate.h>

Inheritance diagram for VolumetricFlowRate:
[legend]

Public Member Functions

 VolumetricFlowRate (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpIntegral () override
 

Protected Attributes

const VariableValue & _vel_x
 
const VariableValue & _vel_y
 
const VariableValue & _vel_z
 

Detailed Description

This postprocessor computes the volumetric flow rate through a boundary.

Definition at line 25 of file VolumetricFlowRate.h.

Constructor & Destructor Documentation

◆ VolumetricFlowRate()

VolumetricFlowRate::VolumetricFlowRate ( const InputParameters &  parameters)

Definition at line 27 of file VolumetricFlowRate.C.

28  : SideIntegralPostprocessor(parameters),
29  _vel_x(coupledValue("vel_x")),
30  _vel_y(coupledValue("vel_y")),
31  _vel_z(coupledValue("vel_z"))
32 {
33 }
const VariableValue & _vel_z
const VariableValue & _vel_y
const VariableValue & _vel_x

Member Function Documentation

◆ computeQpIntegral()

Real VolumetricFlowRate::computeQpIntegral ( )
overrideprotectedvirtual

Definition at line 36 of file VolumetricFlowRate.C.

37 {
38  return RealVectorValue(_vel_x[_qp], _vel_y[_qp], _vel_z[_qp]) * _normals[_qp];
39 }
const VariableValue & _vel_z
const VariableValue & _vel_y
const VariableValue & _vel_x

Member Data Documentation

◆ _vel_x

const VariableValue& VolumetricFlowRate::_vel_x
protected

Definition at line 33 of file VolumetricFlowRate.h.

Referenced by computeQpIntegral().

◆ _vel_y

const VariableValue& VolumetricFlowRate::_vel_y
protected

Definition at line 34 of file VolumetricFlowRate.h.

Referenced by computeQpIntegral().

◆ _vel_z

const VariableValue& VolumetricFlowRate::_vel_z
protected

Definition at line 35 of file VolumetricFlowRate.h.

Referenced by computeQpIntegral().


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