OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
simplevitrificationmaterial.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 simplevitrificationmaterial_h
36 #define simplevitrificationmaterial_h
37 
38 #include "../sm/Materials/structuralmaterial.h"
39 #include "../sm/Materials/structuralms.h"
40 #include "floatarray.h"
41 
43 
44 #define _IFT_SimpleVitrificationMaterial_Name "simplevitrificationmaterial"
45 #define _IFT_SimpleVitrificationMaterial_vitrificationTime "vitrificationtime"
46 #define _IFT_SimpleVitrificationMaterial_E "e"
47 #define _IFT_SimpleVitrificationMaterial_nu "nu"
48 #define _IFT_SimpleVitrificationMaterial_G "g"
49 #define _IFT_SimpleVitrificationMaterial_alpha "alpha"
50 #define _IFT_SimpleVitrificationMaterial_E_r "e_r"
51 #define _IFT_SimpleVitrificationMaterial_nu_r "nu_r"
52 #define _IFT_SimpleVitrificationMaterial_G_r "g_r"
53 #define _IFT_SimpleVitrificationMaterial_alpha_r "alpha_r"
54 
55 
56 namespace oofem {
65 {
66 private:
68  double vitrTime;
73 
74 public:
79 
81  virtual void giveInputRecord(DynamicInputRecord &input);
82  virtual int checkConsistency();
83 
84  virtual void give3dMaterialStiffnessMatrix(FloatMatrix &answer,
85  MatResponseMode mode, GaussPoint *gp, TimeStep *tStep);
86 
87  virtual void giveRealStressVector_3d(FloatArray &answer, GaussPoint *gp,
88  const FloatArray &reducedStrain, TimeStep *tStep);
89 
90  virtual void giveThermalDilatationVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep);
91 
92  virtual MaterialStatus *CreateStatus(GaussPoint *gp) const;
93 
94  virtual int hasNonLinearBehaviour() { return true; }
95  virtual const char *giveClassName() const { return "SimpleVitrificationMaterial"; }
96  virtual const char *giveInputRecordName() const { return _IFT_SimpleVitrificationMaterial_Name; }
97 };
98 } // end namespace oofem
99 #endif // simplevitrificationmaterial_h
Class and object Domain.
Definition: domain.h:115
virtual void giveThermalDilatationVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
Returns a vector of coefficients of thermal dilatation in direction of each material principal (local...
virtual int checkConsistency()
Allows programmer to test some internal data, before computation begins.
SimpleVitrificationMaterial(int n, Domain *d)
Constructor.
virtual void give3dMaterialStiffnessMatrix(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
Computes full 3d material stiffness matrix at given integration point, time, respecting load history ...
virtual void giveRealStressVector_3d(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrain, TimeStep *tStep)
Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress.
MatResponseMode
Describes the character of characteristic material matrix.
virtual const char * giveInputRecordName() const
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
virtual int hasNonLinearBehaviour()
Returns nonzero if receiver is non linear.
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
double vitrTime
Vitrification time (when equal or larger than this time the material changes response).
FloatArray E_r
Material parameters for the rubbery part of the model (before vitrification).
#define _IFT_SimpleVitrificationMaterial_Name
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual const char * giveClassName() const
Abstract base class representing a material status information.
Definition: matstatus.h:84
Class representing vector of real numbers.
Definition: floatarray.h:82
Model describing the vitrification process of a glass like material.
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
Class representing the general Input Record.
Definition: inputrecord.h:101
FloatArray E
Material parameters for the glassy part of the model (after vitrification).
Class representing the a dynamic Input Record.
Abstract base class for all "structural" constitutive models.
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

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:31 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011