Line data Source code
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 "WCNSFVTurbulencePhysicsBase.h" 13 : #include "NS.h" 14 : 15 : /** 16 : * Creates all the objects needed to add a turbulence model to an incompressible / 17 : * weakly-compressible Navier Stokes finite volume flow simulation 18 : */ 19 24 : class WCNSLinearFVTurbulencePhysics final : public WCNSFVTurbulencePhysicsBase 20 : { 21 : public: 22 : static InputParameters validParams(); 23 : 24 : WCNSLinearFVTurbulencePhysics(const InputParameters & parameters); 25 : 26 : protected: 27 : virtual void initializePhysicsAdditional() override; 28 : unsigned short getNumberAlgebraicGhostingLayersNeeded() const override; 29 : virtual void checkIntegrity() const override; 30 : 31 : private: 32 : virtual void addSolverVariables() override; 33 : virtual void addFVKernels() override; 34 : virtual void addFVBCs() override; 35 : virtual void addFunctorMaterials() override; 36 : 37 : /** 38 : * Functions adding kernels for the k-epsilon to the k-epsilon equations 39 : */ 40 : void addKEpsilonTimeDerivatives(); 41 : void addKEpsilonAdvection(); 42 : void addKEpsilonDiffusion(); 43 : void addKEpsilonSink(); 44 : };