OOFEM 3.0
Loading...
Searching...
No Matches
isoasymm1d.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 isoasymm1d_h
36#define isoasymm1d_h
37
40#include "floatarray.h"
41#include "floatmatrix.h"
42#include "floatmatrixf.h"
43#include "floatarrayf.h"
44
45
47
48#define _IFT_IsotropicAsymmetric1DMaterial_Name "isoasymm1d"
49#define _IFT_IsotropicAsymmetric1DMaterial_ec "ec"
50#define _IFT_IsotropicAsymmetric1DMaterial_et "et"
51#define _IFT_IsotropicAsymmetric1DMaterial_efc "efc"
52#define _IFT_IsotropicAsymmetric1DMaterial_eft "eft"
53#define _IFT_IsotropicAsymmetric1DMaterial_talpha "talpha"
54#define _IFT_IsotropicAsymmetric1DMaterial_m "m"
55
57
58namespace oofem {
59class GaussPoint;
60
75{
76protected:
78 double Et = 0;
80 double Ec = 0;
81 // failure strain in compression
82 double efc = 1.0; // positive value means efc not set, no failure in compression
83 // failure strain in tension
84 double eft = -1.0; // negative values means eft not set, no failure in tension
86 double a = 0;
88 double m = 15;
89
90public:
106 IsotropicAsymmetric1DMaterial(int n, Domain *d, double Et, double Ec, double efc, double eft);
107
108 const char *giveClassName() const override { return "IsotropicAsymmetric1DMaterial"; }
109 const char *giveInputRecordName() const override { return _IFT_IsotropicAsymmetric1DMaterial_Name; }
110 bool hasMaterialModeCapability(MaterialMode mode) const override;
111
117 void initializeFrom(InputRecord &ir) override;
118 void giveInputRecord(DynamicInputRecord &input) override;
119
120 void saveContext(DataStream &stream, ContextMode mode) override;
121 void restoreContext(DataStream &stream, ContextMode mode) override;
122
123 double give(int aProperty, GaussPoint *gp) const override;
124
126 TimeStep * tStep) const override;
127 virtual FloatArrayF< 1 >giveRealStressVector_1d(const FloatArrayF< 1 > &reducedE, GaussPoint *gp, TimeStep *tStep) const override;
128 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override { return std::make_unique<StructuralMaterialStatus>(gp); }
129
130};
131} // end namespace oofem
132#endif // isoasymm1d_h
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
Definition isoasymm1d.h:128
const char * giveClassName() const override
Definition isoasymm1d.h:108
IsotropicAsymmetric1DMaterial(int n, Domain *d)
Definition isoasymm1d.C:46
bool hasMaterialModeCapability(MaterialMode mode) const override
Definition isoasymm1d.C:157
double m
Regularization parameter.
Definition isoasymm1d.h:88
void saveContext(DataStream &stream, ContextMode mode) override
Definition isoasymm1d.C:93
void initializeFrom(InputRecord &ir) override
Definition isoasymm1d.C:64
double Et
Young's modulus in tension.
Definition isoasymm1d.h:78
double give(int aProperty, GaussPoint *gp) const override
Definition isoasymm1d.C:150
void giveInputRecord(DynamicInputRecord &input) override
Definition isoasymm1d.C:79
virtual FloatArrayF< 1 > giveRealStressVector_1d(const FloatArrayF< 1 > &reducedE, GaussPoint *gp, TimeStep *tStep) const override
Default implementation relies on giveRealStressVector_StressControl.
Definition isoasymm1d.C:188
FloatMatrixF< 1, 1 > give1dStressStiffMtrx(MatResponseMode, GaussPoint *gp, TimeStep *tStep) const override
Definition isoasymm1d.C:167
const char * giveInputRecordName() const override
Definition isoasymm1d.h:109
double Ec
Young's modulus in compression.
Definition isoasymm1d.h:80
void restoreContext(DataStream &stream, ContextMode mode) override
Definition isoasymm1d.C:120
StructuralMaterial(int n, Domain *d)
#define _IFT_IsotropicAsymmetric1DMaterial_Name
Definition isoasymm1d.h:48
long ContextMode
Definition contextmode.h:43

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