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 "HeatTransfer1PhaseBase.h" 13 : 14 : /** 15 : * Base class for heat transfer connections from temperature for 1-phase flow 16 : */ 17 0 : class HeatTransferFromTemperature1Phase : public HeatTransfer1PhaseBase 18 : { 19 : public: 20 : HeatTransferFromTemperature1Phase(const InputParameters & parameters); 21 : 22 : virtual void addVariables() override; 23 : virtual void addMooseObjects() override; 24 : 25 : virtual bool isTemperatureType() const override; 26 : 27 : protected: 28 : /// Get the FE type for wall temperature variable 29 : virtual const libMesh::FEType & getFEType(); 30 : 31 : /** 32 : * Adds 1-phase heat transfer kernels 33 : */ 34 : void addHeatTransferKernels(); 35 : 36 : /// The type of the wall temperature variable 37 : libMesh::FEType _fe_type; 38 : 39 : public: 40 : static InputParameters validParams(); 41 : };