https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MassFluxIntegral.C
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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#include "MassFluxIntegral.h"
11
12registerMooseObject("ThermalHydraulicsApp", MassFluxIntegral);
13
16{
18 params.addClassDescription("Computes the integral of the mass flux over a boundary");
19 params.addRequiredCoupledVar("arhouA", "Momentum equation variable");
20 return params;
21}
22
24 : SideIntegralPostprocessor(parameters), _arhouA(coupledValue("arhouA"))
25{
26}
27
28void
30{
31 const auto & pps = static_cast<const MassFluxIntegral &>(y);
33}
34
35Real
const std::vector< double > y
registerMooseObject("ThermalHydraulicsApp", MassFluxIntegral)
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
Computes the boundary integral of the mass flux.
MassFluxIntegral(const InputParameters &parameters)
static InputParameters validParams()
virtual Real computeQpIntegral() override
const VariableValue & _arhouA
virtual void threadJoin(const UserObject &y) override
static InputParameters validParams()