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 using a linear finite 17 : * volume discretization 18 : */ 19 65 : class WCNSLinearFVFluidHeatTransferPhysics final : public WCNSFVFluidHeatTransferPhysicsBase 20 : { 21 : public: 22 : static InputParameters validParams(); 23 : 24 : WCNSLinearFVFluidHeatTransferPhysics(const InputParameters & parameters); 25 : 26 : private: 27 : virtual void addSolverVariables() override; 28 : virtual void addAuxiliaryVariables() override; 29 : virtual void addAuxiliaryKernels() override; 30 : virtual void addMaterials() override; 31 : 32 : /** 33 : * Functions adding kernels for the incompressible / weakly compressible energy equation 34 : */ 35 : void addEnergyTimeKernels() override; 36 : void addEnergyHeatConductionKernels() override; 37 : void addEnergyAdvectionKernels() override; 38 : void addEnergyAmbientConvection() override; 39 : void addEnergyExternalHeatSource() override; 40 : 41 : /// Functions adding boundary conditions for the incompressible / weakly compressible energy equation 42 : void addEnergyInletBC() override; 43 : void addEnergyWallBC() override; 44 : void addEnergyOutletBC() override; 45 65 : void addEnergySeparatorBC() override {} 46 : };