https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
22public:
24
25 HeatStructureInterface(GeometricalComponent * geometrical_component);
26
30 FunctionName getInitialT() const;
31
39
40protected:
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
74private:
77};
Intermediate class for components that have mesh.
Provides functions to setup the heat conduction model.
Interface class for heat structure components.
const GeometricalComponent & getGeometricalComponent() const
Gets the geometrical component inheriting from this interface.
std::shared_ptr< HeatConductionModel > _hc_model
The heat conduction model used by this heat structure.
void addMooseObjects()
Method to be called in the component's addMooseObjects() method.
GeometricalComponent & _geometrical_component_hsi
The geometrical component inheriting from this interface.
virtual bool useCylindricalTransformation() const =0
Use cylindrical transformation?
virtual std::shared_ptr< HeatConductionModel > buildModel()
Builds the heat conduction model.
void check() const
Method to be called in the component's check() method.
FunctionName getInitialT() const
Gets the initial temperature function name.
void init()
Method to be called in the component's init() method.
void addVariables()
Method to be called in the component's addVariables() method.
static InputParameters validParams()