OOFEM 3.0
Loading...
Searching...
No Matches
intmatphasefield.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 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 intmatphasefield
36#define intmatphasefield
37
40
42
43#define _IFT_IntMatPhaseField_Name "intmatphf"
44#define _IFT_IntMatPhaseField_kn "k"
45#define _IFT_IntMatPhaseField_gc "gc"
47
48namespace oofem {
49
55{
56public:
58
60 double tempDamage = 0.;
61 double tempDrivingEnergy = 0.;
62 double drivingEnergy = 0.;
63
64 double giveDamage() const override { return tempDamage; }
65
66 double giveTempDrivingEnergy() const { return tempDrivingEnergy; }
67 double giveDrivingEnergy() const { return drivingEnergy; }
68 void letTempDrivingEnergyBe(double val) { this->tempDrivingEnergy = val; }
69
70 const char *giveClassName() const override { return "IntMatPhaseFieldStatus"; }
71
72 void initTempStatus() override;
73 void updateYourself(TimeStep *tStep) override;
74};
75
76
78{
79protected:
80 double k = 0.;
81 double Gc = 0.;
82
83public:
84 IntMatPhaseField(int n, Domain * d);
85
86 bool hasMaterialModeCapability(MaterialMode mode) const override;
87 const char *giveClassName() const override { return "IntMatPhaseField"; }
88 const char *giveInputRecordName() const override { return _IFT_IntMatPhaseField_Name; }
89
90 FloatArrayF<3> giveEngTraction_3d(const FloatArrayF<3> &jump, double damage, GaussPoint *gp, TimeStep *tStep) const override;
91 FloatMatrixF<3,3> give3dStiffnessMatrix_Eng(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override;
92 void giveTangents(FloatMatrix &jj, FloatMatrix &jd, FloatMatrix &dj, FloatMatrix &dd, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override;
93
94 void initializeFrom(InputRecord &ir) override;
95 void giveInputRecord(DynamicInputRecord &input) override;
96
97 MaterialStatus *CreateStatus(GaussPoint *gp) const override { return new IntMatPhaseFieldStatus(gp); };
98
99 bool hasAnalyticalTangentStiffness() const override { return true; };
100
101 double giveDrivingForce(GaussPoint *gp) const override;
102 double giveDrivingForcePrime(GaussPoint *gp) const override;
103 //double compute_fPrime(const double d);
104 double compute_g(double d) const;
105 double compute_gPrime(double d) const;
106 double compute_gBis(double d) const;
107};
108
109} /* namespace oofem */
110#endif
const char * giveClassName() const override
void updateYourself(TimeStep *tStep) override
void letTempDrivingEnergyBe(double val)
double tempDamage
damage variable
double giveDamage() const override
bool hasAnalyticalTangentStiffness() const override
void giveTangents(FloatMatrix &jj, FloatMatrix &jd, FloatMatrix &dj, FloatMatrix &dd, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override
void giveInputRecord(DynamicInputRecord &input) override
double compute_gBis(double d) const
double compute_g(double d) const
const char * giveInputRecordName() const override
IntMatPhaseField(int n, Domain *d)
FloatArrayF< 3 > giveEngTraction_3d(const FloatArrayF< 3 > &jump, double damage, GaussPoint *gp, TimeStep *tStep) const override
bool hasMaterialModeCapability(MaterialMode mode) const override
FloatMatrixF< 3, 3 > give3dStiffnessMatrix_Eng(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override
double giveDrivingForce(GaussPoint *gp) const override
const char * giveClassName() const override
double compute_gPrime(double d) const
void initializeFrom(InputRecord &ir) override
double giveDrivingForcePrime(GaussPoint *gp) const override
MaterialStatus * CreateStatus(GaussPoint *gp) const override
StructuralInterfaceMaterialPhF(int n, Domain *d)
StructuralInterfaceMaterialStatus(GaussPoint *g)
Constructor. Creates new StructuralInterfaceMaterialStatus with number n, belonging to domain d and I...
#define _IFT_IntMatPhaseField_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