OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
expczmaterial.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 program is free software; you can redistribute it and/or modify
21  * it under the terms of the GNU General Public License as published by
22  * the Free Software Foundation; either version 2 of the License, or
23  * (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
28  * GNU General Public License for more details.
29  *
30  * You should have received a copy of the GNU General Public License
31  * along with this program; if not, write to the Free Software
32  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
33  */
34 
35 #ifndef expczmaterial_h
36 #define expczmaterial_h
37 
40 
42 
43 #define _IFT_ExpCZMaterial_kn "kn"
44 #define _IFT_ExpCZMaterial_ks "ks"
45 #define _IFT_ExpCZMaterial_knc "knc"
46 #define _IFT_ExpCZMaterial_g1c "g1c"
47 #define _IFT_ExpCZMaterial_sigfn "sigfn"
48 #define _IFT_ExpCZMaterial_sigfs "sigfs"
49 
50 
51 namespace oofem {
52 
57 {
58 protected:
59 
60 public:
62  ExpCZMaterialStatus(int n, Domain * d, GaussPoint * g);
64  virtual ~ExpCZMaterialStatus();
65 
66  virtual void printOutputAt(FILE *file, TimeStep *tStep);
67 
68  // definition
69  virtual const char *giveClassName() const { return "ExpCZMaterialStatus"; }
70 
71  virtual void initTempStatus();
72  virtual void updateYourself(TimeStep *tStep);
73 
74  //virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj = NULL);
75  //virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj = NULL);
76 };
77 
78 
92 {
93 protected:
95  double kn0;
96  double ks0;
97  double GIc;
98  double GIIc;
99  double sigfn;
100  double sigfs;
101 
103  double gn0;
105  double gs0;
106  double q;
107  double r;
108 
109 public:
111  ExpCZMaterial(int n, Domain * d);
113  virtual ~ExpCZMaterial();
114 
115  virtual int hasNonLinearBehaviour() { return 1; }
116  virtual int checkConsistency();
117 
118  virtual const char *giveClassName() const { return "ExpCZMaterial"; }
119 
120  virtual void giveEngTraction_3d(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep);
121  virtual void give3dStiffnessMatrix_Eng(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep);
122 
123  virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep);
124  virtual int giveIntVarCompFullIndx(IntArray &answer, InternalStateType type, MaterialMode mmode);
125  virtual int giveIPValueSize(InternalStateType type, GaussPoint *gp);
126 
128 
129  virtual MaterialStatus *CreateStatus(GaussPoint *gp) const { return new ExpCZMaterialStatus(1, domain, gp); }
130  virtual void printYourself();
131 };
132 } // end namespace oofem
133 #endif // isointerfacedamage01_h
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
GaussPoint * gp
Associated integration point.
Class and object Domain.
Definition: domain.h:115
Domain * domain
Link to domain object, useful for communicating with other FEM components.
Definition: femcmpnn.h:82
virtual const char * giveClassName() const
Definition: expczmaterial.h:69
double gs0
shear jump at damage initiations
This class implements associated status to ExpCZMaterial.
Definition: expczmaterial.h:56
virtual void initTempStatus()
Initializes the temporary internal variables, describing the current state according to previously re...
MaterialMode
Type representing material mode of integration point.
Definition: materialmode.h:89
Class implementing an array of integers.
Definition: intarray.h:61
MatResponseMode
Describes the character of characteristic material matrix.
virtual void printYourself()
Prints receiver state on stdout. Useful for debugging.
Definition: femcmpnn.h:173
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: matstatus.h:140
virtual int checkConsistency()
Allows programmer to test some internal data, before computation begins.
Definition: femcmpnn.C:94
virtual int hasNonLinearBehaviour()
Returns nonzero if receiver is non linear.
This class implements a structural interface material status information.
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Print receiver's output to given stream.
FloatArray jump
Equilibrated jump (discontinuity)
double kn0
Material parameters.
Definition: expczmaterial.h:95
Abstract base class representing a material status information.
Definition: matstatus.h:84
ExpCZMaterialStatus(int n, Domain *d, GaussPoint *g)
Constructor.
Class representing vector of real numbers.
Definition: floatarray.h:82
virtual ~ExpCZMaterialStatus()
Destructor.
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
double gn0
normal jump at damage initiation
virtual void updateYourself(TimeStep *tStep)
Update equilibrium history variables according to temp-variables.
Class representing the general Input Record.
Definition: inputrecord.h:101
Abstract base class for all "structural" interface models.
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual const char * giveClassName() const
Simple isotropic damage based model for 2d interface elements.
Definition: expczmaterial.h:91
Class representing integration point in finite element program.
Definition: gausspoint.h:93
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
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:28 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011