FemMaterial Class

Base class of all materials.

Definition

Namespace: Karamba.Materials
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
[SerializableAttribute]
public abstract class FemMaterial : CommonObject, 
	ICloneable, ISerializable, IEquatable<FemMaterial>
Inheritance
Object    CommonObject    FemMaterial
Derived
Implements
ICloneable, IEquatableFemMaterial, ISerializable

Constructors

FemMaterial Initializes a new instance of the FemMaterial class. the default constructor.
FemMaterial(SerializationInfo, StreamingContext) Initializes a new instance of the FemMaterial class. Deserialize FemMaterial.

Properties

color Gets or sets the user defined color of the material.
elemIds Gets the material's identifiers of elements to which it shall be applied.
family Gets the family name of the material.
flowHypo Gets or sets the material's flow hypothesis which is Van Mises by default.
guid Gets the material's identifier.
IsValid Gets a value indicating whether the material is valid.
name Gets the name of the material.
user_defined Gets a value indicating whether a material is user-defined or generated (e.g. a default material).
UserData Gets access to the user-data dictionary.
(Inherited from CommonObject)

Methods

AddBeamId add an element identifier to the list of the material's element identifiers.
addTo add a feb material to feb model.
alphaT coefficient of thermal expansion in the specified direction.
clearBeamIDs clear the material's element identifiers.
Clone Creates a new object that is a copy of the current instance.
(Inherited from CommonObject)
cloneBeamIDs clone the material's element identifiers.
Copy copy the material from another one.
defaultConcrete Create a default concrete material. Do not use directly. Create default materials via cref="Material_Default" singleton.
defaultReinfSteel Create a default reinforcement steel material. Do not use directly. Create default materials via cref="Material_Default" singleton.
defaultSteel Create a default steel material. Do not use directly. Create default materials via cref="Material_Default" singleton.
E Young's Modulus [kN/cm2] in the specified direction.
enlistMaterial Return a material based on its reference or name. Add it to the list of materials if not already present.
Equals(FemMaterial) Indicates whether the current object is equal to another object of the same type.
Equals(Object) returns true if another material is equal to this one.
(Overrides ObjectEquals(Object))
fc material compressive strength in the specified direction in base units, by default [kN/m2].
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FlowHypothesisFromString Converts the name of a flow-hypothesis to the corresponding enum.
FlowHypothesisToString Name of the flow hypothesis connected to the material as a string.
ft material tensile strength in the specified direction in base units, by default [kN/m2].
G12 in-plane shear modulus.
G3 transverse shear modulus in base units, by default [kN/cm2].
gamma specific weight [kN/m3].
GetHashCode Serves as the default hash function.
(Overrides ObjectGetHashCode)
GetObjectData Serialize FemMaterial.
(Overrides CommonObjectGetObjectData(SerializationInfo, StreamingContext))
GetType Gets the Type of the current instance.
(Inherited from Object)
HasUserData Checks whether the object has user-data attached.
(Inherited from CommonObject)
matchIds Returns true if the material matches one of the identifiers given in ids.
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
nue12 in-plane lateral contraction coefficient.
readBaseProperties read material data from table.
readMaterialTable Read the default materials table and return its contents as a list of GH-materials.
setMaterialPropertiesInSIUnits set the material properties.
ToString Returns a string that represents the current object.
(Inherited from CommonObject)
trait return value of trait with given index.
typeName type-name of the material ("ISO" for isotropic, "ORTHO" for orthotropic).

Fields

_elem_ids identifiers of beams to which the cross section applies.
color_ user defined color of the material.
default_alphaT default value for the coefficient of thermal expansion (that of steel).
default_E default value for Young's Modulus [KN/cm2] (that of steel).
default_f12 default value for the Tsai-Wu interaction coefficient.
default_family default family name.
default_fc default value for the material compressive strength in kN/cm2 (that of steel S235).
default_flowHypo default value for the material compressive strength in kN/cm2 (that of steel S235).
default_ft default value for the material tensile strength in kN/cm2 (that of steel S235).
default_G default value for Young's Modulus (that of steel) [KN/cm2].
default_gamma default value for the specific weight in kN/m3 (that of steel) [kN/m3].
default_name default name.
default_nue12 default value for in-plane lateral contraction coefficient [].
default_t12 default value for the material shear strength in kN/cm2 (that of steel S235).
family_ family name of the material.
flowHypo_ Flow hypothesis of the material.
guid_ the material's identifier.
name_ name of the material.
user_defined_ indicates whether a material is user-defined or generated (e.g. a default material).

Extension Methods

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

See Also