www.mooseframework.org
VolumetricFlowRate.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 // MOOSE includes
13 #include "SideIntegralPostprocessor.h"
14 
15 // Forward Declarations
16 class VolumetricFlowRate;
17 
18 template <>
19 InputParameters validParams<VolumetricFlowRate>();
20 
24 class VolumetricFlowRate : public SideIntegralPostprocessor
25 {
26 public:
27  VolumetricFlowRate(const InputParameters & parameters);
28 
29 protected:
30  virtual Real computeQpIntegral() override;
31 
32  const VariableValue & _vel_x;
33  const VariableValue & _vel_y;
34  const VariableValue & _vel_z;
35 };
36 
VolumetricFlowRate::VolumetricFlowRate
VolumetricFlowRate(const InputParameters &parameters)
Definition: VolumetricFlowRate.C:27
VolumetricFlowRate::computeQpIntegral
virtual Real computeQpIntegral() override
Definition: VolumetricFlowRate.C:36
validParams< VolumetricFlowRate >
InputParameters validParams< VolumetricFlowRate >()
Definition: VolumetricFlowRate.C:17
VolumetricFlowRate::_vel_z
const VariableValue & _vel_z
Definition: VolumetricFlowRate.h:34
VolumetricFlowRate::_vel_y
const VariableValue & _vel_y
Definition: VolumetricFlowRate.h:33
VolumetricFlowRate
This postprocessor computes the volumetric flow rate through a boundary.
Definition: VolumetricFlowRate.h:24
VolumetricFlowRate::_vel_x
const VariableValue & _vel_x
Definition: VolumetricFlowRate.h:32