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 30 of file VolumetricFlowRate.h.

Constructor & Destructor Documentation

VolumetricFlowRate::VolumetricFlowRate ( const InputParameters &  parameters)

Definition at line 30 of file VolumetricFlowRate.C.

31  : SideIntegralPostprocessor(parameters),
32  _vel_x(coupledValue("vel_x")),
33  _vel_y(coupledValue("vel_y")),
34  _vel_z(coupledValue("vel_z"))
35 {
36 }
const VariableValue & _vel_z
const VariableValue & _vel_y
const VariableValue & _vel_x

Member Function Documentation

Real VolumetricFlowRate::computeQpIntegral ( )
overrideprotectedvirtual

Definition at line 39 of file VolumetricFlowRate.C.

40 {
41  return RealVectorValue(_vel_x[_qp], _vel_y[_qp], _vel_z[_qp]) * _normals[_qp];
42 }
const VariableValue & _vel_z
const VariableValue & _vel_y
const VariableValue & _vel_x

Member Data Documentation

const VariableValue& VolumetricFlowRate::_vel_x
protected

Definition at line 38 of file VolumetricFlowRate.h.

Referenced by computeQpIntegral().

const VariableValue& VolumetricFlowRate::_vel_y
protected

Definition at line 39 of file VolumetricFlowRate.h.

Referenced by computeQpIntegral().

const VariableValue& VolumetricFlowRate::_vel_z
protected

Definition at line 40 of file VolumetricFlowRate.h.

Referenced by computeQpIntegral().


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