OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
kelvinChSolM.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 kelvinchsol_h
36 #define kelvinchsol_h
37 
38 #include "rheoChM.h"
39 
40 namespace oofem {
46 {
47 public:
48  KelvinChainSolidMaterialStatus(int n, Domain * d, GaussPoint * g, int nunits);
50  virtual void printOutputAt(FILE *file, TimeStep *tStep);
51 
52  virtual void initTempStatus();
53  virtual void updateYourself(TimeStep *tStep);
54 
55  virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj = NULL);
56  virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj = NULL);
57 
58  // definition
59  virtual const char *giveClassName() const { return "KelvinChainSolidMaterialStatus"; }
60 };
61 
62 
68 {
69 public:
70  KelvinChainSolidMaterial(int n, Domain * d);
72 
73  virtual void giveRealStressVector(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrain, TimeStep *tStep);
74  void computeHiddenVars(GaussPoint *gp, TimeStep *tStep);
75 
76  // identification and auxiliary functions
77  virtual int hasNonLinearBehaviour() { return 0; }
78  virtual const char *giveClassName() const { return "KelvinChainSolidMaterial"; }
80 
81  virtual void giveShrinkageStrainVector(FloatArray &answer,
82  GaussPoint *gp,
83  TimeStep *tStep,
84  ValueModeType mode)
85  { answer.clear(); }
86 
87  virtual void giveEigenStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep, ValueModeType mode);
88 
89  virtual MaterialStatus *CreateStatus(GaussPoint *gp) const;
90 
92  virtual double computeCreepFunction(double ofAge, double tPrime, GaussPoint *gp, TimeStep *tStep);
93 
94 protected:
95  virtual int hasIncrementalShrinkageFormulation() { return 0; }
96 
97  virtual double giveEModulus(GaussPoint *gp, TimeStep *tStep);
98 
100  virtual double computeSolidifiedVolume(GaussPoint *gp, TimeStep *tStep) = 0;
101 
103  virtual double computeBetaMu(GaussPoint *gp, TimeStep *tStep, int Mu);
104  virtual double computeLambdaMu(GaussPoint *gp, TimeStep *tStep, int Mu);
105 
106 };
107 } // end namespace oofem
108 #endif // kelvinchsol_h
This class implements a solidifying Kelvin chain model describing a viscoelastic material.
Definition: kelvinChSolM.h:67
GaussPoint * gp
Associated integration point.
Class and object Domain.
Definition: domain.h:115
virtual const char * giveClassName() const
Definition: kelvinChSolM.h:78
virtual void initTempStatus()
Initializes the temporary internal variables, describing the current state according to previously re...
Definition: kelvinChSolM.C:288
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
void clear()
Clears receiver (zero size).
Definition: floatarray.h:206
This class implements associated Material Status to RheoChainMaterial.
Definition: rheoChM.h:71
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Print receiver's output to given stream.
Definition: kelvinChSolM.C:275
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Restores the receiver state previously written in stream.
Definition: kelvinChSolM.C:307
This class implements a rheologic chain model describing a viscoelastic material. ...
Definition: rheoChM.h:130
virtual int hasIncrementalShrinkageFormulation()
If only incremental shrinkage strain formulation is provided, then total shrinkage strain must be tra...
Definition: kelvinChSolM.h:95
virtual int hasNonLinearBehaviour()
Returns nonzero if receiver is non linear.
Definition: kelvinChSolM.h:77
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: matstatus.h:140
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Stores receiver state to output stream.
Definition: kelvinChSolM.C:294
KelvinChainSolidMaterialStatus(int n, Domain *d, GaussPoint *g, int nunits)
Definition: kelvinChSolM.C:270
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
Class representing the general Input Record.
Definition: inputrecord.h:101
virtual void giveShrinkageStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep, ValueModeType mode)
Computes, for the given integration point, the strain vector induced by stress-independent shrinkage...
Definition: kelvinChSolM.h:81
This class implements associated Material Status to KelvinChainSolidMaterial, which corresponds to a ...
Definition: kelvinChSolM.h:45
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
Definition: contextmode.h:43
virtual const char * giveClassName() const
Definition: kelvinChSolM.h:59
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual void updateYourself(TimeStep *tStep)
Update equilibrium history variables according to temp-variables.
Definition: kelvinChSolM.C:282
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:29 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011