OOFEM 3.0
Loading...
Searching...
No Matches
transversereinfconstraint.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 TRANSVERSEREINFCONSTRAINT_H_
36#define TRANSVERSEREINFCONSTRAINT_H_
37
38#include "activebc.h"
39
40#include <memory>
41
42#define _IFT_TransverseReinfConstraint_Name "transversereinforcementconstraint"
43#define _IFT_TransverseReinfConstraint_SteelElSet "steelelset"
44#define _IFT_TransverseReinfConstraint_ConElBoundSet "conelboundset"
45
46namespace oofem {
47class Node;
48class Element;
61{
62public:
65
66 int giveNumberOfInternalDofManagers() override { return 1; }
67 DofManager *giveInternalDofManager(int i) override;
68
69 void initializeFrom(InputRecord &ir) override;
70 void giveInputRecord(DynamicInputRecord &input) override;
71
72 bcType giveType() const override { return UnknownBT; }
73
74 void assembleVector(FloatArray &answer, TimeStep *tStep,
75 CharType type, ValueModeType mode,
76 const UnknownNumberingScheme &s, FloatArray *eNorm, void* lock) override;
77
78 void assemble(SparseMtrx &answer, TimeStep *tStep,
79 CharType type, const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s,
80 double scale, void* lock) override;
81
82 void giveLocationArrays(std :: vector< IntArray > &rows, std :: vector< IntArray > &cols, CharType type,
83 const UnknownNumberingScheme &r_s, const UnknownNumberingScheme &c_s) override;
84
85 const char *giveClassName() const override { return "TransverseReinfConstraint"; }
86 const char *giveInputRecordName() const override { return _IFT_TransverseReinfConstraint_Name; }
87
88 void computeField(FloatArray &lambda, TimeStep *tStep);
89
90protected:
92 std :: unique_ptr< Node > lmLambda;
94
96 int steelElSet = 0;
99
101 void integrateTangent(FloatMatrix &oTangent, Element *es, Element *ec, int iBndIndex);
102 void integrateTangentOnSteel(FloatMatrix &oTangent, Element *e);
103 void integrateTangentOnConcrete(FloatMatrix &oTangent, Element *e, int iBndIndex);
104};
105} /* namespace oofem */
106
107#endif /* TRANSVERSEREINFCONSTRAINT_H_ */
ActiveBoundaryCondition(int n, Domain *d)
Definition activebc.h:71
const char * giveInputRecordName() const override
void integrateTangent(FloatMatrix &oTangent, Element *es, Element *ec, int iBndIndex)
Help functions that integrate the tangent contribution from steel and concrete elements.
const char * giveClassName() const override
void integrateTangentOnConcrete(FloatMatrix &oTangent, Element *e, int iBndIndex)
int conElBoundSet
Set of element boundaries along the reinforcement.
void integrateTangentOnSteel(FloatMatrix &oTangent, Element *e)
int steelElSet
Reinforcement bar element set.
std ::unique_ptr< Node > lmLambda
DOF-manager containing the unknown Lagrange multiplier.
int giveNumberOfInternalDofManagers() override
Gives the number of internal dof managers.
FloatArrayF< N > assemble(const FloatArrayF< M > &x, int const (&c)[M])
Assemble components into zero matrix.
bcType
Type representing the type of bc.
Definition bctype.h:40
@ UnknownBT
Unknown.
Definition bctype.h:41
#define OOFEM_EXPORT
Definition oofemcfg.h:7
#define _IFT_TransverseReinfConstraint_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