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 "WCNSFVFluidHeatTransferPhysicsBase.h" 13 : #include "NS.h" 14 : 15 : /** 16 : * Creates all the objects needed to solve the Navier Stokes energy equation 17 : */ 18 1193 : class WCNSFVFluidHeatTransferPhysics final : public WCNSFVFluidHeatTransferPhysicsBase 19 : { 20 : public: 21 : static InputParameters validParams(); 22 : 23 : WCNSFVFluidHeatTransferPhysics(const InputParameters & parameters); 24 : 25 : protected: 26 : private: 27 : virtual void addSolverVariables() override; 28 : 29 : /** 30 : * Functions adding kernels for the incompressible / weakly compressible energy equation 31 : * If the material properties are not constant, some of these can be used for 32 : * weakly-compressible simulations as well. 33 : */ 34 : void addEnergyTimeKernels() override; 35 : void addEnergyHeatConductionKernels() override; 36 : void addEnergyAdvectionKernels() override; 37 : void addEnergyAmbientConvection() override; 38 : void addEnergyExternalHeatSource() override; 39 : 40 : /// Functions adding boundary conditions for the incompressible simulation. 41 : /// These are used for weakly-compressible simulations as well. 42 : void addEnergyInletBC() override; 43 : void addEnergyWallBC() override; 44 624 : void addEnergyOutletBC() override {} 45 : void addEnergySeparatorBC() override; 46 : };