OOFEM 3.0
Loading...
Searching...
No Matches
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 - 2025 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"
47
48namespace oofem {
49class Domain;
50
57{
58protected:
61 //double E = 0., nu = 0.; // isotropic material constants
62 double k = 0.;
63
64public:
65 J2plasticMaterial(int n, Domain * d);
66
67 void initializeFrom(InputRecord &ir) override;
68 void giveInputRecord(DynamicInputRecord &input) override;
69 const char *giveInputRecordName() const override { return _IFT_J2plasticMaterial_Name; }
70 const char *giveClassName() const override { return "J2plasticMaterial"; }
71
72 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override;
73
74protected:
75
76 //
77 // yield(YC-like functions) and loading(LC-like functions) criteria specific section
78 //
79
81 FloatArray *strainSpaceHardeningVariables) const override;
82 double computeYieldValueAt(GaussPoint *gp, FloatArray *stressVector,
83 FloatArray *stressSpaceHardeningVars) const override;
85 FloatArray *strainSpaceHardeningVariables,
86 TimeStep *tStep) const override;
88 FloatArray *stressSpaceHardeningVars) const override;
90 FloatArray *stressVector,
91 FloatArray *stressSpaceHardeningVars) const override;
92 int hasHardening() const override;
94 const FloatArray &stressVector,
95 const FloatArray &stressSpaceHardeningVars) const override;
97 const FloatArray &strainIncrement, TimeStep *tStep) const override;
98 void compute3dElasticModuli(FloatMatrix &answer, GaussPoint *gp, TimeStep *tStep) const override;
99
100 // auxiliary function
101 double computeJ2InvariantAt(FloatArray *answer) const;
102 int giveSizeOfFullHardeningVarsVector() const override;
103 int giveSizeOfReducedHardeningVarsVector(GaussPoint *gp) const override;
104 double giveIsotropicHardeningVar(FloatArray *stressSpaceHardeningVars) const;
105 void giveStressBackVector(FloatArray &answer, const FloatArray &stressSpaceHardeningVars) const;
106};
107} // end namespace oofem
108#endif // j2plasticmaterial_h
const char * giveInputRecordName() const override
double computeYieldValueAt(GaussPoint *gp, FloatArray *stressVector, FloatArray *stressSpaceHardeningVars) const override
const char * giveClassName() const override
FloatArray * ComputeStressSpaceHardeningVars(GaussPoint *gp, FloatArray *strainSpaceHardeningVariables) const override
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
void computeHardeningReducedModuli(FloatMatrix &answer, GaussPoint *gp, FloatArray *strainSpaceHardeningVariables, TimeStep *tStep) const override
void initializeFrom(InputRecord &ir) override
void computeReducedGradientMatrix(FloatMatrix &answer, GaussPoint *gp, const FloatArray &stressVector, const FloatArray &stressSpaceHardeningVars) const override
void computeTrialStressIncrement(FloatArray &answer, GaussPoint *gp, const FloatArray &strainIncrement, TimeStep *tStep) const override
int hasHardening() const override
int giveSizeOfReducedHardeningVarsVector(GaussPoint *gp) const override
double computeJ2InvariantAt(FloatArray *answer) const
void compute3dElasticModuli(FloatMatrix &answer, GaussPoint *gp, TimeStep *tStep) const override
void giveStressBackVector(FloatArray &answer, const FloatArray &stressSpaceHardeningVars) const
int giveSizeOfFullHardeningVarsVector() const override
FloatArray * ComputeStressGradient(GaussPoint *gp, FloatArray *stressVector, FloatArray *stressSpaceHardeningVars) const override
FloatArray * ComputeStressSpaceHardeningVarsReducedGradient(GaussPoint *gp, FloatArray *stressVector, FloatArray *stressSpaceHardeningVars) const override
J2plasticMaterial(int n, Domain *d)
void giveInputRecord(DynamicInputRecord &input) override
double giveIsotropicHardeningVar(FloatArray *stressSpaceHardeningVars) const
PlasticMaterial(int n, Domain *d)
#define _IFT_J2plasticMaterial_Name

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011