OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
isoheatmat.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 - 2013 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 isoheatmat_h
36 #define isoheatmat_h
37 
38 #include "transportmaterial.h"
39 #include "floatarray.h"
40 #include "floatmatrix.h"
41 #include "scalarfunction.h"
42 
44 
45 #define _IFT_IsotropicHeatTransferMaterial_Name "isoheat"
46 #define _IFT_IsotropicHeatTransferMaterial_k "k"
47 #define _IFT_IsotropicHeatTransferMaterial_c "c"
48 #define _IFT_IsotropicHeatTransferMaterial_maturityT0 "maturityt0"
49 #define _IFT_IsotropicHeatTransferMaterial_d "td"
50 
51 
52 namespace oofem {
53 
59 {
60 protected:
64  double maturityT0;
65 
66 public:
69 
70  virtual void giveFluxVector(FloatArray &answer, GaussPoint *gp, const FloatArray &grad, const FloatArray &field, TimeStep *tStep);
71 
72  virtual void giveCharacteristicMatrix(FloatMatrix &answer,
73  MatResponseMode mode,
74  GaussPoint *gp,
75  TimeStep *tStep);
76 
77  virtual double giveIsotropicConductivity(GaussPoint *gp, TimeStep *tStep);
78 
79  virtual double giveCharacteristicValue(MatResponseMode mode,
80  GaussPoint *gp,
81  TimeStep *tStep);
82 
83  virtual double giveMaturityT0() { return maturityT0; }
84 
85  virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep);
86 
87  virtual const char *giveInputRecordName() const { return _IFT_IsotropicHeatTransferMaterial_Name; }
88  virtual const char *giveClassName() const { return "IsotropicHeatTransferMaterial"; }
89 
91 
92  virtual double give(int aProperty, GaussPoint *gp, TimeStep *tStep);
93  virtual MaterialStatus *CreateStatus(GaussPoint *gp) const;
94  double giveTemperature(GaussPoint *gp);
95 };
96 
98 {
99 public:
102  virtual void updateYourself(TimeStep *tStep);
103 };
104 
105 } // end namespace oofem
106 #endif // isoheatmat_h
ScalarFunction conductivity
Conductivity (k in input file).
Definition: isoheatmat.h:61
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
virtual double giveIsotropicConductivity(GaussPoint *gp, TimeStep *tStep)
Definition: isoheatmat.C:138
Class and object Domain.
Definition: domain.h:115
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
Definition: isoheatmat.C:192
virtual const char * giveInputRecordName() const
Definition: isoheatmat.h:87
This class implements a transport material status information.
IsotropicHeatTransferMaterial(int n, Domain *d)
Definition: isoheatmat.C:45
MatResponseMode
Describes the character of characteristic material matrix.
virtual double giveCharacteristicValue(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
Computes the characteristic value of receiver in given integration point, respecting its history...
Definition: isoheatmat.C:143
#define _IFT_IsotropicHeatTransferMaterial_Name
Definition: isoheatmat.h:45
virtual void giveFluxVector(FloatArray &answer, GaussPoint *gp, const FloatArray &grad, const FloatArray &field, TimeStep *tStep)
Returns the flux for the field and its gradient.
Definition: isoheatmat.C:89
ScalarFunction capacity
Capacity (c in input file).
Definition: isoheatmat.h:62
This class implements an isotropic linear heat material.
Definition: isoheatmat.h:58
double maturityT0
Baseline for maturity mathod.
Definition: isoheatmat.h:64
Abstract base class representing a material status information.
Definition: matstatus.h:84
Class representing vector of real numbers.
Definition: floatarray.h:82
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: isoheatmat.C:56
Implementation of matrix containing floating point numbers.
Definition: floatmatrix.h:94
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
Implementation of Scalar function.
double giveTemperature(GaussPoint *gp)
Definition: isoheatmat.C:214
Class representing the general Input Record.
Definition: inputrecord.h:101
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in Reduced form.
Definition: isoheatmat.C:158
Abstract base class for all constitutive models for transport problems.
virtual double give(int aProperty, GaussPoint *gp, TimeStep *tStep)
Definition: isoheatmat.C:69
the oofem namespace is to define a context or scope in which all oofem names are defined.
ScalarFunction density
Density (td in input file).
Definition: isoheatmat.h:63
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80
virtual void giveCharacteristicMatrix(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
Computes characteristic matrix of receiver in given integration point.
Definition: isoheatmat.C:104
virtual const char * giveClassName() const
Definition: isoheatmat.h:88

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:29 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011