Click or drag to resize

CroSec_Shell Class

Represents a simple shell cross section.
Inheritance Hierarchy

Namespace:  Karamba.CrossSections
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
[SerializableAttribute]
public class CroSec_Shell : CroSec

The CroSec_Shell type exposes the following members.

Constructors
Properties
  NameDescription
Public propertycolor
user defined color of the cross section
(Inherited from CroSec.)
Public propertydims
cross section dimensions
(Overrides CroSecdims.)
Public propertyecce_loc
set/get local eccentricity of cross section
(Inherited from CroSec.)
Public propertyelem_crosecs
cross sections for each mesh-face
Public propertyelemIds
return list of element identifiers to which the cross section is to be attached.
(Inherited from CroSec.)
Public propertyfamily
set/get the family of the cross section
(Inherited from CroSec.)
Public propertyfamilyID
unique identifier of cross section. Excluded country in order to avoid problems in case of user defined families which consist of cross sections of different countries
(Inherited from CroSec.)
Public propertyguid
GUID of the cross section
(Inherited from CroSec.)
Public propertyhasEccent
return true of cross section has a locally defined eccentricity
(Inherited from CroSec.)
Public propertyIsValid
return true of the cross section is valid (has e.g. non-zero area)
(Inherited from CroSec.)
Public propertymaterial
set/get material of the element
(Overrides CroSecmaterial.)
Public propertymaterialName
the base material of the shell is the material of the first elements of the first layer
(Overrides CroSecmaterialName.)
Public propertyname
set/get the name of the cross section
(Inherited from CroSec.)
Public propertynDims
number of dimensional
(Inherited from CroSec.)
Protected propertynProps
return the number of properties of the cross section
(Inherited from CroSec.)
Public propertyprops
default cross section properties
(Inherited from CroSec.)
Public propertyuser_defined
indicates whether a cross section is user-defined or generated (e.g. a default material)
(Inherited from CroSec.)
Public propertyzm
distance of center of shear from upper section boundary
(Inherited from CroSec.)
Public propertyzs
distance of center of gravity from upper section boundary
(Inherited from CroSec.)
Top
Methods
  NameDescription
Public methodaccept
accept a cross section visitor
(Overrides CroSecaccept(CroSecVisitor).)
Public methodaddDuplicate
add this cross section to fe-model
(Inherited from CroSec.)
Public methodAddElemId
add an element identifier to the list of element identifiers which define to which elements the cross SectionForce shall be attached in the course of assemblage.
(Inherited from CroSec.)
Public methodcalculateProperties
calculate cross-section properties from given geometry
(Overrides CroSeccalculateProperties.)
Public methodclearAndSetDefault
set element cross sections to the default
Public methodclearElemIds
empty the list of identifiers to which the cross section shall be attached.
(Inherited from CroSec.)
Public methodClone
shallow clone the cross section
(Overrides CroSecClone.)
Public methodcloneElemIds
clone the list of identifiers to which the cross section is to be attached. Needs to be done before it is changed in order to avoid side-effects in GH-definitions.
(Inherited from CroSec.)
Public methodcrossSectionHasNoResistance
test whether cross section has zero resisting moment or area for cross section design
(Overrides CroSeccrossSectionHasNoResistance(String).)
Protected methoddefaultGuid
return the cross sections default guid
(Overrides CroSecdefaultGuid.)
Public methodenlistAllMaterials
set the material based on the material identifier and a mapping from material identifiers to indexes
(Overrides CroSecenlistAllMaterials(DictionaryGuid, Int32, ListFemMaterial).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodfe_ind
return cross section index of sub cross section in model
(Overrides CroSecfe_ind(Int32).)
Public methodFECroSecDefault
create fe-cross-sections from default cross section
(Overrides CroSecFECroSecDefault(Model, Int32).)
Public methodFECroSecs(Model)
create fe-cross-section for given height with family-index 0
(Inherited from CroSec.)
Public methodFECroSecs(Model, Int32)
create fe-cross-sections
(Overrides CroSecFECroSecs(Model, Int32).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodgetHeight
return the height of the cross section. Is useful for shell-elements which can thus also use beam-cross sections
(Overrides CroSecgetHeight.)
Public methodgetHeight(Int32)
returns the height of a sub-cross section of the given index in case of composite cross sections
(Overrides CroSecgetHeight(Int32).)
Public methodgetThickness
get thickness of cross section
(Overrides CroSecgetThickness.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodheights
return heights associated with the cross section. The order corresponds to the sequence of faces in the underlying mesh.
(Overrides CroSecheights.)
Public methodisDefault
returns true if cross section has default properties
(Inherited from CroSec.)
Public methodmatchId
test whether the cross section matches one of the identifiers given in the list of indexes
(Inherited from CroSec.)
Public methodmatchIds
test whether the cross section matches one of the identifiers given in the list of indexes
(Inherited from CroSec.)
Public methodmaxWidth
return the maximum width of the cross section or -1 in case this does not make sense (for e.g. shell cross sections)
(Overrides CroSecmaxWidth.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodminmaxEps
determine extreme strains in cross-section
(Inherited from CroSec.)
Public methodmodifyEcceZ
modify the local eccentricity in Z-direction
(Inherited from CroSec.)
Public methodmodifyHeight
modify the height of the cross section
(Overrides CroSecmodifyHeight(Double).)
Public methodmodifyHeights(ListDouble)
modify the heights of the cross section
(Overrides CroSecmodifyHeights(ListDouble).)
Public methodmodifyHeights(CroSec_Shell)
modify the cross section height
Public methodmodifyThickness
modifies the thickness of a cross section
(Overrides CroSecmodifyThickness(Double).)
Public methodread
Read cross section data from reader
(Inherited from CroSec.)
Public methodreadFromTableRow
reads cross section data from given table row
(Inherited from CroSec.)
Public methodrenewGuid
create new GUID for the cross section
(Inherited from CroSec.)
Public methodrenewGuid(Guid)
set new GUID for the cross section
(Inherited from CroSec.)
Protected methodsetDefaults
set default dimensions of cross section
(Overrides CroSecsetDefaults.)
Public methodsetHeight
sets the height of a sub-cross section of the given index. The ordering of heights corresponds to the sequence of faces in the underlying mesh.
Public methodsetHeights
sets the height of a sub-cross section of the given index. The ordering of heights corresponds to the sequence of faces in the underlying mesh.
Public methodsetMaterial(FemMaterial)
set the material identifier and the material reference of the cross section
(Overrides CroSecsetMaterial(FemMaterial).)
Public methodsetMaterial(ListFemMaterial)
set the material identifiers and the material references of the cross section. Sets material of layer 0 in case of shells.
(Overrides CroSecsetMaterial(ListFemMaterial).)
Public methodshape
returns the shape indicator of a cross section (for e.g. reading data from a table). This can be e.g. 'O', 'I', 'T', '[]',...
(Overrides CroSecshape.)
Public methodsketch
add vertices on cross-section to mesh and corresponding colors origin is the point on the element axis, axis the local coordinate system, cmap contains the information for coloring points and n_faces the number of points to be calculated
(Inherited from CroSec.)
Public methodsketchGroupSizes
return list of group-sizes of faces that form one geometric entity. Enables cross-section sketches to consist of more than one connected surface. By default there is only one group.
(Inherited from CroSec.)
Public methodstiffness
calculate characteristic axial- and bending stiffness of an element of length L
(Overrides CroSecstiffness(Double, Double, Double).)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodToString(String)
render cross section data as string for output.
(Inherited from CroSec.)
Public methodtrait
return value of trait with given index
(Inherited from CroSec.)
Public methodwrite
Write cross section data contained to a reader
(Inherited from CroSec.)
Public methodwriteToTableRow
generate value of property info as a string which can be used in a cross section table
(Inherited from CroSec.)
Top
Fields
  NameDescription
Public fieldcountry_
country in which the cross section is in use
(Inherited from CroSec.)
Protected fieldeccent_
eccentricity of the cross section
(Inherited from CroSec.)
Protected fieldelem_crosecs_
cross sections for each mesh-face
Protected fieldelem_ids_
id/regular expressions of element identifiers to which the cross section applies
(Inherited from CroSec.)
Protected fieldfamily_
unique identifier of a group of cross sections within a country
(Inherited from CroSec.)
Protected fieldfe_ind_
identification number of cross section in the fe-model
(Inherited from CroSec.)
Protected fieldguid_
GUID of the cross section
(Inherited from CroSec.)
Protected fieldhas_eccent_
true if there is an eccentricity defined for the cross section
(Inherited from CroSec.)
Protected fieldname_
unique identifier of a cross section within a family
(Inherited from CroSec.)
Protected fielduser_defined_
indicates whether a cross section is user-defined or generated (e.g. a default material)
(Inherited from CroSec.)
Top
See Also