OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
j2plasticmaterial.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 j2plasticmaterial_h
36 #define j2plasticmaterial_h
37 
38 #include "plasticmaterial.h"
39 
41 
42 #define _IFT_J2plasticMaterial_Name "j2mat"
43 #define _IFT_J2plasticMaterial_ry "ry"
44 #define _IFT_J2plasticMaterial_khm "khm"
45 #define _IFT_J2plasticMaterial_ihm "ihm"
46 
47 
48 namespace oofem {
49 class Domain;
50 
57 {
58 protected:
61  //double E, nu; // isotropic material constants
62  double k;
63 
64 public:
65  J2plasticMaterial(int n, Domain * d);
66  virtual ~J2plasticMaterial();
67 
69  virtual void giveInputRecord(DynamicInputRecord &input);
70  virtual const char *giveInputRecordName() const { return _IFT_J2plasticMaterial_Name; }
71  virtual const char *giveClassName() const { return "J2plasticMaterial"; }
72 
73  virtual MaterialStatus *CreateStatus(GaussPoint *gp) const;
74 
75 protected:
76 
77  //
78  // yield(YC-like functions) and loading(LC-like functions) criteria specific section
79  //
80 
82  FloatArray *strainSpaceHardeningVariables);
83  virtual double computeYieldValueAt(GaussPoint *gp, FloatArray *stressVector,
84  FloatArray *stressSpaceHardeningVars);
85  virtual void computeHardeningReducedModuli(FloatMatrix &answer, GaussPoint *gp,
86  FloatArray *strainSpaceHardeningVariables,
87  TimeStep *tStep);
88  virtual FloatArray *ComputeStressGradient(GaussPoint *gp, FloatArray *stressVector,
89  FloatArray *stressSpaceHardeningVars);
91  FloatArray *stressVector,
92  FloatArray *stressSpaceHardeningVars);
93  virtual int hasHardening();
94  virtual void computeReducedGradientMatrix(FloatMatrix &answer, GaussPoint *gp,
95  const FloatArray &stressVector,
96  const FloatArray &stressSpaceHardeningVars);
97  virtual void computeTrialStressIncrement(FloatArray &answer, GaussPoint *gp,
98  const FloatArray &strainIncrement, TimeStep *tStep);
99  virtual void compute3dElasticModuli(FloatMatrix &answer, GaussPoint *gp,
100  TimeStep *tStep);
101 
102  // auxiliary function
103  double computeJ2InvariantAt(FloatArray *answer);
106  double giveIsotropicHardeningVar(FloatArray *stressSpaceHardeningVars);
107  void giveStressBackVector(FloatArray &answer, const FloatArray &stressSpaceHardeningVars);
108 };
109 } // end namespace oofem
110 #endif // j2plasticmaterial_h
virtual void computeTrialStressIncrement(FloatArray &answer, GaussPoint *gp, const FloatArray &strainIncrement, TimeStep *tStep)
Class and object Domain.
Definition: domain.h:115
virtual void computeHardeningReducedModuli(FloatMatrix &answer, GaussPoint *gp, FloatArray *strainSpaceHardeningVariables, TimeStep *tStep)
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
virtual const char * giveInputRecordName() const
virtual FloatArray * ComputeStressGradient(GaussPoint *gp, FloatArray *stressVector, FloatArray *stressSpaceHardeningVars)
int giveSizeOfReducedHardeningVarsVector(GaussPoint *gp) const
double giveIsotropicHardeningVar(FloatArray *stressSpaceHardeningVars)
virtual FloatArray * ComputeStressSpaceHardeningVars(GaussPoint *gp, FloatArray *strainSpaceHardeningVariables)
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
This class implements a isotropic plastic linear material (J2 plasticity condition is used) in a fini...
#define _IFT_J2plasticMaterial_Name
virtual FloatArray * ComputeStressSpaceHardeningVarsReducedGradient(GaussPoint *gp, FloatArray *stressVector, FloatArray *stressSpaceHardeningVars)
Abstract base class representing a material status information.
Definition: matstatus.h:84
virtual void compute3dElasticModuli(FloatMatrix &answer, GaussPoint *gp, TimeStep *tStep)
Class representing vector of real numbers.
Definition: floatarray.h:82
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
Class representing the general Input Record.
Definition: inputrecord.h:101
Class representing the a dynamic Input Record.
virtual void computeReducedGradientMatrix(FloatMatrix &answer, GaussPoint *gp, const FloatArray &stressVector, const FloatArray &stressSpaceHardeningVars)
virtual const char * giveClassName() const
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
virtual double computeYieldValueAt(GaussPoint *gp, FloatArray *stressVector, FloatArray *stressSpaceHardeningVars)
the oofem namespace is to define a context or scope in which all oofem names are defined.
J2plasticMaterial(int n, Domain *d)
Class representing integration point in finite element program.
Definition: gausspoint.h:93
This class implements a general plastic material.
Class representing solution step.
Definition: timestep.h:80
double computeJ2InvariantAt(FloatArray *answer)
void giveStressBackVector(FloatArray &answer, const FloatArray &stressSpaceHardeningVars)

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