OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
frcfcm.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 frcfcm_h
36 #define frcfcm_h
37 
38 
39 #include "concretefcm.h"
40 
42 
43 #define _IFT_FRCFCM_Name "frcfcm"
44 #define _IFT_FRCFCM_Vf "vf"
45 #define _IFT_FRCFCM_Lf "lf"
46 #define _IFT_FRCFCM_Df "df"
47 #define _IFT_FRCFCM_Ef "ef"
48 #define _IFT_FRCFCM_nuf "nuf"
49 #define _IFT_FRCFCM_Gfib "gfib"
50 #define _IFT_FRCFCM_kfib "kfib"
51 #define _IFT_FRCFCM_tau_0 "tau_0"
52 #define _IFT_FRCFCM_b0 "b0"
53 #define _IFT_FRCFCM_b1 "b1"
54 #define _IFT_FRCFCM_b2 "b2"
55 #define _IFT_FRCFCM_b3 "b3"
56 #define _IFT_FRCFCM_f "f"
57 #define _IFT_FRCFCM_M "m"
58 #define _IFT_FRCFCM_orientationVector "fibreorientationvector"
59 #define _IFT_FRCFCM_fssType "fsstype"
60 #define _IFT_FRCFCM_fDamType "fdamtype"
61 #define _IFT_FRCFCM_fiberType "fibertype"
62 #define _IFT_FRCFCM_gammaCrack "gammacrack"
63 #define _IFT_FRCFCM_computeCrackSpacing "computecrackspacing"
64 #define _IFT_FRCFCM_fibreActivationOpening "fibreactivationopening"
65 #define _IFT_FRCFCM_dw0 "dw0"
66 #define _IFT_FRCFCM_dw1 "dw1"
67 
69 
70 namespace oofem {
75 {
76 protected:
78  double damage;
80  double tempDamage;
81 
82 public:
83  FRCFCMStatus(int n, Domain *d, GaussPoint *g);
84  virtual ~FRCFCMStatus();
85 
87  double giveDamage() { return damage; }
89  double giveTempDamage() { return tempDamage; }
91  void setTempDamage(double newDamage) { tempDamage = newDamage; }
93  virtual void printOutputAt(FILE *file, TimeStep *tStep);
94 
95  // definition
96  virtual const char *giveClassName() const { return "FRCFCMStatus"; }
97 
98  virtual void initTempStatus();
99  virtual void updateYourself(TimeStep *tStep);
100 
101  // saves current context(state) into stream
102  virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj = NULL);
103  virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj = NULL);
104 };
105 
106 
113 class FRCFCM : public ConcreteFCM
114 {
115 public:
116  FRCFCM(int n, Domain *d);
117  virtual ~FRCFCM() {}
118 
119  // identification and auxiliary functions
121 
122  virtual MaterialStatus *CreateStatus(GaussPoint *gp) const { return new FRCFCMStatus(1, domain, gp); }
123 
124  virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep);
125 
126 protected:
127 
129  double tau_0;
130 
132  double b0;
134  double b1, b2, b3;
135 
137  double f;
138 
140  double g;
141 
143  double Vf;
144 
146  double Lf;
147 
149  double Df;
150 
152  double Ef;
153 
155  double Gfib;
156 
158  double kfib;
159 
161  double w_star;
162 
164  double eta;
165 
168 
171 
178  int M;
179 
182 
185 
192  double dw0, dw1;
193  bool smoothen;
194 
199  enum FiberShearStrengthType { FSS_NONE, FSS_Sajdlova, FSS_Kabele, FSS_Havlasek, FSS_Unknown };
201 
203  enum FiberDamageType { FDAM_NONE, FDAM_GammaCrackLin, FDAM_GammaCrackExp, FDAM_Unknown };
205 
212  enum FiberType { FT_CAF, FT_SAF, FT_SRF, FT_Unknown };
214 
216  virtual double giveCrackingModulus(MatResponseMode rMode, GaussPoint *gp, int i);
218  virtual double computeFiberBond(double w);
220  virtual double giveNormalCrackingStress(GaussPoint *gp, double eps_cr, int i);
222  virtual double computeStressInFibersInCracked(GaussPoint *gp, double eps_cr, int i);
224  virtual double computeEffectiveShearModulus(GaussPoint *gp, int i);
226  virtual double computeD2ModulusForCrack(GaussPoint *gp, int icrack);
228  virtual double estimateD2ModulusForCrack(GaussPoint *gp, int icrack);
230  virtual double maxShearStress(GaussPoint *gp, int i);
232  virtual double computeTempDamage(GaussPoint *gp);
234  virtual double computeCrackSpacing(void);
236  virtual double computeCrackFibreAngle(GaussPoint *gp, int i);
238  virtual void checkSnapBack(GaussPoint *gp, int crack) { return; }
240  virtual bool isStrengthExceeded(const FloatMatrix &base, GaussPoint *gp, TimeStep *tStep, int iCrack, double trialStress);
242  virtual double computeShearStiffnessRedistributionFactor(GaussPoint *gp, int ithCrackPlane, int jthCrackDirection);
244  virtual double computeOverallElasticStiffness(void);
246  virtual double computeOverallElasticShearModulus(void) { return this->computeOverallElasticStiffness() / ( 2. * ( 1. + this->giveLinearElasticMaterial()->givePoissonsRatio() ) ); }
247 };
248 } // end namespace oofem
249 #endif // frcfcm_h
double Df
fiber diameter
Definition: frcfcm.h:149
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
virtual const char * giveClassName() const
Definition: frcfcm.h:96
GaussPoint * gp
Associated integration point.
Class and object Domain.
Definition: domain.h:115
double gammaCrackFail
shear strain at full fibers rupture
Definition: frcfcm.h:167
double minDamageOpening
minimum opening at which damage can start
Definition: frcfcm.h:170
Domain * domain
Link to domain object, useful for communicating with other FEM components.
Definition: femcmpnn.h:82
double kfib
fiber cross-sectional shear factor
Definition: frcfcm.h:158
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
Definition: datastream.h:54
FRCFCMStatus(int n, Domain *d, GaussPoint *g)
Definition: frcfcm.C:1098
This class manages the status of ConcreteFCM.
Definition: concretefcm.h:68
void setTempDamage(double newDamage)
Sets the temp damage level to given value.
Definition: frcfcm.h:91
double f
snubbing factor "f"
Definition: frcfcm.h:137
FiberShearStrengthType fiberShearStrengthType
Definition: frcfcm.h:200
virtual void initTempStatus()
initializes temporary status
Definition: frcfcm.C:1128
MatResponseMode
Describes the character of characteristic material matrix.
double fibreActivationOpening
crack opening at which the crossing fibers begin to be activated
Definition: frcfcm.h:184
FiberDamageType fiberDamageType
Definition: frcfcm.h:204
int M
Exponent in the unloading-reloading constitutive law.
Definition: frcfcm.h:178
FiberShearStrengthType
Type strength of the shear bond.
Definition: frcfcm.h:199
double g
auxiliary parameter computed from snubbing factor "f"
Definition: frcfcm.h:140
double b0
micromechanical parameter for fiber shear according to Sajdlova
Definition: frcfcm.h:132
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
saves current context(state) into stream
Definition: frcfcm.C:1156
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: matstatus.h:140
double w_star
transitional opening
Definition: frcfcm.h:161
This class implements a ConcreteFCM material in a finite element problem.
Definition: concretefcm.h:98
bool smoothen
Definition: frcfcm.h:193
double dw1
Definition: frcfcm.h:192
FiberType
Type fo fibers in the composite.
Definition: frcfcm.h:212
This class implements a FRCFCM material (Fiber Reinforced Concrete base on Fixed Crack Model) in a fi...
Definition: frcfcm.h:113
double b3
Definition: frcfcm.h:134
FiberDamageType
Type of fibre damage which is triggered by crack shearing strain = w / u.
Definition: frcfcm.h:203
double eta
aux. factor
Definition: frcfcm.h:164
double giveDamage()
Returns the last equilibrated damage level.
Definition: frcfcm.h:87
virtual void checkSnapBack(GaussPoint *gp, int crack)
overrides real checking from concretefcm.C, here we assume that the fibers provide sufficient strengt...
Definition: frcfcm.h:238
FiberType fiberType
Definition: frcfcm.h:213
virtual void updateYourself(TimeStep *tStep)
replaces equilibrated values with temporary values
Definition: frcfcm.C:1141
double giveTempDamage()
Returns the temporary damage level.
Definition: frcfcm.h:89
double tempDamage
Non-equilibrated damage level of material.
Definition: frcfcm.h:80
FloatArray orientationVector
orientation of fibres
Definition: frcfcm.h:181
double Ef
fiber Young's modulus
Definition: frcfcm.h:152
double tau_0
fiber shear strength at zero slip
Definition: frcfcm.h:129
Abstract base class representing a material status information.
Definition: matstatus.h:84
Class representing vector of real numbers.
Definition: floatarray.h:82
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
restores context(state) from stream
Definition: frcfcm.C:1177
Implementation of matrix containing floating point numbers.
Definition: floatmatrix.h:94
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
Definition: frcfcm.h:122
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
virtual ~FRCFCMStatus()
Definition: frcfcm.C:1105
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Writes information into the output file.
Definition: frcfcm.C:1111
Class representing the general Input Record.
Definition: inputrecord.h:101
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
Definition: contextmode.h:43
double Gfib
fiber shear modulus
Definition: frcfcm.h:155
This class manages the status of FRCFCM.
Definition: frcfcm.h:74
the oofem namespace is to define a context or scope in which all oofem names are defined.
double Lf
fiber length
Definition: frcfcm.h:146
Class representing integration point in finite element program.
Definition: gausspoint.h:93
virtual double computeOverallElasticShearModulus(void)
from the Poisson's ratio of matrix and the overall stiffness estimates G
Definition: frcfcm.h:246
Class representing solution step.
Definition: timestep.h:80
double Vf
volume fraction of fibers
Definition: frcfcm.h:143
virtual ~FRCFCM()
Definition: frcfcm.h:117
double damage
Damage level of material.
Definition: frcfcm.h:78

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