https://mooseframework.inl.gov
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 
12 #include "GeneralPostprocessor.h"
13 #include "SubChannelMesh.h"
14 
19 {
20 public:
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 
28 protected:
32  AuxVariableName const & _variable;
34  const Real & _height;
37 };
const SubChannelMesh & _mesh
geometric information
Definition: SCMPlanarMean.h:30
SCMPlanarMean(const InputParameters &params)
Definition: SCMPlanarMean.C:34
virtual void execute() override
Definition: SCMPlanarMean.C:44
static InputParameters validParams()
Definition: SCMPlanarMean.C:24
virtual Real getValue() const override
Definition: SCMPlanarMean.C:96
const Real & _height
axial location [m]
Definition: SCMPlanarMean.h:34
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
AuxVariableName const & _variable
name of variable
Definition: SCMPlanarMean.h:32
virtual void finalize() override
Definition: SCMPlanarMean.h:25
Real _mean_value
average value we want to calculate
Definition: SCMPlanarMean.h:36
Base class for subchannel meshes.
virtual void initialize() override
Definition: SCMPlanarMean.h:23
Calculates a mass flow averaged mean of a subchannel variable on a plane.
Definition: SCMPlanarMean.h:18