https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MassFluxWeightedFlowRate.h
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#pragma once
11
12// MOOSE includes
13#include "VolumetricFlowRate.h"
14#include "MathFVUtils.h"
15
17
23{
24public:
26
28
29 virtual void initialize() override;
30 virtual void finalize() override;
31 virtual void threadJoin(const UserObject & y) override;
32 virtual Real getValue() const override;
33
34protected:
35 virtual Real computeFaceInfoIntegral(const FaceInfo * fi) override;
36
39
41 Real _mdot;
42};
const std::vector< double > y
This postprocessor computes the mass-flux weighted average of a flow quantity over a boundary,...
virtual void finalize() override
virtual void threadJoin(const UserObject &y) override
static InputParameters validParams()
const Moose::Functor< ADReal > & _density
density provided as functor
Real _mdot
the mass flow rate over the face computed by this object
virtual Real computeFaceInfoIntegral(const FaceInfo *fi) override
virtual void initialize() override
virtual Real getValue() const override
const InputParameters & parameters() const
Common class for single phase fluid properties.
This postprocessor computes the volumetric flow rate through a boundary, internal or external to the ...