ModelShell Class |
Namespace: Karamba.Elements
The ModelShell type exposes the following members.
Name | Description | |
---|---|---|
ModelShell |
construct fem-shell from grasshopper-shell
|
Name | Description | |
---|---|---|
builder_element | raw element from where the base data comes (Inherited from ModelElement.) | |
canBuckle |
if true buckling is considered when doing cross section optimization or calculating
the utilization
(Inherited from ModelElement.) | |
color |
color of the element for some types of rendering. Can be set with a ElemSets-component
(Inherited from ModelElement.) | |
colorIsSet |
return true if the element has a color attached
(Inherited from ModelElement.) | |
crosec |
set/get cross section of the model element
(Inherited from ModelElement.) | |
ecce |
return the elements eccentricity
(Inherited from ModelElement.) | |
ecce_glo |
return vector of global cross section eccentricity
(Inherited from ModelElement.) | |
ecce_loc |
return vector of local cross section eccentricity
(Inherited from ModelElement.) | |
Elem_loads | the elements loads (Inherited from ModelElement.) | |
fe_id |
get 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.
(Inherited from ModelElement.) | |
fe_ind_begin |
get first element index in fe-model. in case of shells there may be more than
one finite element connected to a model element
(Overrides ModelElementfe_ind_begin.) | |
fe_ind_end |
get index of element in femodel that lies one entry beyond the last finite element of the model element.
(Overrides ModelElementfe_ind_end.) | |
fe_node_ind | index of fe-nodes of fe-elements in fe-model. Can differ from node_ind in case of joints (Inherited from ModelElement.) | |
hasEccent |
return true if cross section has an eccentricity
(Inherited from ModelElement.) | |
id |
return identifier (name) of element
(Inherited from ModelElement.) | |
ind |
zero-based index of element in model.
The indexes are consecutively numbered from 0 to number of elements.
(Inherited from ModelElement.) | |
is_active |
set/get activation state of the element. 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.
(Overrides ModelElementis_active.) | |
is_visible |
return true if element is visible
(Inherited from ModelElement.) | |
mesh |
Return the mesh of the patch of shell elements
| |
nII |
set get normal force that induces ThII effects
(Inherited from ModelElement.) | |
node_inds | index of nodes of elements after assembly (Inherited from ModelElement.) | |
x_ori |
get the user defined local x-axis of the element
(not including the additional rotation angle alpha)
(Inherited from ModelElement.) | |
x_ori_given |
return true if a user defined local x-axis is given
(Inherited from ModelElement.) | |
x_ori_list |
get the user defined local x-axes of the element
(not including the additional rotation angle alpha)
(Inherited from ModelElement.) | |
y_ori |
get the user defined local y-axis of the element
(not including the additional rotation angle alpha)
(Inherited from ModelElement.) | |
y_ori_given |
return true if a user defined local z-axis is given
(Inherited from ModelElement.) | |
z_ori |
get the user defined local z-axis of the element
(not including the additional rotation angle alpha)
(Inherited from ModelElement.) | |
z_ori_given |
return true if a user defined local z-axis is given
(Inherited from ModelElement.) | |
z_ori_list |
get the user defined local z-axes of the element
(not including the additional rotation angle alpha)
(Inherited from ModelElement.) |
Name | Description | |
---|---|---|
Accept(ModelElementVisitor) |
accept an element visitor
(Overrides ModelElementAccept(ModelElementVisitor).) | |
AcceptT(ModelElementVisitorT, T) |
accept an element visitor
(Inherited from ModelElement.) | |
AcceptT(ModelElementVisitorT, T) |
accept an element visitor
(Overrides ModelElementAcceptT(ModelElementVisitorT, T).) | |
AcceptR, T(ModelElementVisitorR, T, T) |
accept an element visitor
(Inherited from ModelElement.) | |
AcceptR, T(ModelElementVisitorR, T, T) |
accept an element visitor
(Overrides ModelElementAcceptR, T(ModelElementVisitorR, T, T).) | |
add |
add an element load to the element
(Inherited from ModelElement.) | |
addLoads |
add loads connected to this element to its feb-element
(Inherited from ModelElement.) | |
addStrainMesh |
add faces with strain colors of a beam to existing mesh
(Overrides ModelElementaddStrainMesh(ListIMesh, Model, ListDouble).) | |
addStressMesh |
add faces with stress colors of a beam to existing mesh
(Overrides ModelElementaddStressMesh(ListIMesh, Model, ListDouble).) | |
addStressStrainMesh | ||
addTo |
create feb-element and add it to the feb-model
(Overrides ModelElementaddTo(Model, Int32, Int32).) | |
addUtilizationMesh |
add faces with strain colors of a beam to existing mesh
(Overrides ModelElementaddUtilizationMesh(ListIMesh, Model, ListDouble).) | |
area |
return area of the element
| |
area(Int32) |
return area of the sub-element
| |
characteristic_length |
calculate characteristic length of the element
(Inherited from ModelElement.) | |
clearLoads |
clears the loads of the element. Make sure to clone it before clearing the loads
in order to avoid side effects.
(Inherited from ModelElement.) | |
Clone |
clone the model element
(Overrides ModelElementClone.) | |
cloneBuilderElement |
Clone the grass-element on which this model-element is based and linked to
(Inherited from ModelElement.) | |
clonedBuilderElement |
return the cloned grass-element on which this model-element is based or null
(Inherited from ModelElement.) | |
cog |
calculate the center of gravity of the element
(Overrides ModelElementcog(Model).) | |
copyFEModelNodeIndexes |
update the elements node indexes with those of the underlying finite element. This is necessary when
topology of the feb-model changed
(Inherited from ModelElement.) | |
deformationEnergy |
calculates axial deformation- and bending energy stored in the element
(Overrides ModelElementdeformationEnergy(Model, EnergyVisitor, ListDouble, ListDouble).) | |
dispLocalCoordinateSystem |
return displaced local coordinate system and its origin
| |
dispNormalVectors |
returns the shell normal vector for each node of the shell
| |
drawCroSecForceOutput |
add lines of cross section forces diagrams to curves or meshes
(Overrides ModelElementdrawCroSecForceOutput(Model, ListIMesh, ListPolyLine3, Boolean, Double, ElementStates).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
feMesh | ||
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
getElementStates |
determines the states in discrete points of the element
(Overrides ModelElementgetElementStates(Model, Int32, Boolean).) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
is_inside |
checks whether an Element lies partly inside a given Brep
(Inherited from ModelElement.) | |
localCoSys(Element) |
create local coo-sys of undeformed element
(Inherited from ModelElement.) | |
localCoSys(PointState) |
create local coo-sys of deformed element
(Inherited from ModelElement.) | |
maxCroSecForceOutput |
returns the resultant value of the largest cross section force output.
Can e.g. be used to scale graphical output.
(Overrides ModelElementmaxCroSecForceOutput(Model, Double, ElementStates).) | |
meanDisp |
calculate mean displacement of an element
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
midpoint_disp |
return mid-point of deformed element
(Inherited from ModelElement.) | |
minmaxEpsX |
determine extreme axial strains in model for the currently visible loadcase
(Overrides ModelElementminmaxEpsX(Double, Double, Model).) | |
referencePointOnZAxis |
return reference point on local z-axis for local coordinate system being
situated at first element node.
(Inherited from ModelElement.) | |
resultantCroSecForces |
calculates resultant normal force (N), shear force (V) and moment (M) in an element
(Inherited from ModelElement.) | |
scaledState |
return scaled state at given element, location; superimpose loadcases if lc_num is smaller than 0;
unscaled loadcase for lc_num % model.numLC if lc_num >= model.numLC (is used for retrieval of beam results)
(Inherited from ModelElement.) | |
set_fe_and_model_index |
set the element and fe_element index
(Inherited from ModelElement.) | |
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.
(Overrides ModelElementset_is_active(Model, Boolean).) | |
SetNodeInds |
set the node indexes of the element
(Inherited from ModelElement.) | |
snapElement |
change the element if nodes snap together according to the given list of
node indexes.
returns true if the element was completely snapped
(Overrides ModelElementsnapElement(ListNode, Double).) | |
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.
(Inherited from ModelElement.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
totalEccentricity |
returns the eccentricity of the element in global coordinates
(Overrides ModelElementtotalEccentricity(Model).) | |
utilization |
return utilization of shell patch for given loadcase lc
| |
weight |
return mass of the element
(Overrides ModelElementweight(IReadOnlyListNode).) |
Name | Description | |
---|---|---|
_eloads | the elements loads (Inherited from ModelElement.) | |
_fe_id | index of element in fe-model, in case of shells it is the index oh the trimesh (Inherited from ModelElement.) | |
_ind |
zero-based index of element in model.
The indexes are consecutively numbered from 0 to number of elements.
(Inherited from ModelElement.) | |
fe_node_ind_ | index of fe-nodes of fe-elements in fe-model. Can differ from node_ind in case of joints (Inherited from ModelElement.) | |
node_inds_ | index of nodes of elements after assembly (Inherited from ModelElement.) |