Class NodalBody
Last update: 16.07.2025Namespace: VM.Managed.DAFUL.FE
Assembly: VMFE.dll
This class is to represent the nodal body.
public class NodalBody : InstanceContainer, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, IContainer, ILinkContainer, IOwned, IHasID, IDocumentOwner, IReferencable, ITransformable, IVisible, IAssemblyOwner, IInterfaceTable, IGroup, IMultiChangable, IInstanceContainer, IEntityRelation, IMarkerParent, IModalBody, IBodyAnalysisType, IBody, ITemplateObject, IMassProp, IChainable, IChangableAssembly, INodalOutputContainer, ITemperatureComponent, IHeatGenerationComponent, IGeometricalComponent, IAutoContactableFlex, IAutoContactable, IHasMesh, IPostDeserialized, IHasMaterials, INodalBody
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
Implements
IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, IContainer, ILinkContainer, IOwned, IHasID, IDocumentOwner, IReferencable, ITransformable, IVisible, IAssemblyOwner, IInterfaceTable, IGroup, IMultiChangable, IInstanceContainer, IEntityRelation, IMarkerParent, IModalBody, IBodyAnalysisType, IBody, ITemplateObject, IMassProp, IChainable, IChangableAssembly, INodalOutputContainer, ITemperatureComponent, IHeatGenerationComponent, IGeometricalComponent, IAutoContactableFlex, IAutoContactable, IHasMesh, IPostDeserialized, IHasMaterials, INodalBody
Inherited Members
InstanceContainer.InitInterfaceTable(),
InstanceContainer.LinkRequestUpdate(object, LinkEventArgs),
InstanceContainer.BindInterface(),
InstanceContainer.BindInterface(ObjectBase, ObjectBase),
InstanceContainer.BindInterface(InstanceContainer.InterfaceTable),
InstanceContainer.Find(string),
InstanceContainer.FindLocal(string),
InstanceContainer.GetNewEntityName(string),
InstanceContainer.GetNewEntityName(string, bool, int),
InstanceContainer.GetNewEntityName(string, bool, int, int),
InstanceContainer.GetUnnamedObjectName(object),
InstanceContainer.MakeReferenceImpl(LinkedList
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
NodalBody(string, string, TransformBase)
Initializes a new instance of the
public NodalBody(string strName, string strMeshFilePath, TransformBase transf)
Parameters
strName string
Name of the nodal body.
strMeshFilePath string
The nodal body file path.
transf TransformBase
The transformation.
NodalBody(string, Instance)
Initializes a new instance of the
public NodalBody(string strName, Instance instanceNodalBody)
Parameters
strName string
Name of the nodal body.
instanceNodalBody Instance
The instance nodal body.
NodalBody()
Initializes a new instance of the
public NodalBody()
Properties
AnalysisType
Gets or sets the type of body.
BodyAnalysisType AnalysisType { get; set; }
Property Value
BodyAnalysisType
BodyType
Gets or sets the type of body.
[Obsolete]
public virtual FlexibleBodyType BodyType { get; set; }
Property Value
ChangedDocument
Gets the document.
Document ChangedDocument { get; }
Property Value
Document
FilePath
Gets or sets the file path.
string FilePath { get; }
Property Value
InitVel
Gets or sets the initial velocity.
public BodyPropertyBase.InitialVelocity InitVel { get; set; }
Property Value
BodyPropertyBase.InitialVelocity
IsModalBody
Gets a value indicating whether is modal body.
public bool IsModalBody { get; }
Property Value
LargeDeformation
Gets or sets the flag of large deformation.
public bool LargeDeformation { get; set; }
Property Value
MassCenter
Gets the mass center.
public Vector MassCenter { get; }
Property Value
Vector
MassCenterImpl
Gets the massCenter.
Vector MassCenterImpl { get; }
Property Value
Vector
MassValue
Gets the mass value.
public double MassValue { get; }
Property Value
MeshList
Gets the mesh container.
public List<mesh> MeshList { get; }
Property Value
ModalMassCenter
Gets the mass center for modal.
public Vector ModalMassCenter { get; }
Property Value
Vector
ModalMassValue
Gets the mass for modal.
public double ModalMassValue { get; }
Property Value
ModalMomentOfInertiaValue
Gets the inertial for modal.
public _MomentOfInertia ModalMomentOfInertiaValue { get; }
Property Value
MomentOfInertiaValue
Gets the moment of inertia value.
public _MomentOfInertia MomentOfInertiaValue { get; }
Property Value
MovingReferenceFrame
Gets or sets the moving reference frame.
public IMarker MovingReferenceFrame { get; set; }
Property Value
IMarker
NumberOfEdgeset
Gets the number of edgeset.
public int NumberOfEdgeset { get; }
Property Value
NumberOfElement
Gets the number of element.
public int NumberOfElement { get; }
Property Value
NumberOfElementset
Gets the number of elementset.
public int NumberOfElementset { get; }
Property Value
NumberOfFrequency
Gets the number of frequency.
public int NumberOfFrequency { get; }
Property Value
NumberOfNode
Gets the number of node.
public int NumberOfNode { get; }
Property Value
NumberOfNodeset
Gets the number of nodeset.
public int NumberOfNodeset { get; }
Property Value
NumberOfPatchset
Gets the number of patchset.
public int NumberOfPatchset { get; }
Property Value
NumberOfProperty
Gets the number of property.
public int NumberOfProperty { get; }
Property Value
ParentType
Gets the type of the parent.
MarkerParentType ParentType { get; }
Property Value
MarkerParentType
ReferenceFrameType
Gets the type of the reference frame.
MarkerReferenceFrameType ReferenceFrameType { get; }
Property Value
MarkerReferenceFrameType
ReferenceMarker
Gets or sets the reference marker.
public InvisibleMarker ReferenceMarker { get; set; }
Property Value
InvisibleMarker
TopologyEntityTypeName
Get the object type name
public override string TopologyEntityTypeName { get; }
Property Value
UseAdvancedOption
public bool UseAdvancedOption { get; set; }
Property Value
UseRMovingReferenceFrame
public bool UseRMovingReferenceFrame { get; set; }
Property Value
UseTMovingReferenceFrame
public bool UseTMovingReferenceFrame { get; set; }
Property Value
_MovingReferenceFrame
Gets or sets the moving reference frame.
public Linker<imarker> _MovingReferenceFrame { get; set; }
Property Value
Linker
Methods
ChangeNodalModal(BodyAnalysisType)
Change Nodal or Modal.
public void ChangeNodalModal(BodyAnalysisType type)
Parameters
type BodyAnalysisType
The flexible body type.
Create(SubSystemDocument, string, MeshDocument, TransformBase)
Create New
public static NodalBody Create(SubSystemDocument docToAdd, string strBodyName, MeshDocument meshDocument, TransformBase transformMesh)
Parameters
docToAdd SubSystemDocument
The
strBodyName string
The body name of new
meshDocument MeshDocument
The
transformMesh TransformBase
The
Returns
The new
Create(SubSystemDocument, string, MeshDocument)
Create New
public static NodalBody Create(SubSystemDocument docToAdd, string strBodyName, MeshDocument meshDocument)
Parameters
docToAdd SubSystemDocument
The
strBodyName string
The body name of new
meshDocument MeshDocument
The
Returns
The new
FindLocal(string)
Finds an object that matches a specified name in local.
public override IObjectBase FindLocal(string strName)
Parameters
strName string
Name to search for.
Returns
IObjectBase
An object that matches a specified name.
FixUp(ObjectBase)
Before destroy the old object, perform a work.
public override bool FixUp(ObjectBase ob)
Parameters
ob ObjectBase
The old object.
Returns
true if success; otherwise, false.
GetContactables()
Gets the contactable list.
public virtual ObjectBase[] GetContactables()
Returns
ObjectBase[]
the contactable list.
GetElementInformation()
Get element information.
public NodalBody.ElementInformation[] GetElementInformation()
Returns
NodalBody.ElementInformation[]
GetGeometryNavigatorInformation(XmlDocument, XmlElement)
Gets the geometry information for model navigator .
public virtual bool GetGeometryNavigatorInformation(XmlDocument xmlDom, XmlElement xmlEle)
Parameters
xmlDom XmlDocument
The XmlDocument information.
xmlEle XmlElement
The XmlElement information.
Returns
true if success; otherwise, false.
GetMassPropImpl(ref double, VectorBase, OMatrix, double[], bool)
Gets the mass property.
virtual void GetMassPropImpl(ref double dMass, VectorBase vecCenterPosition, OMatrix vecOrientation, double[] arTensor, bool bGlobal)
Parameters
dMass double
The mass.
vecCenterPosition VectorBase
The center position.
vecOrientation OMatrix
The orientation.
arTensor double[]
The tensor.
bGlobal bool
GetMeshesImpl()
Gets the meshes.
virtual ObjectBase[] GetMeshesImpl()
Returns
ObjectBase[]
The builders.
GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool)
Gets the object information for model navigator [implementation].
protected override bool GetModelNavigatorInformationImpl(XmlDocument xmlDom, XmlElement xmlRootEle, bool bHasChild)
Parameters
xmlDom XmlDocument
The XmlDocument for object.
xmlRootEle XmlElement
The XmlElement for object.
bHasChild bool
if set to true [has child].
Returns
true if success; otherwise, false.
GetNodePositions()
Get node position.
public NodalBody.NodeInformation[] GetNodePositions()
Returns
GetNodePositionsForMesh(Mesh, int)
public VectorBase GetNodePositionsForMesh(Mesh mesh, int nIndex)
Parameters
mesh Mesh
nIndex int
Returns
VectorBase
GetNodePositionsForMesh(Mesh)
Get node position for mesh.
public VectorBase[] GetNodePositionsForMesh(Mesh mesh)
Parameters
mesh Mesh
The owner mesh.
Returns
VectorBase[]
GetPointDirection(ref VectorBase, ref VectorBase, IReferencable)
Gets the point direction.
public virtual bool GetPointDirection(ref VectorBase point, ref VectorBase direction, IReferencable reference)
Parameters
point VectorBase
The point.
direction VectorBase
The direction.
reference IReferencable
The reference.
Returns
true if success; otherwise, false.
InitBodyType(BodyAnalysisType, bool)
Initialize body type.
public void InitBodyType(BodyAnalysisType type, bool bUpdateNavi)
Parameters
type BodyAnalysisType
The flexible body type.
bUpdateNavi bool
The Update Navigator.
InitBodyType(BodyAnalysisType)
Initialize body type.
public void InitBodyType(BodyAnalysisType type)
Parameters
type BodyAnalysisType
The flexible body type.
InitInterfaceTable()
Initialize the interface table.
public override void InitInterfaceTable()
Initialize(ConvertFactor)
Initializes member through unit convert factor.
public override void Initialize(Unit.ConvertFactor factor)
Parameters
factor Unit.ConvertFactor
The unit convert factor.
IsAutoContactable()
Determines whether the specified auto contactable.
public virtual bool IsAutoContactable()
Returns
true if the specified auto contactable; otherwise, false.
IsDestroyContainer()
Determines whether is [destroy container].
public override bool IsDestroyContainer()
Returns
true if is [destroy container]; otherwise, false.
IsOnlyLinearMaterial(ObjectBase)
Determines whether refer linear material only.
public static bool IsOnlyLinearMaterial(ObjectBase obNodalBody)
Parameters
obNodalBody ObjectBase
Returns
true if this instance refer only linear material; otherwise, false.
IsReadDFN()
Get indicates dfn file has been read.
public bool IsReadDFN()
Returns
true if read; otherwise, false.
LinkRequestUpdate(object, LinkEventArgs)
Request for update the linked object.
protected override void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)
Parameters
objNotifier object
The linked object.
arg LinkEventArgs
The
OnDeserialization(object)
Called when [deserialization].
protected override void OnDeserialization(object sender)
Parameters
sender object
The sender.
PostOpenDocumentAfterHookEvent()
Call when post [open document] after hook event.
public override void PostOpenDocumentAfterHookEvent()
ProcessDuplicateReferenceImpl(Reference)
Process for duplicated reference
protected override void ProcessDuplicateReferenceImpl(Reference refer)
Parameters
refer Reference
The reference.
ReAssembly()
public virtual void ReAssembly()
ReadTemplateImpl(XmlReader)
Reads the template document [implementation].
protected override void ReadTemplateImpl(XmlReader reader)
Parameters
reader XmlReader
The reader.
Redraw()
Redraw.
public override void Redraw()
RemoveDuplicatedReference()
Remove duplicated reference
void RemoveDuplicatedReference()
SetBodyAnalysisType(BodyAnalysisType)
public void SetBodyAnalysisType(BodyAnalysisType type)
Parameters
type BodyAnalysisType
SetMassPropImpl(double, VectorBase, OMatrix, double[], bool)
Sets the mass property.
virtual void SetMassPropImpl(double dMass, VectorBase vecCenterPosition, OMatrix vecOrientation, double[] arTensor, bool bGlobal)
Parameters
dMass double
The mass.
vecCenterPosition VectorBase
The center position.
vecOrientation OMatrix
The orientation.
arTensor double[]
The tensor.
bGlobal bool
SetNodeElementInformation(NodeInformation[], ElementInformation[])
Set node and element information.
public bool SetNodeElementInformation(NodalBody.NodeInformation[] arNodePos, NodalBody.ElementInformation[] arEleInfo)
Parameters
arNodePos NodalBody.NodeInformation[]
The node information.
arEleInfo NodalBody.ElementInformation[]
The element information.
Returns
true if success; otherwise, false.
SetNodePositions(Vector[], OMatrix[])
Set node position for mesh.
public bool SetNodePositions(Vector[] arvecPos, OMatrix[] armatOri)
Parameters
arvecPos Vector[]
The position array .
armatOri OMatrix[]
The orientation.
Returns
true if success; otherwise, false.
SetNodePositions(string)
Set node position for mesh.
public bool SetNodePositions(string strDFNPath)
Parameters
strDFNPath string
The dfn file path.
Returns
true if success; otherwise, false.
TransformImpl(TMatrix)
Transforms [implementation].
protected override void TransformImpl(TMatrix matT)
Parameters
matT TMatrix
The mat T.
WriteTemplateImpl(XmlWriter)
Writes the template document [implementation].
protected override void WriteTemplateImpl(XmlWriter writer)
Parameters
writer XmlWriter
The writer.