https://mooseframework.inl.gov
DimensionlessFlowNumbers.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 "ADReal.h"
13 
14 #include "libmesh/libmesh_common.h"
15 
16 using namespace libMesh;
17 
18 namespace fp
19 {
20 
30 Real reynolds(Real rho, Real vel, Real L, Real mu);
31 ADReal reynolds(const ADReal & rho, const ADReal & vel, const ADReal & L, const ADReal & mu);
32 
42 ADReal prandtl(const ADReal & cp, const ADReal & mu, const ADReal & k);
43 
56 Real grashof(Real beta, Real T_s, Real T_bulk, Real L, Real rho, Real mu, Real gravity_magnitude);
57 ADReal grashof(const ADReal & beta,
58  const ADReal & T_s,
59  const ADReal & T_bulk,
60  const ADReal & L,
61  const ADReal & rho,
62  const ADReal & mu,
63  const ADReal & gravity_magnitude);
64 
74 Real laplace(Real sigma, Real rho, Real L, Real mu);
75 ADReal laplace(const ADReal & sigma, const ADReal & rho, const ADReal & L, const ADReal & mu);
76 
86 ADReal thermalDiffusivity(const ADReal & k, const ADReal & rho, const ADReal & cp);
87 
96 Real peclet(Real vel, Real L, Real diffusivity);
97 ADReal peclet(const ADReal & vel, const ADReal & L, const ADReal & diffusivity);
98 
99 void deprecatedMessage();
100 
101 } // namespace fp
ADReal thermalDiffusivity(const ADReal &k, const ADReal &rho, const ADReal &cp)
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...
DualNumber< Real, DNDerivativeType, true > ADReal
static const std::string cp
Definition: NS.h:121
ADReal laplace(const ADReal &sigma, const ADReal &rho, const ADReal &L, const ADReal &mu)
ADReal grashof(const ADReal &beta, const ADReal &T_s, const ADReal &T_bulk, const ADReal &L, const ADReal &rho, const ADReal &mu, const ADReal &gravity_magnitude)
static const std::string mu
Definition: NS.h:123
void deprecatedMessage()
ADReal prandtl(const ADReal &cp, const ADReal &mu, const ADReal &k)
ADReal peclet(const ADReal &vel, const ADReal &L, const ADReal &diffusivity)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ADReal reynolds(const ADReal &rho, const ADReal &vel, const ADReal &L, const ADReal &mu)
static const std::string k
Definition: NS.h:130