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 "WCNSFVScalarTransportPhysicsBase.h" 13 : 14 : /** 15 : * Creates all the objects needed to solve the Navier Stokes scalar transport equations 16 : * using the linear finite volume weakly-compressible discretization (WCNSFV) 17 : */ 18 0 : class WCNSLinearFVScalarTransportPhysics : public WCNSFVScalarTransportPhysicsBase 19 : { 20 : public: 21 : static InputParameters validParams(); 22 : 23 : WCNSLinearFVScalarTransportPhysics(const InputParameters & parameters); 24 : 25 : private: 26 : virtual void addSolverVariables() override; 27 : 28 : /** 29 : * Functions adding kernels for the incompressible / weakly-compressible scalar transport 30 : * equation 31 : * If the material properties are not constant, some of these can be used for 32 : * weakly-compressible simulations as well. 33 : */ 34 : virtual void addScalarTimeKernels() override; 35 : virtual void addScalarDiffusionKernels() override; 36 : virtual void addScalarAdvectionKernels() override; 37 : virtual void addScalarSourceKernels() override; 38 : 39 : /// Functions adding boundary conditions for the incompressible simulation. 40 : /// These are used for weakly-compressible simulations as well. 41 : virtual void addScalarInletBC() override; 42 77 : virtual void addScalarWallBC() override{}; 43 : virtual void addScalarOutletBC() override; 44 : };