ModelShell Class

Shell super-element that lives in a statical model.

Definition

Namespace: Karamba.Elements
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
[SerializableAttribute]
public class ModelShell : ModelMembrane, ISerializable
Inheritance
Object    ModelElement    ModelMembrane    ModelShell
Implements
ISerializable

Constructors

ModelShell(SerializationInfo, StreamingContext) Initializes a new instance of the ModelShell class. Deserialize ModelShell.
ModelShell(Int32, BuilderShell, CroSec, IReadOnlyListInt32, ListNode) Initializes a new instance of the ModelShell class. construct fem-shell from grasshopper-shell.

Properties

builder_element Gets the raw element from where the base data comes.
(Inherited from ModelElement)
canBuckle Gets a value indicating whether buckling is considered when doing cross section optimization or calculating the utilization.
(Inherited from ModelElement)
color Gets or sets the color of the element for some types of rendering. Can be set with a ElemSets-component.
(Inherited from ModelElement)
colorIsSet Gets a value indicating whether the element has a color attached.
(Inherited from ModelElement)
crosec Gets or sets the cross section of the model element.
(Inherited from ModelElement)
ecce Gets the elements eccentricity.
(Inherited from ModelElement)
ecce_glo Gets the vector of global cross section eccentricity.
(Inherited from ModelElement)
ecce_loc Gets the vector of local cross section eccentricity.
(Inherited from ModelElement)
Elem_loads Gets the elements loads.
(Inherited from ModelElement)
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.
(Inherited from ModelElement)
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.
(Inherited from ModelMembrane)
fe_ind_end Gets the index of element in femodel that lies one entry beyond the last finite element of the model element.
(Inherited from ModelMembrane)
fe_node_ind Gets the index of fe-nodes of fe-elements in fe-model. Can differ from node_ind in case of joints.
(Inherited from ModelElement)
hasEccent Gets a value indicating whether a cross section has an eccentricity.
(Inherited from ModelElement)
id Gets the identifier (name) of element.
(Inherited from ModelElement)
ind Gets the zero-based index of element in model. The indexes are consecutively numbered from 0 to number of elements.
(Inherited from ModelElement)
is_visible Gets or sets a value indicating whether the element is visible.
(Inherited from ModelElement)
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.
(Inherited from ModelMembrane)
mesh Gets the mesh which underlies the membrane.
(Inherited from ModelMembrane)
nII Gets or sets the normal force that induces ThII effects.
(Inherited from ModelElement)
node_inds Gets the index of nodes of elements after assembly.
(Inherited from ModelElement)
partialVisibility Gets a value indicating whether only parts of the shell are visible.
(Inherited from ModelMembrane)
visibleSubelementIds Gets or sets a value indicating whether the element is visible.
(Inherited from ModelMembrane)
x_ori Gets the user defined local x-axis of the element (not including the additional rotation angle alpha).
(Inherited from ModelElement)
x_ori_given Gets a value indicating whether a user defined local x-axis is given.
(Inherited from ModelElement)
x_ori_list Gets the user defined local x-axes of the element (not including the additional rotation angle alpha).
(Inherited from ModelElement)
y_ori Gets the user defined local y-axis of the element (not including the additional rotation angle alpha).
(Inherited from ModelElement)
y_ori_given Gets a value indicating whether a user defined local z-axis is given.
(Inherited from ModelElement)
z_ori Gets the user defined local z-axis of the element (not including the additional rotation angle alpha).
(Inherited from ModelElement)
z_ori_given Gets a value indicating whether a user defined local z-axis is given.
(Inherited from ModelElement)
z_ori_list Gets the user defined local z-axes of the element (not including the additional rotation angle alpha).
(Inherited from ModelElement)

Methods

Accept(ModelElementVisitor) accept an element visitor.
(Overrides ModelMembraneAccept(ModelElementVisitor))
AcceptT(IModelElementVisitorT, T) accept an element visitor.
(Inherited from ModelElement)
AcceptT(IModelElementVisitorT, T) accept an element visitor.
(Inherited from ModelMembrane)
AcceptT(IModelElementVisitorT, T) accept an element visitor.
(Overrides ModelMembraneAcceptT(IModelElementVisitorT, T))
AcceptR, T(IModelElementVisitorR, T, T) accept an element visitor.
(Inherited from ModelElement)
AcceptR, T(IModelElementVisitorR, T, T) accept an element visitor.
(Inherited from ModelMembrane)
AcceptR, T(IModelElementVisitorR, T, T) accept an element visitor.
(Overrides ModelMembraneAcceptR, T(IModelElementVisitorR, T, T))
add add an element load to the element.
(Inherited from ModelElement)
AddFebLoads Add element feb loads. By default add nothing.
(Inherited from ModelMembrane)
addTo create feb-element and add it to the feb-model.
(Overrides ModelMembraneaddTo(Model, LoadCaseActivation, Int32))
area Returns the area of the element.
(Inherited from ModelMembrane)
area(Int32) Returns area of the sub-element.
(Inherited from ModelMembrane)
BuilderElement Clone the grass-element on which this model-element is based and linked to.
(Inherited from ModelElement)
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.
(Inherited from ModelMembrane)
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.
(Inherited from ModelMembrane)
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.
(Inherited from ModelMembrane)
dispLocalCoordinateSystem return displaced local coordinate system and its origin.
(Inherited from ModelMembrane)
elementState Determine the element state for the given model state index.
(Inherited from ModelElement)
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
feMesh(Model) Returns the shell mesh of the membrane.
(Inherited from ModelMembrane)
feMesh(Model) Gets the underlying feb-mesh of the membrane.
(Inherited from ModelMembrane)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetObjectData Serialize ModelElement.
(Inherited from ModelElement)
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)
meanDisp Calculates the mean displacement of an element.
(Inherited from ModelMembrane)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
minmaxEpsX determine extreme axial strains in model for the currently visible loadcase. Add result of element if necessary.
(Inherited from ModelMembrane)
normalVectors Returns the shell normal vector for each node of the membrane.
(Inherited from ModelMembrane)
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.
(Inherited from ModelElement)
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).
(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.
(Inherited from ModelMembrane)
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 ModelMembranesnapElement(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)
SurfaceArea Gets the surface area of the element in [m2].
(Inherited from ModelMembrane)
ToString Returns a string that represents the current object.
(Inherited from Object)
totalEccentricity returns the eccentricity of the element in global coordinates.
(Inherited from ModelMembrane)
UpdatePosition Update the position of the element in place.
(Inherited from ModelMembrane)
utilization return utilization of shell patch for given loadcase lc.
(Inherited from ModelMembrane)
Volume Get volume of the element in [m3?].
(Inherited from ModelMembrane)
weight(IReadOnlyListNode) return weight of the element in kN.
(Inherited from ModelMembrane)
weight(Int32, IReadOnlyListNode) Weight of a sub-element.
(Inherited from ModelMembrane)
weightAndCOG determine center of gravity and weight of the membrane.
(Inherited from ModelMembrane)

Fields

_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_ind_begin_ index of the first membrane element in the fe-model.
(Inherited from ModelMembrane)
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)

Extension Methods

ContainerType test if object is (a container like) a list or an array.
(Defined by MiniUtil)

See Also