OOFEM
3.0
Loading...
Searching...
No Matches
src
tm
Elements
tetrah1_ht.h
Go to the documentation of this file.
1
/*
2
*
3
* ##### ##### ###### ###### ### ###
4
* ## ## ## ## ## ## ## ### ##
5
* ## ## ## ## #### #### ## # ##
6
* ## ## ## ## ## ## ## ##
7
* ## ## ## ## ## ## ## ##
8
* ##### ##### ## ###### ## ##
9
*
10
*
11
* OOFEM : Object Oriented Finite Element Code
12
*
13
* Copyright (C) 1993 - 2025 Borek Patzak
14
*
15
*
16
*
17
* Czech Technical University, Faculty of Civil Engineering,
18
* Department of Structural Mechanics, 166 29 Prague, Czech Republic
19
*
20
* This library is free software; you can redistribute it and/or
21
* modify it under the terms of the GNU Lesser General Public
22
* License as published by the Free Software Foundation; either
23
* version 2.1 of the License, or (at your option) any later version.
24
*
25
* This program is distributed in the hope that it will be useful,
26
* but WITHOUT ANY WARRANTY; without even the implied warranty of
27
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28
* Lesser General Public License for more details.
29
*
30
* You should have received a copy of the GNU Lesser General Public
31
* License along with this library; if not, write to the Free Software
32
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
33
*/
34
35
#ifndef tetrah1_ht_h
36
#define tetrah1_ht_h
37
38
#include "
tm/Elements/transportelement.h
"
39
#include "
spatiallocalizer.h
"
40
#include "
zznodalrecoverymodel.h
"
41
42
#define _IFT_Tetrah1_ht_Name "tetrah1ht"
43
#define _IFT_Tetrah1_hmt_Name "tetrah1hmt"
44
45
namespace
oofem
{
46
class
FEI3dTetLin;
47
51
class
Tetrah1_ht
:
public
TransportElement
,
public
SpatialLocalizerInterface
,
public
ZZNodalRecoveryModelInterface
52
{
53
protected
:
54
static
FEI3dTetLin
interpolation
;
55
56
public
:
57
Tetrah1_ht
(
int
n,
Domain
* d);
58
59
FEInterpolation
*
giveInterpolation
()
const override
;
60
61
double
computeVolumeAround
(
GaussPoint
*gp)
override
;
62
63
// definition
64
const
char
*
giveInputRecordName
()
const override
{
return
_IFT_Tetrah1_ht_Name
; }
65
const
char
*
giveClassName
()
const override
{
return
"Tetrah1_ht"
; }
66
Element_Geometry_Type
giveGeometryType
()
const override
{
return
EGT_tetra_1;}
67
68
69
int
computeNumberOfDofs
()
override
{
return
(
emode
==
HeatTransferEM
) ? 4 : 8; }
70
void
initializeFrom
(
InputRecord
&ir,
int
priority)
override
;
71
MaterialMode
giveMaterialMode
()
override
{
return
_3dHeat; }
72
73
Interface
*
giveInterface
(
InterfaceType
t)
override
;
74
int
testElementExtension
(
ElementExtension
ext)
override
75
{
return
( ( ( ext ==
Element_EdgeLoadSupport
) || ( ext ==
Element_SurfaceLoadSupport
) ) ? 1 : 0 ); }
76
77
#ifdef __OOFEG
78
// Graphics output
79
void
drawRawGeometry
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep)
override
;
80
void
drawScalar
(
oofegGraphicContext
&
gc
,
TimeStep
*tStep)
override
;
81
//void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override {}
82
//void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType) override {}
83
#endif
84
85
protected
:
86
void
computeGaussPoints
()
override
;
87
double
computeEdgeVolumeAround
(
GaussPoint
*gp,
int
iEdge)
override
;
88
double
computeSurfaceVolumeAround
(
GaussPoint
*gp,
int
iEdge)
override
;
89
};
90
91
class
Tetrah1_hmt
:
public
Tetrah1_ht
92
{
93
public
:
94
Tetrah1_hmt
(
int
n,
Domain
* d);
95
96
const
char
*
giveInputRecordName
()
const override
{
return
_IFT_Tetrah1_hmt_Name
; }
97
const
char
*
giveClassName
()
const override
{
return
"Tetrah1_hmt"
; }
98
MaterialMode
giveMaterialMode
()
override
{
return
_3dHeMo; }
99
};
100
}
// end namespace oofem
101
#endif
// tetrah1_ht_h
oofem::Domain
Definition
domain.h:121
oofem::FEI3dTetLin
Definition
fei3dtetlin.h:45
oofem::FEInterpolation
Definition
feinterpol.h:175
oofem::GaussPoint
Definition
gausspoint.h:95
oofem::InputRecord
Definition
inputrecord.h:98
oofem::Interface
Definition
interface.h:83
oofem::SpatialLocalizerInterface::SpatialLocalizerInterface
SpatialLocalizerInterface(Element *element)
Definition
spatiallocalizer.h:65
oofem::Tetrah1_hmt::giveInputRecordName
const char * giveInputRecordName() const override
Definition
tetrah1_ht.h:96
oofem::Tetrah1_hmt::giveMaterialMode
MaterialMode giveMaterialMode() override
Definition
tetrah1_ht.h:98
oofem::Tetrah1_hmt::Tetrah1_hmt
Tetrah1_hmt(int n, Domain *d)
Definition
tetrah1_ht.C:63
oofem::Tetrah1_hmt::giveClassName
const char * giveClassName() const override
Definition
tetrah1_ht.h:97
oofem::Tetrah1_ht::giveInterpolation
FEInterpolation * giveInterpolation() const override
Definition
tetrah1_ht.C:70
oofem::Tetrah1_ht::computeNumberOfDofs
int computeNumberOfDofs() override
Definition
tetrah1_ht.h:69
oofem::Tetrah1_ht::testElementExtension
int testElementExtension(ElementExtension ext) override
Definition
tetrah1_ht.h:74
oofem::Tetrah1_ht::computeGaussPoints
void computeGaussPoints() override
Definition
tetrah1_ht.C:77
oofem::Tetrah1_ht::giveInterface
Interface * giveInterface(InterfaceType t) override
Definition
tetrah1_ht.C:124
oofem::Tetrah1_ht::giveGeometryType
Element_Geometry_Type giveGeometryType() const override
Definition
tetrah1_ht.h:66
oofem::Tetrah1_ht::computeSurfaceVolumeAround
double computeSurfaceVolumeAround(GaussPoint *gp, int iEdge) override
Definition
tetrah1_ht.C:115
oofem::Tetrah1_ht::computeVolumeAround
double computeVolumeAround(GaussPoint *gp) override
Definition
tetrah1_ht.C:95
oofem::Tetrah1_ht::Tetrah1_ht
Tetrah1_ht(int n, Domain *d)
Definition
tetrah1_ht.C:57
oofem::Tetrah1_ht::computeEdgeVolumeAround
double computeEdgeVolumeAround(GaussPoint *gp, int iEdge) override
Definition
tetrah1_ht.C:106
oofem::Tetrah1_ht::interpolation
static FEI3dTetLin interpolation
Definition
tetrah1_ht.h:54
oofem::Tetrah1_ht::drawRawGeometry
void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override
Definition
tetrah1_ht.C:142
oofem::Tetrah1_ht::giveMaterialMode
MaterialMode giveMaterialMode() override
Definition
tetrah1_ht.h:71
oofem::Tetrah1_ht::giveInputRecordName
const char * giveInputRecordName() const override
Definition
tetrah1_ht.h:64
oofem::Tetrah1_ht::drawScalar
void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override
Definition
tetrah1_ht.C:178
oofem::Tetrah1_ht::initializeFrom
void initializeFrom(InputRecord &ir, int priority) override
Definition
tetrah1_ht.C:88
oofem::Tetrah1_ht::giveClassName
const char * giveClassName() const override
Definition
tetrah1_ht.h:65
oofem::TimeStep
Definition
timestep.h:82
oofem::TransportElement::TransportElement
TransportElement(int n, Domain *d, ElementMode em=HeatTransferEM)
Definition
transportelement.C:75
oofem::TransportElement::HeatTransferEM
@ HeatTransferEM
Definition
transportelement.h:57
oofem::TransportElement::emode
ElementMode emode
Definition
transportelement.h:60
oofem::ZZNodalRecoveryModelInterface::ZZNodalRecoveryModelInterface
ZZNodalRecoveryModelInterface(Element *element)
Constructor.
Definition
zznodalrecoverymodel.h:106
oofem::oofegGraphicContext
Definition
oofeggraphiccontext.h:133
oofem
Definition
additivemanufacturingproblem.C:83
oofem::Element_Geometry_Type
Element_Geometry_Type
Definition
elementgeometrytype.h:82
oofem::InterfaceType
InterfaceType
Definition
interfacetype.h:43
oofem::ElementExtension
ElementExtension
Definition
elementextension.h:42
oofem::Element_EdgeLoadSupport
@ Element_EdgeLoadSupport
Element extension for edge loads.
Definition
elementextension.h:45
oofem::Element_SurfaceLoadSupport
@ Element_SurfaceLoadSupport
Element extension for surface loads.
Definition
elementextension.h:44
gc
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
spatiallocalizer.h
_IFT_Tetrah1_hmt_Name
#define _IFT_Tetrah1_hmt_Name
Definition
tetrah1_ht.h:43
_IFT_Tetrah1_ht_Name
#define _IFT_Tetrah1_ht_Name
Definition
tetrah1_ht.h:42
transportelement.h
zznodalrecoverymodel.h
This page is part of the
OOFEM-3.0
documentation. Copyright Copyright (C) 1994-2025 Borek Patzak
Bořek Patzák
Project e-mail:
oofem@fsv.cvut.cz
Generated at
for OOFEM by
doxygen
1.15.0 written by
Dimitri van Heesch
, © 1997-2011