https://mooseframework.inl.gov
RayleighNumber.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 "GeneralPostprocessor.h"
14 
19 {
20 public:
22 
24 
25 protected:
26  virtual void initialize() override {}
27  virtual void execute() override {}
28  virtual Real getValue() const override;
29 
32 
35 
38 
40  const PostprocessorValue * const _beta;
41 
43  const PostprocessorValue * const _T_hot;
44 
46  const PostprocessorValue * const _T_cold;
47 
50 
53 
56 
59 
61  const Real _gravity;
62 };
const PostprocessorValue & _cp
Average specific thermal capacity.
const PostprocessorValue *const _beta
Thermal expansion coefficient.
const PostprocessorValue & _rho_ave
Average density.
const PostprocessorValue *const _T_cold
Minimum temperature.
const PostprocessorValue & _mu
Average viscosity.
virtual void execute() override
virtual Real getValue() const override
const PostprocessorValue & _l
Characteristic length.
virtual void initialize() override
const PostprocessorValue *const _rho_max
Maximum density.
Real PostprocessorValue
This postprocessor computes the Rayleigh number to describe natural circulation.
const PostprocessorValue *const _rho_min
Minimum density.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const PostprocessorValue *const _T_hot
Maximum temperature.
const Real _gravity
Magnitude of gravity in the direction of interest.
const InputParameters & parameters() const
const PostprocessorValue & _k
Average thermal conductivity.
RayleighNumber(const InputParameters &parameters)