Class PointSupportNode
- Namespace
- IdeaRS.OpenModel.Model
- Assembly
- IdeaRS.OpenModel.dll
Point support in point
[OpenModelClass("CI.StructModel.Structure.PointSupportNode,CI.StructuralElements", "CI.StructModel.Structure.IPointSupportNode,CI.BasicTypes")]
public class PointSupportNode : OpenElementId
Inheritance
Inherited Members
Examples
This sample shows how to create a support in the point.
//Creating the model
OpenModel openModel = new OpenModel();
//Create nodes
Point3D pointA = new Point3D();
pointA.X = 0;
pointA.Y = 0;
pointA.Z = 0;
openModel.AddObject(pointA);
Point3D pointB = new Point3D();
pointB.X = 0;
pointB.Y = 0;
pointB.Z = 1.2;
openModel.AddObject(pointB);
Point3D pointC = new Point3D();
pointC.X = 0;
pointC.Y = 0;
pointC.Z = 2.4;
openModel.AddObject(pointC);
//Line between nodes
LineSegment3D line1 = new LineSegment3D();
line1.StartPoint = new ReferenceElement(pointA);
line1.EndPoint = new ReferenceElement(pointB);
//LCS of line
line1.LocalCoordinateSystem = new CoordSystemByZup();
openModel.AddObject(line1);
//Line between nodes
LineSegment3D line2 = new LineSegment3D();
line2.StartPoint = new ReferenceElement(pointB);
line2.EndPoint = new ReferenceElement(pointC);
//LCS of line
line2.LocalCoordinateSystem = new CoordSystemByZup();
openModel.AddObject(line2);
//Cocrete material
MatConcreteEc2 mat = new MatConcreteEc2();
//...
openModel.AddObject(mat);
//Reinforcement material
MatReinforcementEc2 matR = new MatReinforcementEc2();
//...
openModel.AddObject(matR);
//Cross-section without the bars
IdeaRS.OpenModel.CrossSection.CrossSectionComponent css = new IdeaRS.OpenModel.CrossSection.CrossSectionComponent();
//...
openModel.AddObject(css);
//Reinforced cross-section (referemnces cross-section and ads the bars)
ReinforcedCrossSection rcs = new ReinforcedCrossSection();
//...
openModel.AddObject(rcs);
//Model element along the "line1" - part of member1D
Element1D element1D1 = new Element1D();
element1D1.CrossSectionBegin = new ReferenceElement(rcs);
element1D1.CrossSectionEnd = new ReferenceElement(rcs);
element1D1.Segment = new ReferenceElement(line1);
openModel.AddObject(element1D1);
//Model element along the "line2" - part of member1D
Element1D element1D2 = new Element1D();
element1D2.CrossSectionBegin = new ReferenceElement(rcs);
element1D2.CrossSectionEnd = new ReferenceElement(rcs);
element1D2.Segment = new ReferenceElement(line2);
openModel.AddObject(element1D2);
//Model member assembles element1D
Member1D member1D = new Member1D();
member1D.Elements1D.Add(new ReferenceElement(element1D1));
member1D.Elements1D.Add(new ReferenceElement(element1D2));
member1D.Member1DType = Member1DType.Column;
member1D.Name = "COLUMN1";
openModel.AddObject(member1D);
//Point support in the bottom node
PointSupportNode pointSupportA = new PointSupportNode();
pointSupportA.Point = new ReferenceElement(pointA);
pointSupportA.SupportTypeRX = SupportTypeInDirrection.Free;
pointSupportA.SupportTypeRY = SupportTypeInDirrection.Free;
pointSupportA.SupportTypeRZ = SupportTypeInDirrection.Rigid;
pointSupportA.SupportTypeX = SupportTypeInDirrection.Rigid;
pointSupportA.SupportTypeY = SupportTypeInDirrection.Rigid;
pointSupportA.SupportTypeZ = SupportTypeInDirrection.Rigid;
openModel.AddObject(pointSupportA);
//Point support in the top node
PointSupportNode pointSupportB = new PointSupportNode();
pointSupportB.Point = new ReferenceElement(pointC);
pointSupportB.SupportTypeRX = SupportTypeInDirrection.Free;
pointSupportB.SupportTypeRY = SupportTypeInDirrection.Free;
pointSupportB.SupportTypeRZ = SupportTypeInDirrection.Free;
pointSupportB.SupportTypeX = SupportTypeInDirrection.Rigid;
pointSupportB.SupportTypeY = SupportTypeInDirrection.Rigid;
pointSupportB.SupportTypeZ = SupportTypeInDirrection.Free;
openModel.AddObject(pointSupportB);
Properties
FlexibleStiffnessRX
Support stiffness rotational RX
public double FlexibleStiffnessRX { get; set; }
Property Value
FlexibleStiffnessRY
Support stiffness rotational RY
public double FlexibleStiffnessRY { get; set; }
Property Value
FlexibleStiffnessRZ
Support stiffness rotational RZ
public double FlexibleStiffnessRZ { get; set; }
Property Value
FlexibleStiffnessX
Support stiffness X dirrection
public double FlexibleStiffnessX { get; set; }
Property Value
FlexibleStiffnessY
Support stiffness Y dirrection
public double FlexibleStiffnessY { get; set; }
Property Value
FlexibleStiffnessZ
Support stiffness Z dirrection
public double FlexibleStiffnessZ { get; set; }
Property Value
LocalCoordinateSystem
Support local coord system
public CoordSystemByVector LocalCoordinateSystem { get; set; }
Property Value
Point
Reference to geometrical point
[OpenModelProperty("GeoPoint")]
public ReferenceElement Point { get; set; }
Property Value
SupportTypeRX
Support type in dirrection round X
public SupportTypeInDirrection SupportTypeRX { get; set; }
Property Value
SupportTypeRY
Support type in dirrection round Y
public SupportTypeInDirrection SupportTypeRY { get; set; }
Property Value
SupportTypeRZ
Support type in dirrection round Z
public SupportTypeInDirrection SupportTypeRZ { get; set; }
Property Value
SupportTypeX
Support type in dirrection X
public SupportTypeInDirrection SupportTypeX { get; set; }
Property Value
SupportTypeY
Support type in dirrection Y
public SupportTypeInDirrection SupportTypeY { get; set; }
Property Value
SupportTypeZ
Support type in dirrection Z
public SupportTypeInDirrection SupportTypeZ { get; set; }