https://mooseframework.inl.gov
HeatStructureInterface.h
Go to the documentation of this file.
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 "InputParameters.h"
13 
16 
21 {
22 public:
24 
25  HeatStructureInterface(GeometricalComponent * geometrical_component);
26 
30  FunctionName getInitialT() const;
31 
36  {
38  }
39 
40 protected:
44  virtual bool useCylindricalTransformation() const = 0;
45 
49  virtual std::shared_ptr<HeatConductionModel> buildModel();
50 
54  void init();
55 
59  void check() const;
60 
64  void addVariables();
65 
69  void addMooseObjects();
70 
72  std::shared_ptr<HeatConductionModel> _hc_model;
73 
74 private:
77 };
virtual std::shared_ptr< HeatConductionModel > buildModel()
Builds the heat conduction model.
FunctionName getInitialT() const
Gets the initial temperature function name.
virtual bool useCylindricalTransformation() const =0
Use cylindrical transformation?
void check() const
Method to be called in the component&#39;s check() method.
static InputParameters validParams()
Interface class for heat structure components.
std::shared_ptr< HeatConductionModel > _hc_model
The heat conduction model used by this heat structure.
GeometricalComponent & _geometrical_component_hsi
The geometrical component inheriting from this interface.
Intermediate class for components that have mesh.
void init()
Method to be called in the component&#39;s init() method.
void addMooseObjects()
Method to be called in the component&#39;s addMooseObjects() method.
void addVariables()
Method to be called in the component&#39;s addVariables() method.
const GeometricalComponent & getGeometricalComponent() const
Gets the geometrical component inheriting from this interface.
HeatStructureInterface(GeometricalComponent *geometrical_component)
Provides functions to setup the heat conduction model.