OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
winklermodel.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 - 2014 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 winklermodel_h
36 #define winklermodel_h
37 
38 #include "../sm/Materials/structuralmaterial.h"
39 #include "floatarray.h"
40 #include "floatmatrix.h"
41 #include "matconst.h"
42 #include "matstatus.h"
43 #include "interface.h"
44 #include "stressstrainprincmode.h"
45 
47 
48 #define _IFT_WinklerMaterial_Name "winkler"
49 #define _IFT_WinklerMaterial_C1 "c1"
50 #define _IFT_WinklerMaterial_globalFlag "global"
51 
52 
53 namespace oofem {
54 
55 class GaussPoint;
65 {
66 protected:
71 
72 public:
78  WinklerMaterial(int n, Domain * d);
80  virtual ~WinklerMaterial();
81 
82  // identification and auxiliary functions
83 
84  virtual int hasMaterialModeCapability(MaterialMode mode);
85  virtual const char *giveClassName() const { return "WinklerMaterial"; }
86  virtual const char *giveInputRecordName() const { return _IFT_WinklerMaterial_Name; }
87 
89  virtual void giveInputRecord(DynamicInputRecord &input);
90 
91  virtual void giveRealStressVector_2dPlateSubSoil(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep);
92  virtual void giveRealStressVector_3dBeamSubSoil(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep);
93 
94  virtual void give2dPlateSubSoilStiffMtrx(FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep);
95  virtual void give3dBeamSubSoilStiffMtrx(FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep);
96  virtual MaterialStatus * CreateStatus(GaussPoint *gp) const;
97 };
98 
103  class OOFEM_EXPORT Beam3dSubsoilMaterialInterface : public Interface
104  {
105  public:
108 
110  virtual void B3SSMI_getUnknownsGtoLRotationMatrix (FloatMatrix &answer) = 0;
111  };
112 
113 
114 } // end namespace oofem
115 #endif // winklermodel_h
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: winklermodel.C:52
Class and object Domain.
Definition: domain.h:115
WinklerMaterial(int n, Domain *d)
Constructor.
Definition: winklermodel.C:45
virtual MaterialStatus * CreateStatus(GaussPoint *gp) const
Creates new copy of associated status and inserts it into given integration point.
Definition: winklermodel.C:137
Defines several material constant (respective their representative number).
virtual void give3dBeamSubSoilStiffMtrx(FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
Method for computing stiffness matrix of beam3d subsoil model.
Definition: winklermodel.C:113
virtual void give2dPlateSubSoilStiffMtrx(FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
Method for computing stiffness matrix of plate subsoil model.
Definition: winklermodel.C:101
virtual void giveRealStressVector_2dPlateSubSoil(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep)
Default implementation is not provided.
Definition: winklermodel.C:76
MaterialMode
Type representing material mode of integration point.
Definition: materialmode.h:89
MatResponseMode
Describes the character of characteristic material matrix.
virtual const char * giveInputRecordName() const
Definition: winklermodel.h:86
#define _IFT_WinklerMaterial_Name
Definition: winklermodel.h:48
bool globalFromulation
Flag indicating whether subsoil model defined in global or element local c.s.
Definition: winklermodel.h:70
virtual ~WinklerMaterial()
Destructor.
Definition: winklermodel.C:48
virtual int hasMaterialModeCapability(MaterialMode mode)
Tests if material supports material mode.
Definition: winklermodel.C:144
virtual const char * giveClassName() const
Definition: winklermodel.h:85
Abstract base class representing a material status information.
Definition: matstatus.h:84
virtual void giveRealStressVector_3dBeamSubSoil(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep)
Definition: winklermodel.C:88
Class representing vector of real numbers.
Definition: floatarray.h:82
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
Definition: winklermodel.C:67
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 Interface.
Definition: interface.h:82
FloatArray c1
C1 constant, defined as $^hE_{oed}(z)(d(z) dz)^2\ dz$.
Definition: winklermodel.h:68
Class representing the a dynamic Input Record.
Abstract base class for all "structural" constitutive models.
Implementation of 1D/2D winkler model for plate (and potentiaonnaly beam) subsoil model...
Definition: winklermodel.h:64
the oofem namespace is to define a context or scope in which all oofem names are defined.
Interface defining required functionality from associated element.
Definition: winklermodel.h:103
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80

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:32 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011