https://mooseframework.inl.gov
Loading...
Searching...
No Matches
EnergyFluxIntegral.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 "EnergyFluxIntegral.h"
11
12registerMooseObject("ThermalHydraulicsApp", EnergyFluxIntegral);
13
16{
18 params.addClassDescription("Computes the integral of the energy flux over a boundary");
19 params.addRequiredCoupledVar("arhouA", "alpha*rho*u*A");
20 params.addRequiredCoupledVar("H", "Specific total enthalpy");
21 return params;
22}
23
25 : SideIntegralPostprocessor(parameters),
26 _arhouA(coupledValue("arhouA")),
27 _enthalpy(coupledValue("H"))
28{
29}
30
31void
33{
34 const auto & pps = static_cast<const EnergyFluxIntegral &>(y);
36}
37
38Real
registerMooseObject("ThermalHydraulicsApp", EnergyFluxIntegral)
const std::vector< double > y
Computes the boundary integral of the energy flux.
virtual void threadJoin(const UserObject &y) override
EnergyFluxIntegral(const InputParameters &parameters)
const VariableValue & _enthalpy
const VariableValue & _arhouA
static InputParameters validParams()
virtual Real computeQpIntegral() override
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()