https://mooseframework.inl.gov
Namespaces | Functions
NavierStokesMethods.C File Reference

Go to the source code of this file.

Namespaces

 NS
 

Functions

int NS::delta (unsigned int i, unsigned int j)
 Delta function, which returns zero if $i j$ and unity if $i=j$. More...
 
int NS::computeSign (const Real &a)
 Sign function, returns $+1$ if $a$ is positive and $-1$ if $a$ is negative. More...
 
unsigned int NS::getIndex (const Real &p, const std::vector< Real > &bounds)
 Determines the index $i$ in a sorted array such that the input point is within the $i$-th and $i+1$-th entries in the array. More...
 
Real NS::reynoldsPropertyDerivative (const Real &Re, const Real &rho, const Real &mu, const Real &drho, const Real &dmu)
 Computes the derivative of the Reynolds number, $Re { Vd}{}$, with respect to an arbitrary variable $$, where it is assumed that only the material properties of density $$ and dynamic viscosity $$ have nonzero derivatives with respect to $$. More...
 
Real NS::prandtlPropertyDerivative (const Real &mu, const Real &cp, const Real &k, const Real &dmu, const Real &dcp, const Real &dk)
 Computes the derivative of the Prandtl number, $Pr{ C_p}{k}$, with respect to an arbitrary variale $$. More...
 
template<typename T >
NS::findUStar (const T &mu, const T &rho, const T &u, Real dist)
 Finds the friction velocity using standard velocity wall functions formulation. More...
 
template Real NS::findUStar< Real > (const Real &mu, const Real &rho, const Real &u, const Real dist)
 
template ADReal NS::findUStar< ADReal > (const ADReal &mu, const ADReal &rho, const ADReal &u, const Real dist)
 
template<typename T >
NS::findyPlus (const T &mu, const T &rho, const T &u, Real dist)
 Finds the non-dimensional wall distance normalized with the friction velocity Implements a fixed-point iteration in the wall function to get this velocity. More...
 
template Real NS::findyPlus< Real > (const Real &mu, const Real &rho, const Real &u, Real dist)
 
template ADReal NS::findyPlus< ADReal > (const ADReal &mu, const ADReal &rho, const ADReal &u, Real dist)
 
template<typename T >
NS::computeSpeed (const libMesh::VectorValue< T > &velocity)
 Compute the speed (velocity norm) given the supplied velocity. More...
 
template Real NS::computeSpeed< Real > (const libMesh::VectorValue< Real > &velocity)
 
template ADReal NS::computeSpeed< ADReal > (const libMesh::VectorValue< ADReal > &velocity)
 
template<typename T >
NS::computeShearStrainRateNormSquared (const Moose::Functor< T > &u, const Moose::Functor< T > *v, const Moose::Functor< T > *w, const Moose::ElemArg &elem_arg, const Moose::StateArg &state)
 Utility function to compute the shear strain rate. More...
 
template Real NS::computeShearStrainRateNormSquared< Real > (const Moose::Functor< Real > &u, const Moose::Functor< Real > *v, const Moose::Functor< Real > *w, const Moose::ElemArg &elem_arg, const Moose::StateArg &state)
 
template ADReal NS::computeShearStrainRateNormSquared< ADReal > (const Moose::Functor< ADReal > &u, const Moose::Functor< ADReal > *v, const Moose::Functor< ADReal > *w, const Moose::ElemArg &elem_arg, const Moose::StateArg &state)
 
void NS::getWallBoundedElements (const std::vector< BoundaryName > &wall_boundary_name, const FEProblemBase &fe_problem, const SubProblem &subproblem, const std::set< SubdomainID > &block_ids, std::unordered_set< const Elem *> &wall_bounded)
 Map marking wall bounded elements The map passed in wall_bounded_map gets cleared and re-populated. More...
 
void NS::getWallDistance (const std::vector< BoundaryName > &wall_boundary_name, const FEProblemBase &fe_problem, const SubProblem &subproblem, const std::set< SubdomainID > &block_ids, std::map< const Elem *, std::vector< Real >> &dist_map)
 Map storing wall ditance for near-wall marked elements The map passed in dist_map gets cleared and re-populated. More...
 
void NS::getElementFaceArgs (const std::vector< BoundaryName > &wall_boundary_name, const FEProblemBase &fe_problem, const SubProblem &subproblem, const std::set< SubdomainID > &block_ids, std::map< const Elem *, std::vector< const FaceInfo *>> &face_info_map)
 Map storing face arguments to wall bounded faces The map passed in face_info_map gets cleared and re-populated. More...