https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
16using namespace libMesh;
17
18namespace fp
19{
20
31ADReal reynolds(const ADReal & rho, const ADReal & vel, const ADReal & L, const ADReal & mu);
32
41Real prandtl(Real cp, Real mu, Real k);
42ADReal prandtl(const ADReal & cp, const ADReal & mu, const ADReal & k);
43
56Real grashof(Real beta, Real T_s, Real T_bulk, Real L, Real rho, Real mu, Real gravity_magnitude);
57ADReal 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
74Real laplace(Real sigma, Real rho, Real L, Real mu);
75ADReal laplace(const ADReal & sigma, const ADReal & rho, const ADReal & L, const ADReal & mu);
76
86ADReal thermalDiffusivity(const ADReal & k, const ADReal & rho, const ADReal & cp);
87
96Real peclet(Real vel, Real L, Real diffusivity);
97ADReal peclet(const ADReal & vel, const ADReal & L, const ADReal & diffusivity);
98
100
101} // namespace fp
DualNumber< Real, DNDerivativeType, true > ADReal
const double mu
const double rho
Real prandtl(Real cp, Real mu, Real k)
Compute Prandtl number.
Real thermalDiffusivity(Real k, Real rho, Real cp)
Compute thermal diffusivity.
Real laplace(Real sigma, Real rho, Real L, Real mu)
Compute Laplace number.
void deprecatedMessage()
Real peclet(Real vel, Real L, Real diffusivity)
Compute Peclet number.
Real reynolds(Real rho, Real vel, Real L, Real mu)
Compute Reynolds number.
Real grashof(Real beta, Real T_s, Real T_bulk, Real L, Real rho, Real mu, Real gravity_magnitude)
Compute Grashof number.
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real