OOFEM 3.0
Loading...
Searching...
No Matches
latticelinearelastic.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 latticelinearelastic_h
36#define latticelinearelastic_h
37
39#include "cltypes.h"
40#include "randommaterialext.h"
41#include "strainvector.h"
42#include "stressvector.h"
43#include "latticematstatus.h"
44
46
47#define _IFT_LatticeLinearElastic_Name "latticelinearelastic"
48#define _IFT_LatticeLinearElastic_talpha "talpha"
49#define _IFT_LatticeLinearElastic_e "e"
50#define _IFT_LatticeLinearElastic_n "n"
51#define _IFT_LatticeLinearElastic_a1 "a1"
52#define _IFT_LatticeLinearElastic_a2 "a2"
53#define _IFT_LatticeLinearElastic_localrandomtype "randomtype"
54#define _IFT_LatticeLinearElastic_cov "cov"
55#define _IFT_LatticeLinearElastic_calpha "calpha"
57
58namespace oofem {
63{
64protected:
66 double eNormalMean = 0.;
67
69 double alphaOne = 0.;
70
72 double alphaTwo = 0.;
73
76
78 double localRandomType = 0.;
79
81 double cAlpha = 0.;
82
83public:
85
86
87 LatticeLinearElastic(int n, Domain *d, double eNormalMean, double alphaOne, double alphaTwo);
88
89 const char *giveInputRecordName() const override { return _IFT_LatticeLinearElastic_Name; }
90
91 const char *giveClassName() const override { return "LatticeLinearElastic"; }
92
93 void initializeFrom(InputRecord &ir) override;
94
96
97 bool isCharacteristicMtrxSymmetric(MatResponseMode rMode) const override { return false; }
98
100
101 FloatMatrixF< 6, 6 >give3dLatticeStiffnessMatrix(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const override;
102
103 FloatMatrixF< 3, 3 >give2dLatticeStiffnessMatrix(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const override;
104
105
106 bool hasMaterialModeCapability(MaterialMode mode) const override;
107
108
110
111 virtual void giveRandomParameters(FloatArray &param);
112
113 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override;
114
115 MaterialStatus *giveStatus(GaussPoint *gp) const override;
116
117 double give(int aProperty, GaussPoint *gp) const override;
118
119protected:
120};
121} // end namespace oofem
122
123#endif
bool isCharacteristicMtrxSymmetric(MatResponseMode rMode) const override
FloatArrayF< 6 > giveThermalDilatationVector(GaussPoint *gp, TimeStep *tStep) const override
FloatMatrixF< 3, 3 > give2dLatticeStiffnessMatrix(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const override
Interface * giveInterface(InterfaceType) override
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
double alphaOne
Ratio of shear and normal modulus.
double alphaTwo
Ratio of torsion and normal modulus.
const char * giveClassName() const override
bool hasMaterialModeCapability(MaterialMode mode) const override
FloatArrayF< 6 > giveLatticeStress3d(const FloatArrayF< 6 > &strain, GaussPoint *gp, TimeStep *tStep) override
void initializeFrom(InputRecord &ir) override
double cAlpha
parameter which allows to prescribed thermal displacement
double eNormalMean
Normal modulus.
double coefficientOfVariation
coefficient variation of the Gaussian distribution
virtual void giveRandomParameters(FloatArray &param)
double give(int aProperty, GaussPoint *gp) const override
double localRandomType
flag which chooses between no distribution (0) and Gaussian distribution (1)
const char * giveInputRecordName() const override
MaterialStatus * giveStatus(GaussPoint *gp) const override
FloatMatrixF< 6, 6 > give3dLatticeStiffnessMatrix(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const override
#define _IFT_LatticeLinearElastic_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