OOFEM 3.0
Loading...
Searching...
No Matches
qbrick1_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 qbrick1_ht_h
36#define qbrick1_ht_h
37
39#include "spatiallocalizer.h"
43
44#define _IFT_QBrick1_ht_Name "qbrick1ht"
45#define _IFT_QBrick1_hmt_Name "qbrick1hmt"
46#define _IFT_QBrick1_mt_Name "qbrick1mt"
47
48
49namespace oofem {
50class FEI3dHexaQuad;
51
57{
58protected:
60
61public:
62 QBrick1_ht(int n, Domain * d);
63
64 double computeVolumeAround(GaussPoint *gp) override;
65 FEInterpolation *giveInterpolation() const override;
66
67 // definition & identification
68 const char *giveInputRecordName() const override { return _IFT_QBrick1_ht_Name; }
69 const char *giveClassName() const override { return "QBrick1_ht"; }
70
71 int computeNumberOfDofs() override { return ( emode == HeatTransferEM ) ? 20 : 40; }
72 void initializeFrom(InputRecord &ir, int priority) override;
73 MaterialMode giveMaterialMode() override { return _3dHeat; }
74 Element_Geometry_Type giveGeometryType() const override {return EGT_hexa_2;}
75
76
78 int testElementExtension(ElementExtension ext) override { return ( ( ext == Element_SurfaceLoadSupport ) ? 1 : 0 ); }
79
81 void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap) override;
84
85protected:
86 void computeGaussPoints() override;
87 double computeEdgeVolumeAround(GaussPoint *gp, int iEdge) override;
88 double computeSurfaceVolumeAround(GaussPoint *gp, int iEdge) override;
89};
90
91class QBrick1_hmt : public QBrick1_ht
92{
93public:
94 QBrick1_hmt(int n, Domain * d);
95
96 MaterialMode giveMaterialMode() override { return _3dHeMo; }
97 const char *giveInputRecordName() const override { return _IFT_QBrick1_hmt_Name; }
98 const char *giveClassName() const override { return "QBrick1_hmt"; }
99};
100
104class QBrick1_mt : public QBrick1_ht
105{
106public:
107 QBrick1_mt(int n, Domain * d);
108
109 const char *giveInputRecordName() const override { return _IFT_QBrick1_mt_Name; }
110 const char *giveClassName() const override { return "QBrick1_mt"; }
111 MaterialMode giveMaterialMode() override { return _3dHeat; }
112};
113} // end namespace oofem
114#endif // qbrick1_ht_h
QBrick1_hmt(int n, Domain *d)
Definition qbrick1_ht.C:62
const char * giveInputRecordName() const override
Definition qbrick1_ht.h:97
const char * giveClassName() const override
Definition qbrick1_ht.h:98
MaterialMode giveMaterialMode() override
Definition qbrick1_ht.h:96
int SPRNodalRecoveryMI_giveNumberOfIP() override
Definition qbrick1_ht.C:167
void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap) override
Definition qbrick1_ht.C:148
static FEI3dHexaQuad interpolation
Definition qbrick1_ht.h:59
const char * giveClassName() const override
Definition qbrick1_ht.h:69
int computeNumberOfDofs() override
Definition qbrick1_ht.h:71
double computeSurfaceVolumeAround(GaussPoint *gp, int iEdge) override
Definition qbrick1_ht.C:115
Interface * giveInterface(InterfaceType t) override
Definition qbrick1_ht.C:123
double computeEdgeVolumeAround(GaussPoint *gp, int iEdge) override
Definition qbrick1_ht.C:106
QBrick1_ht(int n, Domain *d)
Definition qbrick1_ht.C:56
double computeVolumeAround(GaussPoint *gp) override
Definition qbrick1_ht.C:96
FEInterpolation * giveInterpolation() const override
Definition qbrick1_ht.C:74
void computeGaussPoints() override
Definition qbrick1_ht.C:78
SPRPatchType SPRNodalRecoveryMI_givePatchType() override
Definition qbrick1_ht.C:174
int testElementExtension(ElementExtension ext) override
Definition qbrick1_ht.h:78
void initializeFrom(InputRecord &ir, int priority) override
Definition qbrick1_ht.C:89
Element_Geometry_Type giveGeometryType() const override
Definition qbrick1_ht.h:74
void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap) override
Definition qbrick1_ht.C:139
MaterialMode giveMaterialMode() override
Definition qbrick1_ht.h:73
const char * giveInputRecordName() const override
Definition qbrick1_ht.h:68
QBrick1_mt(int n, Domain *d)
Definition qbrick1_ht.C:67
MaterialMode giveMaterialMode() override
Definition qbrick1_ht.h:111
const char * giveInputRecordName() const override
Definition qbrick1_ht.h:109
const char * giveClassName() const override
Definition qbrick1_ht.h:110
SpatialLocalizerInterface(Element *element)
TransportElement(int n, Domain *d, ElementMode em=HeatTransferEM)
ZZNodalRecoveryModelInterface(Element *element)
Constructor.
@ Element_SurfaceLoadSupport
Element extension for surface loads.
#define _IFT_QBrick1_ht_Name
Definition qbrick1_ht.h:44
#define _IFT_QBrick1_mt_Name
Definition qbrick1_ht.h:46
#define _IFT_QBrick1_hmt_Name
Definition qbrick1_ht.h:45

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