OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
intmatbilinczelastic.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 IntMatBilinearCZElastic_h
36 #define IntMatBilinearCZElastic_h
37 
40 
42 
43 #define _IFT_IntMatBilinearCZElastic_Name "intmatbilinearczelastic"
44 #define _IFT_IntMatBilinearCZElastic_kn "kn"
45 #define _IFT_IntMatBilinearCZElastic_ks "ks"
46 #define _IFT_IntMatBilinearCZElastic_knc "knc"
47 #define _IFT_IntMatBilinearCZElastic_g1c "g1c"
48 #define _IFT_IntMatBilinearCZElastic_sigfn "sigfn"
49 #define _IFT_IntMatBilinearCZElastic_sigfs "sigfs"
50 
51 
52 namespace oofem {
57 {
58 protected:
59 
60 public:
65 
66  double giveDamage() { return 0.0; } // no damage in this model
67  virtual void printOutputAt(FILE *file, TimeStep *tStep);
68 
69  // definition
70  virtual const char *giveClassName() const { return "IntMatBilinearCZElasticStatus"; }
71 
72  virtual void initTempStatus();
73  virtual void updateYourself(TimeStep *tStep);
74 
75  //virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj = NULL);
76  //virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj = NULL);
77 };
78 
79 
93 {
94 protected:
96  double kn0;
97  double ks0;
98  double knc; // stiffness in compression
99  double GIc;
100  double sigfn;
101  double sigfs;
102 
103  double gn0; // normal jump at damage initiation
104  double gs0; // shear jump at damage initiations
105  double gnmax; // max normal jump
106 
107  double kn1; // slope during softening part
108 
109  virtual int checkConsistency();
110  void give3dInterfaceMaterialStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode,
111  GaussPoint *gp, TimeStep *tStep);
112 public:
114  IntMatBilinearCZElastic(int n, Domain * d);
116  virtual ~IntMatBilinearCZElastic();
117 
118  virtual int hasNonLinearBehaviour() { return 1; }
119 
120  virtual const char *giveClassName() const { return "IntMatBilinearCZElastic"; }
121  virtual const char *giveInputRecordName() const { return _IFT_IntMatBilinearCZElastic_Name; }
122 
123  virtual void giveFirstPKTraction_3d(FloatArray &answer, GaussPoint *gp, const FloatArray &jumpVector,
124  const FloatMatrix &F, TimeStep *tStep);
125 
126  virtual void give3dStiffnessMatrix_dTdj(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep);
127  virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep);
129  virtual void giveInputRecord(DynamicInputRecord &input);
130 
132  void printYourself();
133  virtual bool hasAnalyticalTangentStiffness() const { return true; }
134 };
135 } // end namespace oofem
136 #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 int hasNonLinearBehaviour()
Returns nonzero if receiver is non linear.
#define _IFT_IntMatBilinearCZElastic_Name
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
Definition: femcmpnn.C:77
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
Simple isotropic damage based model for 2d interface elements.
FloatMatrix F
Equilibrated deformation gradient in reduced form.
This class implements a structural interface material status information.
virtual const char * giveClassName() const
virtual ~IntMatBilinearCZElasticStatus()
Destructor.
virtual bool hasAnalyticalTangentStiffness() const
Tells if the model has implemented analytical tangent stiffness.
Abstract base class representing a material status information.
Definition: matstatus.h:84
Class representing vector of real numbers.
Definition: floatarray.h:82
Implementation of matrix containing floating point numbers.
Definition: floatmatrix.h:94
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Print receiver's output to given stream.
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
Class representing the general Input Record.
Definition: inputrecord.h:101
StructuralInterfaceMaterialStatus(int n, Domain *d, GaussPoint *g)
Constructor. Creates new StructuralInterfaceMaterialStatus with number n, belonging to domain d and I...
double kn0
Material parameters.
virtual void updateYourself(TimeStep *tStep)
Update equilibrium history variables according to temp-variables.
Class representing the a dynamic Input Record.
virtual void initTempStatus()
Initializes the temporary internal variables, describing the current state according to previously re...
IntMatBilinearCZElasticStatus(int n, Domain *d, GaussPoint *g)
Constructor.
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.
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80
virtual const char * giveClassName() const
virtual const char * giveInputRecordName() const
This class implements associated Material Status for ...

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