https://mooseframework.inl.gov
WCNSFVTurbulencePhysics.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 
13 #include "NS.h"
14 
20 {
21 public:
23 
25 
26 protected:
27  virtual void initializePhysicsAdditional() override;
28  unsigned short getNumberAlgebraicGhostingLayersNeeded() const override;
29 
30 private:
31  virtual void addSolverVariables() override;
32  virtual void addAuxiliaryVariables() override;
33  virtual void addFVKernels() override;
34  virtual void addFVBCs() override;
35  virtual void addAuxiliaryKernels() override;
36  virtual void addMaterials() override;
37 
45 
50  void addKEpsilonAdvection();
51  void addKEpsilonDiffusion();
52  void addKEpsilonSink();
53 
55  const VariableName _mixing_length_name;
56 };
virtual void initializePhysicsAdditional() override
Base class for a Physics that creates all the objects needed to add a turbulence model to an incompre...
Creates all the objects needed to add a turbulence model to an incompressible / weakly-compressible N...
WCNSFVTurbulencePhysics(const InputParameters &parameters)
const InputParameters & parameters() const
void addFlowTurbulenceKernels()
Functions adding kernels for turbulence in the other equation(s)
virtual void addFVBCs() override
void addKEpsilonTimeDerivatives()
Functions adding kernels for the k-epsilon to the k-epsilon equations.
static InputParameters validParams()
virtual void addMaterials() override
virtual void addFVKernels() override
const VariableName _mixing_length_name
Name of the mixing length auxiliary variable.
unsigned short getNumberAlgebraicGhostingLayersNeeded() const override
Return the number of ghosting layers needed.
virtual void addAuxiliaryKernels() override
virtual void addSolverVariables() override
virtual void addAuxiliaryVariables() override