OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
hydratingisoheatmat.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 hydratingisoheatmat_h
36 #define hydratingisoheatmat_h
37 
38 #include "isoheatmat.h"
39 #include "hydram.h"
40 
42 
43 #define _IFT_HydratingIsoHeatMaterial_Name "hisoheat"
44 #define _IFT_HydratingIsoHeatMaterial_hydration "hydration"
45 #define _IFT_HydratingIsoHeatMaterial_mix "mix"
46 #define _IFT_HydratingIsoHeatMaterial_noHeat "noheat"
47 #define _IFT_HydratingIsoHeatMaterial_noLHS "nolhs"
48 
49 
50 namespace oofem {
55 {
56 public:
59 
61  virtual const char *giveClassName() const { return "HydratingTransportMaterialStatus"; }
62 
63  virtual void updateYourself(TimeStep *tStep) {
66  }
67  virtual void printOutputAt(FILE *file, TimeStep *tStep);
68 };
69 
76 {
77 protected:
78  int hydration, hydrationHeat, hydrationLHS;
79 
80 public:
83 
84  void setMixture(MixtureType mix);
85 
87  virtual int hasInternalSource();
88  virtual void computeInternalSourceVector(FloatArray &val, GaussPoint *gp, TimeStep *tStep, ValueModeType mode);
89  virtual void updateInternalState(const FloatArray &state, GaussPoint *gp, TimeStep *tStep);
90 
91  virtual double giveCharacteristicValue(MatResponseMode mode,
92  GaussPoint *gp,
93  TimeStep *tStep);
94 
95  virtual contextIOResultType saveIPContext(DataStream &stream, ContextMode mode, GaussPoint *gp);
96  virtual contextIOResultType restoreIPContext(DataStream &stream, ContextMode mode, GaussPoint *gp);
97 
98  // identification and auxiliary functions
99  virtual const char *giveInputRecordName() const { return _IFT_HydratingIsoHeatMaterial_Name; }
100  virtual const char *giveClassName() const { return "HydratingIsoHeatMaterial"; }
101 
103 
104  // post-processing
105  virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep);
106 
107 protected:
108  virtual MaterialStatus *CreateStatus(GaussPoint *gp) const;
109 };
110 } // end namespace oofem
111 #endif // hydratingisoheatmat_h
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
virtual void updateYourself(TimeStep *tStep)
Update equilibrium history variables according to temp-variables.
virtual const char * giveClassName() const
GaussPoint * gp
Associated integration point.
Class and object Domain.
Definition: domain.h:115
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
Definition: datastream.h:54
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
Definition: valuemodetype.h:78
HydratingIsoHeatMaterial(int n, Domain *d)
#define _IFT_HydratingIsoHeatMaterial_Name
virtual const char * giveInputRecordName() const
This class implements a transport material status information.
virtual void updateYourself(TimeStep *tStep)
Update equilibrium history variables according to temp-variables.
This class implements a isotropic linear heat material in a finite element problem.
MatResponseMode
Describes the character of characteristic material matrix.
virtual const char * giveClassName() const
MixtureType
Definition: hydram.h:150
HydratingTransportMaterialStatus(int n, Domain *d, GaussPoint *g)
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: matstatus.h:140
This class implements an isotropic linear heat material.
Definition: isoheatmat.h:58
Isotropic material for heat with hydration.
Abstract base class representing a material status information.
Definition: matstatus.h:84
Class representing vector of real numbers.
Definition: floatarray.h:82
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
virtual Interface * giveInterface(InterfaceType t)
Interface requesting service.
Class representing the general Input Record.
Definition: inputrecord.h:101
Class Interface.
Definition: interface.h:82
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Print receiver's output to given stream.
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
Definition: contextmode.h:43
InterfaceType
Enumerative type, used to identify interface type.
Definition: interfacetype.h:43
the oofem namespace is to define a context or scope in which all oofem names are defined.
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80
void updateYourself(TimeStep *tStep)
Updates the equilibrium variables to temporary values.
Definition: hydram.C:581

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