OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
hydratinghemomat.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 hydratinghemomat_h
36 #define hydratinghemomat_h
37 
38 #include "hemotkmat.h"
39 #include "hydram.h"
40 
42 
43 #define _IFT_HydratingHeMoMaterial_Name "hhemotk"
44 #define _IFT_HydratingHeMoMaterial_hydration "hydration"
45 #define _IFT_HydratingHeMoMaterial_mix "mix"
46 #define _IFT_HydratingHeMoMaterial_noHeat "noheat"
47 #define _IFT_HydratingHeMoMaterial_noLHS "nolhs"
48 
49 
50 namespace oofem {
55 {
56 protected:
58 
59 public:
61  virtual ~HydratingHeMoMaterial() { }
62 
63  void setMixture(MixtureType mix);
64 
65  virtual int hasInternalSource(); // return true if hydration heat source is present
66  virtual void computeInternalSourceVector(FloatArray &val, GaussPoint *gp, TimeStep *tStep, ValueModeType mode);
67  virtual void updateInternalState(const FloatArray &state, GaussPoint *gp, TimeStep *tStep);
68 
69  virtual double giveCharacteristicValue(MatResponseMode mode,
70  GaussPoint *gp,
71  TimeStep *tStep);
72 
73  // saves current context(state) into stream
76 
77  // identification and auxiliary functions
78  virtual const char *giveInputRecordName() const { return _IFT_HydratingHeMoMaterial_Name; }
79  virtual const char *giveClassName() const { return "HydratingHeMoMaterial"; }
80 
82 
83  // post-processing
84  virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep);
85 
86 protected:
87  virtual MaterialStatus *CreateStatus(GaussPoint *gp) const;
88 };
89 } // end namespace oofem
90 #endif // hydratinghemomat_h
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
virtual const char * giveInputRecordName() const
Class and object Domain.
Definition: domain.h:115
virtual int hasInternalSource()
Returns nonzero if receiver generates internal source of state variable(s), zero otherwise.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
Definition: datastream.h:54
virtual double giveCharacteristicValue(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
Computes the characteristic value of receiver in given integration point, respecting its history...
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
Definition: valuemodetype.h:78
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in Reduced form.
MatResponseMode
Describes the character of characteristic material matrix.
MixtureType
Definition: hydram.h:150
virtual void updateInternalState(const FloatArray &state, GaussPoint *gp, TimeStep *tStep)
Calls hydrationModel->updateInternalState, if the material is already cast.
#define _IFT_HydratingHeMoMaterial_Name
virtual void computeInternalSourceVector(FloatArray &val, GaussPoint *gp, TimeStep *tStep, ValueModeType mode)
Computes the internal source vector of receiver.
HydratingHeMoMaterial(int n, Domain *d)
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
Heat and moisture transport material with hydration.
double n
Constant-exponent (obtained from experiments) [Pedersen, 1990].
Definition: hemotkmat.h:75
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
Class representing the general Input Record.
Definition: inputrecord.h:101
This class implements a coupled heat and mass transfer material model.
Definition: hemotkmat.h:66
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
Definition: contextmode.h:43
virtual contextIOResultType restoreIPContext(DataStream &stream, ContextMode mode, GaussPoint *gp)
Reads integration point state to output stream.
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual contextIOResultType saveIPContext(DataStream &stream, ContextMode mode, GaussPoint *gp)
Stores integration point state to output stream.
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80
void setMixture(MixtureType mix)
virtual const char * giveClassName() const

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