https://mooseframework.inl.gov
Loading...
Searching...
No Matches
RANSYPlusAux.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 "AuxKernel.h"
14#include "NS.h"
15
19class RANSYPlusAux : public AuxKernel
20{
21public:
23
24 virtual void initialSetup() override;
25
27
28protected:
29 virtual Real computeValue() override;
30
32 const unsigned int _dim;
33
40
43
46
49
51 const std::vector<BoundaryName> & _wall_boundary_names;
52
55
57 const Real _C_mu;
58
61 std::unordered_set<const Elem *> _wall_bounded;
62 std::map<const Elem *, std::vector<Real>> _dist;
63 std::map<const Elem *, std::vector<const FaceInfo *>> _face_infos;
65};
const InputParameters & parameters() const
Computes wall y+ based on wall functions.
std::unordered_set< const Elem * > _wall_bounded
const Moose::Functor< Real > & _rho
Density.
virtual void initialSetup() override
virtual Real computeValue() override
const Moose::Functor< Real > & _mu
Dynamic viscosity.
const Moose::Functor< Real > * _w_var
z-velocity
static InputParameters validParams()
const Moose::Functor< Real > & _u_var
x-velocity
const Moose::Functor< Real > * _k
Turbulent kinetic energy.
std::map< const Elem *, std::vector< const FaceInfo * > > _face_infos
const Moose::Functor< Real > * _v_var
y-velocity
const Real _C_mu
C_mu constant.
const std::vector< BoundaryName > & _wall_boundary_names
Wall boundary names.
std::map< const Elem *, std::vector< Real > > _dist
NS::WallTreatmentEnum _wall_treatment
Method used for wall treatment.
const unsigned int _dim
the dimension of the simulation
WallTreatmentEnum
Wall treatment options.
Definition NS.h:187