![]() |
ModelElement Class |
Namespace: Karamba.Elements
The ModelElement type exposes the following members.
Name | Description | |
---|---|---|
![]() | ModelElement |
Initializes a new instance of the ModelElement class.
parameterless constructor for json serialization.
|
![]() | ModelElement(SerializationInfo, StreamingContext) |
Initializes a new instance of the ModelElement class.
Deserialize ModelElement.
|
![]() | ModelElement(Int32, BuilderElement, IReadOnlyListInt32) |
Initializes a new instance of the ModelElement class.
construct model-element from a grass-element and use additional data provided.
|
Name | Description | |
---|---|---|
![]() | builder_element | Gets the raw element from where the base data comes. |
![]() | canBuckle |
Gets a value indicating whether buckling is considered when doing cross section optimization or calculating
the utilization.
|
![]() | color |
Gets or sets the color of the element for some types of rendering. Can be set with a ElemSets-component.
|
![]() | colorIsSet |
Gets a value indicating whether the element has a color attached.
|
![]() | crosec |
Gets or sets the cross section of the model element.
|
![]() | ecce |
Gets the elements eccentricity.
|
![]() | ecce_glo |
Gets the vector of global cross section eccentricity.
|
![]() | ecce_loc |
Gets the vector of local cross section eccentricity.
|
![]() | Elem_loads | Gets the elements loads. |
![]() | fe_id |
Gets the first element index in fe-model. In case of shells there may be more than
one finite element connected to a model element and fe_id points to the shells TriMesh-object.
|
![]() | fe_ind_begin |
Gets the first element index in fe-model. in case of shells there may be more than
one finite element connected to a model element.
|
![]() | fe_ind_end |
Gets the index of element in femodel that lies one entry beyond the last finite element of the model element.
|
![]() | fe_node_ind | Gets the index of fe-nodes of fe-elements in fe-model. Can differ from node_ind in case of joints. |
![]() | hasEccent |
Gets a value indicating whether a cross section has an eccentricity.
|
![]() | id |
Gets the identifier (name) of element.
|
![]() | ind |
Gets the zero-based index of element in model.
The indexes are consecutively numbered from 0 to number of elements.
|
![]() | is_visible |
Gets or sets a value indicating whether the element is visible.
|
![]() | IsActive |
Gets or sets a value indicating whether the element is active. If inactive the element is removed from the
statical model using the soft-kill approach. The FE-model needs to be rebuilt after
manipulating this flag.
|
![]() | nII |
Gets or sets the normal force that induces ThII effects.
|
![]() | node_inds | Gets the index of nodes of elements after assembly. |
![]() | x_ori |
Gets the user defined local x-axis of the element
(not including the additional rotation angle alpha).
|
![]() | x_ori_given |
Gets a value indicating whether a user defined local x-axis is given.
|
![]() | x_ori_list |
Gets the user defined local x-axes of the element
(not including the additional rotation angle alpha).
|
![]() | y_ori |
Gets the user defined local y-axis of the element
(not including the additional rotation angle alpha).
|
![]() | y_ori_given |
Gets a value indicating whether a user defined local z-axis is given.
|
![]() | z_ori |
Gets the user defined local z-axis of the element
(not including the additional rotation angle alpha).
|
![]() | z_ori_given |
Gets a value indicating whether a user defined local z-axis is given.
|
![]() | z_ori_list |
Gets the user defined local z-axes of the element
(not including the additional rotation angle alpha).
|
Name | Description | |
---|---|---|
![]() | Accept(ModelElementVisitor) |
accept an element visitor.
|
![]() | AcceptT(IModelElementVisitorT, T) |
accept an element visitor.
|
![]() | AcceptR, T(IModelElementVisitorR, T, T) |
accept an element visitor.
|
![]() | add |
add an element load to the element.
|
![]() | addLoads |
add loads connected to this element to its feb-element.
|
![]() | addStrainMesh |
enrich the given mesh with strain data of this element.
|
![]() | addStressMesh |
enrich the given mesh with stress data of this element.
|
![]() | addTo |
create feb-element and add it to the feb-model.
|
![]() | addUtilizationMesh |
enrich the given mesh with utilization data of this element.
|
![]() ![]() | build |
Build elements (Beam, Truss, spring,..) out of grass-elements and additional information.
|
![]() | BuilderElement |
Clone the grass-element on which this model-element is based and linked to.
|
![]() | characteristic_length |
calculate characteristic length of the element.
|
![]() | clearLoads |
clears the loads of the element. Make sure to clone it before clearing the loads
in order to avoid side effects.
|
![]() | Clone |
Clone the model element.
|
![]() | cloneBuilderElement |
Clone the grass-element on which this model-element is based and linked to.
|
![]() | clonedBuilderElement |
return the cloned grass-element on which this model-element is based or null.
|
![]() | cog |
calculate the center of gravity of the element.
|
![]() | copyFEModelNodeIndexes |
update the elements node indexes with those of the underlying finite element. This is necessary when
topology of the feb-model changed.
|
![]() | deformationEnergy |
calculates axial deformation- and bending energy stored in the element.
|
![]() | drawCroSecForceOutput |
add lines of cross section forces diagrams to curves or meshes.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetCrossSectionsStates_OLD |
Determines the states in predefined discrete points of the element.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetObjectData |
Serialize ModelElement.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | is_inside |
checks whether an Element lies partly inside a given Brep.
|
![]() | localCoSys(Element) |
create local coo-sys of undeformed element.
|
![]() | localCoSys(PointState) |
create local coo-sys of deformed element.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | midpoint_disp |
return mid-point of deformed element.
|
![]() | minmaxEpsX |
determine extreme axial strains in model for the currently visible loadcase.
Add result of element if necessary.
|
![]() | referencePointOnZAxis |
return reference point on local z-axis for local coordinate system being
situated at first element node.
|
![]() | resultantCroSecForces |
calculates resultant normal force (N), shear force (V) and moment (M) in an element.
|
![]() | scaledState |
return scaled state at given element, location; superimpose loadcases if lc_num is smaller than 0;
unscaled load-case for lc_num % model.numLC if lc_num >= model.numLC (is used for retrieval of beam results).
|
![]() | scaledStateAtT |
return scaled state at given element, location; superimpose loadcases if lc_num is smaller than 0;
unscaled load-case for lc_num % model.numLC if lc_num >= model.numLC (is used for retrieval of beam results).
|
![]() | set_fe_and_model_index |
set the element and fe_element index.
|
![]() | set_is_active |
set activation state of element and synchronize it with fe-model. An extra fe-model-generation
step is not necessary. Is therefore fast.
|
![]() | SetNodeInds |
set the node indexes of the element.
|
![]() | snapElement |
change the element if nodes snap together according to the given list of
node indexes.
returns true if the element was completely snapped.
|
![]() | split_elem |
The element with index ind is the seed of an element split. Make all splits
in the model that are necessary so that feb-model and model are synchronized.
|
![]() | SurfaceArea |
Gets the surface area of the element in [m2].
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | totalEccentricity |
returns the eccentricity of the element in global coordinates.
|
![]() | Volume |
Get volume of the element in [m3?].
|
![]() | weight |
return weight of the element in kN.
|
Name | Description | |
---|---|---|
![]() | _eloads | the elements loads. |
![]() | _fe_id | index of element in fe-model, in case of shells it is the index oh the trimesh. |
![]() | _ind |
zero-based index of element in model.
The indexes are consecutively numbered from 0 to number of elements.
|
![]() | fe_node_ind_ | index of fe-nodes of fe-elements in fe-model. Can differ from node_ind in case of joints. |
![]() | node_inds_ | index of nodes of elements after assembly. |