OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
mat_cebfip90.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 mat_cebfip90_h
36 #define mat_cebfip90_h
37 
40 
42 
43 #define _IFT_CebFipSlip90Material_Name "cebfipslip90"
44 #define _IFT_CebFipSlip90Material_tmax "tmax"
45 #define _IFT_CebFipSlip90Material_tres "tres"
46 #define _IFT_CebFipSlip90Material_s1 "s1"
47 #define _IFT_CebFipSlip90Material_s2 "s2"
48 #define _IFT_CebFipSlip90Material_s3 "s3"
49 
50 
51 namespace oofem {
52 
58 {
59 protected:
61  double kappa;
63  double tempKappa;
64 
65 public:
70 
71  virtual void printOutputAt(FILE *file, TimeStep *tStep);
72 
74  double giveKappa() { return kappa; }
76  double giveTempKappa() { return tempKappa; }
78  void setTempKappa(double newKappa) { tempKappa = newKappa; }
79 
80  // definition
81  virtual const char *giveClassName() const { return "CebFipSlip90MaterialStatus"; }
82 
83  virtual void initTempStatus();
84  virtual void updateYourself(TimeStep *tStep);
85 
86  virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj = NULL);
87  virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj = NULL);
88 };
89 
90 
98 {
99 protected:
101  double tmax;
103  double s1;
105  double s2;
107  double s3;
109  double tres;
111  double alpha;
112 
113 public:
115  CebFipSlip90Material(int n, Domain * d);
117  virtual ~CebFipSlip90Material();
118 
119  virtual int hasNonLinearBehaviour() { return 1; }
120 
121  virtual const char *giveInputRecordName() const { return _IFT_CebFipSlip90Material_Name; }
122  virtual const char *giveClassName() const { return "CebFipSlip90Material"; }
123 
124  virtual void giveEngTraction_1d(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep);
125  virtual void give1dStiffnessMatrix_Eng(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep);
126 
127  virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep);
128 
129  virtual bool hasAnalyticalTangentStiffness() const { return true; }
130 
135  double computeBondForce(double kappa);
140  double computeBondForceStiffness(double kappa);
141 
143  virtual void giveInputRecord(DynamicInputRecord &input);
144 
145  virtual MaterialStatus *CreateStatus(GaussPoint *gp) const { return new CebFipSlip90MaterialStatus(1, domain, gp); }
146 
147 };
148 } // end namespace oofem
149 #endif // mat_cebfip90_h
virtual bool hasAnalyticalTangentStiffness() const
Tells if the model has implemented analytical tangent stiffness.
Definition: mat_cebfip90.h:129
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Print receiver's output to given stream.
Definition: mat_cebfip90.C:201
GaussPoint * gp
Associated integration point.
Class and object Domain.
Definition: domain.h:115
void setTempKappa(double newKappa)
Sets the temp scalar measure of the largest strain level to given value.
Definition: mat_cebfip90.h:78
Domain * domain
Link to domain object, useful for communicating with other FEM components.
Definition: femcmpnn.h:82
double kappa
Scalar measure of the largest slip reached in material.
Definition: mat_cebfip90.h:61
virtual const char * giveClassName() const
Definition: mat_cebfip90.h:122
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
Definition: datastream.h:54
double giveTempKappa()
Returns the temp. scalar measure of the largest strain level.
Definition: mat_cebfip90.h:76
virtual void updateYourself(TimeStep *tStep)
Update equilibrium history variables according to temp-variables.
Definition: mat_cebfip90.C:220
double s3
Slip when residual force/stress activated.
Definition: mat_cebfip90.h:107
double alpha
Alpha coeff.
Definition: mat_cebfip90.h:111
#define _IFT_CebFipSlip90Material_Name
Definition: mat_cebfip90.h:43
Base class representing general isotropic damage model.
Definition: mat_cebfip90.h:97
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 contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Stores receiver state to output stream.
Definition: mat_cebfip90.C:228
virtual void initTempStatus()
Initializes the temporary internal variables, describing the current state according to previously re...
Definition: mat_cebfip90.C:212
This class implements associated Material Status to IsoInterfaceDamageMaterial.
Definition: mat_cebfip90.h:57
double giveKappa()
Returns the last equilibrated scalar measure of the largest strain level.
Definition: mat_cebfip90.h:74
double tmax
Max force (stress).
Definition: mat_cebfip90.h:101
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: matstatus.h:140
double tres
Residual force/stress.
Definition: mat_cebfip90.h:109
This class implements a structural interface material status information.
CebFipSlip90MaterialStatus(int n, Domain *d, GaussPoint *g)
Constructor.
Definition: mat_cebfip90.C:190
FloatArray jump
Equilibrated jump (discontinuity)
Abstract base class representing a material status information.
Definition: matstatus.h:84
double s1
Slip valu at begining of yield plateau.
Definition: mat_cebfip90.h:103
Class representing vector of real numbers.
Definition: floatarray.h:82
virtual const char * giveInputRecordName() const
Definition: mat_cebfip90.h:121
virtual const char * giveClassName() const
Definition: mat_cebfip90.h:81
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
virtual ~CebFipSlip90MaterialStatus()
Destructor.
Definition: mat_cebfip90.C:196
Class representing the general Input Record.
Definition: inputrecord.h:101
Class representing the a dynamic Input Record.
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
Definition: contextmode.h:43
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
Definition: mat_cebfip90.h:145
Abstract base class for all "structural" interface models.
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Restores the receiver state previously written in stream.
Definition: mat_cebfip90.C:247
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual int hasNonLinearBehaviour()
Returns nonzero if receiver is non linear.
Definition: mat_cebfip90.h:119
Class representing integration point in finite element program.
Definition: gausspoint.h:93
double s2
Slip at end of plateau.
Definition: mat_cebfip90.h:105
Class representing solution step.
Definition: timestep.h:80
double tempKappa
Non-equilibrated scalar of the largest slip displacement.
Definition: mat_cebfip90.h:63

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