OOFEM 3.0
Loading...
Searching...
No Matches
prescribeddispslipbcdirichletrc.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 prescribeddispslipbcdirichletrc_h
36#define prescribeddispslipbcdirichletrc_h
37
39#include "boundarycondition.h"
40#include "dof.h"
41#include "bctype.h"
42#include "valuemodetype.h"
43#include "floatarray.h"
44#include "floatmatrix.h"
45
47
48#define _IFT_PrescribedDispSlipBCDirichletRC_Name "prescribeddispslipbcdirichletrc"
49#define _IFT_PrescribedDispSlipBCDirichletRC_ConcreteBoundary "conboundset"
50#define _IFT_PrescribedDispSlipBCDirichletRC_ReinfXBound "reinfxbound"
51#define _IFT_PrescribedDispSlipBCDirichletRC_ReinfYBound "reinfybound"
53
54namespace oofem {
79{
80public:
83
84 double give(Dof *dof, ValueModeType mode, double time) override;
85
86 void initializeFrom(InputRecord &ir) override;
87 void giveInputRecord(DynamicInputRecord &input) override;
88
89 virtual void updateCoefficientMatrix(FloatMatrix &C);
90 double domainSize(Domain *d, int set) override;
91
92 void computeStress(FloatArray &sigma, TimeStep *tStep) override;
93 void computeTransferStress(FloatArray &bStress, TimeStep *tStep) override;
94 void computeReinfStress(FloatArray &rStress, TimeStep *tStep) override;
95
96 void computeTangent(FloatMatrix &tangent, TimeStep *tStep) override;
97
98 void scale(double s) override;
99
100 const char *giveClassName() const override { return "PrescribedDispSlipBCDirichletRC"; }
101 const char *giveInputRecordName() const override { return _IFT_PrescribedDispSlipBCDirichletRC_Name; }
102
103protected:
104 bool dispGradON = false;
105 bool slipON = false;
106 bool slipGradON = false;
107
108 int conBoundSet; //element boundaries set for the concrete solid
109 int reinfXBound=0; //set containing end (boundary) nodes of horizontal rebars
110 int reinfYBound=0; //set containing end (boundary) nodes of vertical rebars
111
112 double giveOnConcrete(Dof *dof, int pos, const FloatArray u);
113 double giveOnSteel(Dof *dof, int pos, const FloatArray u, const FloatArray us);
114};
115} // end namespace oofem
116
117#endif // prescribeddispslipbcdirichletrc_h
BoundaryCondition(int i, Domain *d)
bool slipGradON
on/off flag specifying whether the slip field should be applied via Neumann BCs
bool slipON
on/off flag specifying whether the displacement gradient should be applied via Neumann BCs
double giveOnSteel(Dof *dof, int pos, const FloatArray u, const FloatArray us)
int conBoundSet
on/off flag specifying whether the slip gradient should be applied via Neumann BCs
double giveOnConcrete(Dof *dof, int pos, const FloatArray u)
#define OOFEM_EXPORT
Definition oofemcfg.h:7
#define _IFT_PrescribedDispSlipBCDirichletRC_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