The LIN3DUSERDEFINED
(or LIN2DUSERDEFINED
) class creates a line Section class that is represented its geometrical properties given by the user. Therefore, the cross-sectional properties such as area, shear area, inertias and so on must be provided. The figure shows a representation of the Lin2DAngle and Lin3DAngle respectively. The properties in grey squares are used in 2D.
The section properties to be given are:
REFERENCE:
The python Pre-Analysis in the 01-Pre_Process/Method/Attach.py file provides with an interface to populate the Entities
dictionary. This file contains several functions to populate specific fields. For example, to create a Lin2DUserDefined or Lin3DUserDefined section using json format, use:
addSection(tag, name='Lin3DUserDefined', model='Plain', attributes):
Example
A LIN3DUSERDEFINED section can be defined using the python interface as follows:
SVL.addSection(tag=1, name='Lin3DUserDefined', model='Plain', attributes={'A': 0.40, 'As2': 0.333333, 'As3': 0.333333, 'J': 0.0386667, 'I22': 0.00533333, 'I33': 0.0333333, 'I23': 0.0, 'material': 1})A LIN2DUSERDEFINED section can be defined using the python interface as follows:
SVL.addSection(tag=1, name='Lin2DUserDefined', model='Plain', attributes={'material': 1, 'A': 0.2, 'As2': 0.166667, 'I33': 0.0166667})
Application
Please refer to the D01-ST_Lin_2DBernoulli_Elastic_Frame2.py file located at 03-Validations/01-Debugging/ to see an example on how to define a Lin2DRectangular section.
On the contrary, the 01-Pre_Process/Method/Remove.py file provides with an interface to depopulate the Entities
dictionary. For example, to remove an already define Section, use:
The C++ Run-Analysis in the 02-Run_Process/03-Sections/01-Plain/Lin3DUserDefined.cpp file provides the class implementation. A Lin3DUserDefined section is created using the built-in json parse-structure provided in the Driver.hpp. A Lin3DRectangular is defined inside the "Sections" json field indicating its "Tag" as follows,
{ "Sections": { "Tag": { "name" : "LIN3DUSERDEFINED", "model" : "PLAIN", "attributes": { "A": double, "As2": double, "As3": double, "J": double, "I22": double, "I33": double, "I23": double, "theta": double, "material": int } } } }
Variable | Description |
---|---|
Tag | Unique Section object identifier. |
A | The the cross section area. |
As2 | Theshear area over the local 2-axis. |
As3 | The shear area over the local 3-axis. |
J | The section polar moment of inertia about the local 1-axis |
I22 | The the section inertia about the local 2-axis. |
I33 | The the section inertia about the local 3-axis. |
I23 | The section product of inertia. |
theta | The section rotation angle, see Local Axes. |
material | Material object identifier. |
theta
=0.0A LIN2DUSERDEFINED section of made of material 1 is defined:
{ "Sections": { "1": { "name" : "LIN2DUSERDEFINED", "model": "PLAIN", "attributes": { "A": 0.4, "As2": 0.333333 "I33": 0.0333333, "material": 1, "theta": 0.0 } } } }