https://mooseframework.inl.gov
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 {
24 public:
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 
34 protected:
35  virtual Real computeFaceInfoIntegral(const FaceInfo * fi) override;
36 
39 
42 };
virtual Real computeFaceInfoIntegral(const FaceInfo *fi) override
const Moose::Functor< ADReal > & _density
density provided as functor
virtual void threadJoin(const UserObject &y) override
const std::vector< double > y
static InputParameters validParams()
virtual void initialize() override
virtual void finalize() override
This postprocessor computes the mass-flux weighted average of a flow quantity over a boundary...
Common class for single phase fluid properties.
This postprocessor computes the volumetric flow rate through a boundary, internal or external to the ...
virtual Real getValue() const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Real _mdot
the mass flow rate over the face computed by this object
const InputParameters & parameters() const
MassFluxWeightedFlowRate(const InputParameters &parameters)