https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SCMPlanarMean.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
13#include "SubChannelMesh.h"
14
19{
20public:
22 SCMPlanarMean(const InputParameters & params);
23 virtual void initialize() override {}
24 virtual void execute() override;
25 virtual void finalize() override {}
26 virtual Real getValue() const override;
27
28protected:
32 AuxVariableName const & _variable;
34 const Real & _height;
37};
Calculates a mass flow averaged mean of a subchannel variable on a plane.
virtual void finalize() override
const Real & _height
axial location [m]
const SubChannelMesh & _mesh
geometric information
virtual void execute() override
AuxVariableName const & _variable
name of variable
Real _mean_value
average value we want to calculate
virtual Real getValue() const override
virtual void initialize() override
static InputParameters validParams()
Base class for subchannel meshes.