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
16namespace fp
17{
18
28Real reynolds(Real rho, Real vel, Real L, Real mu);
29ADReal reynolds(const ADReal & rho, const ADReal & vel, const ADReal & L, const ADReal & mu);
30
39Real prandtl(Real cp, Real mu, Real k);
40ADReal prandtl(const ADReal & cp, const ADReal & mu, const ADReal & k);
41
54Real grashof(Real beta, Real T_s, Real T_bulk, Real L, Real rho, Real mu, Real gravity_magnitude);
55ADReal grashof(const ADReal & beta,
56 const ADReal & T_s,
57 const ADReal & T_bulk,
58 const ADReal & L,
59 const ADReal & rho,
60 const ADReal & mu,
61 const ADReal & gravity_magnitude);
62
72Real laplace(Real sigma, Real rho, Real L, Real mu);
73ADReal laplace(const ADReal & sigma, const ADReal & rho, const ADReal & L, const ADReal & mu);
74
83Real thermalDiffusivity(Real k, Real rho, Real cp);
84ADReal thermalDiffusivity(const ADReal & k, const ADReal & rho, const ADReal & cp);
85
94Real peclet(Real vel, Real L, Real diffusivity);
95ADReal peclet(const ADReal & vel, const ADReal & L, const ADReal & diffusivity);
96
98
99} // 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.