Library | Module

Class pfcMaterial



Description

This class provides information about a material.
Direct Parent Classes:
pfcParameterOwner, pfcChild



Property Summary

stringBendTable
The bend table
stringCondition
The condition
/* optional */ stringCrossHatchFile
The name of the cross-hatching file used in detailing for this material.
/* optional */ stringDescription
The material description string.
numberEmissivity
The emissivity
/* optional */ stringFailureCriterion
The failure criterion.
/* optional */ stringFatigueMaterialFinish
The fatigue material finish.
/* optional */ stringFatigueMaterialType
The fatigue material type.
/* optional */ stringFatigueType
The fatigue type.
pfcMaterialTypeFluidMaterialType
The material type for the fluid properties.
numberHardness
The hardness
/* optional */ stringHardnessType
The hardness type.
/* readonly */ numberId
The id of the material
numberInitBendYFactor
The initial bend Y-factor
numberMassDensity
The mass density
/* optional */ stringMaterialModel
The type of hyperelastic material model.
/* optional */ booleanModelDefByTests
Specifies whether the selected hyperelastic material model is defined using test data.
/* readonly */ stringName
The name of the material
/* readonly */ stringseqPermittedFailureCriteria
A list of the permitted string values for the material failure criterion.
/* readonly */ stringseqPermittedFatigueMaterialFinishes
A list of the permitted string values for the material fatigue material finish.
/* readonly */ stringseqPermittedFatigueMaterialTypes
A list of the permitted string values for the material fatigue material type.
/* readonly */ stringseqPermittedFatigueTypes
A list of the permitted string values for the material fatigue type.
/* readonly */ stringseqPermittedMaterialModels
A list of the permitted string values for the material model.
/* readonly */ stringseqPermittedSubTypes
A list of the permitted string values for the material sub type.
numberPoissonRatio
The isotropic Poisson's ratio
numberShearModulus
The isotropic shear modulus
numberSpecificHeat
The specific heat
numberStressLimCompress
The isotropic compression ultimate stress.
numberStressLimShear
The shear ultimate stress.
numberStressLimTension
The isotropic tensile ultimate stress.
numberStructDampCoef
The structural damping coefficient
pfcMaterialTypeStructuralMaterialType
The material type for the structural properties.
/* optional */ stringSubType
The isotropic material type's sub type.
pfcMaterialTypeThermalMaterialType
The material type for the thermal properties.
numberThermConductivity
The isotropic thermal conductivity
numberThermExpCoef
The isotropic thermal expansion coefficient
numberThermExpRefTemp
The thermal expansion reference temperature
numberYoungModulus
The isotropic Young's modulus



Method Summary

voidDelete ()
Deletes the material from the part's database.
/* optional */ pfcMaterialPropertyGetPropertyValue (pfcMaterialPropertyType Type)
Returns the value and units for a material property.
voidRemoveProperty (pfcMaterialPropertyType Type)
Removes a material property.
voidSave (string FileName)
Writes the specified part material to a file.
voidSetCurrent ()
Sets the current material to its owner part.
voidSetPropertyUnits (pfcMaterialPropertyType Type, string Units, /* optional */ boolean Convert)
Sets the units for a material property.
voidSetPropertyValue (pfcMaterialPropertyType Type, pfcMaterialProperty Value)
Sets the value and units for a material property.



Property Detail


stringBendTable

The bend table

If this property is not set on the material, an attempt to retrieve it will throw a pfcXToolkitNotFound exception.




stringCondition

The condition

If this property is not set on the material, an attempt to retrieve it will throw a pfcXToolkitNotFound exception.




/* optional */ stringCrossHatchFile

The name of the cross-hatching file used in detailing for this material.




/* optional */ stringDescription

The material description string.




numberEmissivity

The emissivity

If this property is not set on the material, an attempt to retrieve it will throw a pfcXToolkitNotFound exception.




/* optional */ stringFailureCriterion

The failure criterion.

Must be one of the members of pfcMaterial.PermittedFailureCriteria




/* optional */ stringFatigueMaterialFinish

The fatigue material finish.

Must be one of the members of pfcMaterial.PermittedFatigueMaterialFinishes




/* optional */ stringFatigueMaterialType

The fatigue material type.

Must be one of the members of pfcMaterial.PermittedFatigueMaterialTypes




/* optional */ stringFatigueType

The fatigue type.

Must be one of the members of pfcMaterial.PermittedFatigueTypes




pfcMaterialTypeFluidMaterialType

The material type for the fluid properties.




numberHardness

The hardness

If this property is not set on the material, an attempt to retrieve it will throw a pfcXToolkitNotFound exception.




/* optional */ stringHardnessType

The hardness type.




/* readonly */ numberId

The id of the material




numberInitBendYFactor

The initial bend Y-factor

If this property is not set on the material, an attempt to retrieve it will throw a pfcXToolkitNotFound exception.




numberMassDensity

The mass density

This accesses the property value in the units of the model that owns this material. To access the value using its assigned units as you would find in the user interface, use pfcMaterial.GetPropertyValue() and pfcMaterial.SetPropertyValue().




/* optional */ stringMaterialModel

The type of hyperelastic material model.

Must be one of the members of pfcMaterial.PermittedMaterialModels




/* optional */ booleanModelDefByTests

Specifies whether the selected hyperelastic material model is defined using test data.




/* readonly */ stringName

The name of the material




/* readonly */ stringseqPermittedFailureCriteria

A list of the permitted string values for the material failure criterion.




/* readonly */ stringseqPermittedFatigueMaterialFinishes

A list of the permitted string values for the material fatigue material finish.




/* readonly */ stringseqPermittedFatigueMaterialTypes

A list of the permitted string values for the material fatigue material type.




/* readonly */ stringseqPermittedFatigueTypes

A list of the permitted string values for the material fatigue type.




/* readonly */ stringseqPermittedMaterialModels

A list of the permitted string values for the material model.




/* readonly */ stringseqPermittedSubTypes

A list of the permitted string values for the material sub type.




numberPoissonRatio

The isotropic Poisson's ratio

If this property is not set on the material, an attempt to retrieve it will throw a pfcXToolkitNotFound exception.




numberShearModulus

The isotropic shear modulus






numberSpecificHeat

The specific heat






numberStressLimCompress

The isotropic compression ultimate stress.

  • This accesses the property value in the units of the model that owns this material. To access the value using its assigned units as you would find in the user interface, use pfcMaterial.GetPropertyValue() and pfcMaterial.SetPropertyValue().
  • If this property is not set on the material, an attempt to retrieve it will throw a pfcXToolkitNotFound exception.
  • Compression stress values must be negative.
  • If the current material failure criterion doesn't accept this type, an attempt to set it will throw a pfcXToolkitBadContext exception.





numberStressLimShear

The shear ultimate stress.






numberStressLimTension

The isotropic tensile ultimate stress.






numberStructDampCoef

The structural damping coefficient






pfcMaterialTypeStructuralMaterialType

The material type for the structural properties.




/* optional */ stringSubType

The isotropic material type's sub type.

Must be one of the members of pfcMaterial.PermittedSubTypes




pfcMaterialTypeThermalMaterialType

The material type for the thermal properties.




numberThermConductivity

The isotropic thermal conductivity






numberThermExpCoef

The isotropic thermal expansion coefficient






numberThermExpRefTemp

The thermal expansion reference temperature






numberYoungModulus

The isotropic Young's modulus







Method Detail


voidDelete ()

Deletes the material from the part's database.



/* optional */ pfcMaterialPropertyGetPropertyValue (pfcMaterialPropertyType Type)

Returns the value and units for a material property.

Exceptions thrown (but not limited to):

pfcXToolkitNotFound - This means either:

  • The material property unit type was not recognized, OR
  • The material does not have this property assigned.


Parameters:
Type
The type of property to retrieve.
Returns:
The value and units, or null, if the property is not set on the material.



voidRemoveProperty (pfcMaterialPropertyType Type)

Removes a material property.

Exceptions thrown (but not limited to):

pfcXToolkitNotFound - This property does not exist on the material.

pfcXToolkitBadContext - This property cannot be deleted on the material (because other properties assigned to the material already do not permit it).


Parameters:
Type
The type of property to remove.



voidSave (string FileName)

Writes the specified part material to a file.

Exceptions thrown (but not limited to):

pfcXToolkitBadContext - The function is not available in Design Test Mode.


Parameters:
FileName
The name of the output material file



voidSetCurrent ()

Sets the current material to its owner part.



voidSetPropertyUnits (pfcMaterialPropertyType Type, string Units, /* optional */ boolean Convert)

Sets the units for a material property.

Exceptions thrown (but not limited to):

pfcXToolkitBadContext - This property cannot be created on the material (because other properties assigned to the material already do not permit it).

pfcXToolkitNotValid - The new value for the property lies outside the permitted ranges for the property.

pfcXToolkitInvalidType - The new units for the property are not correct for this property type.

pfcXToolkitCantModify - Cannot change the value of the property because it is driven by a parameter, relation or function.


Parameters:
Type
The type of property to set.
Units
The units to use for the property.
Convert
true to convert the property value to the new units. false or null to interpret the current value in the new units.



voidSetPropertyValue (pfcMaterialPropertyType Type, pfcMaterialProperty Value)

Sets the value and units for a material property.

If the property doesn't exist on the material, this method creates it.

Exceptions thrown (but not limited to):

pfcXToolkitBadContext - This property cannot be created on the material (because other properties assigned to the material already do not permit it).

pfcXToolkitNotValid - The new value for the property lies outside the permitted ranges for the property.

pfcXToolkitInvalidType - The new units for the property are not correct for this property type.

pfcXToolkitCantModify - Cannot change the value of the property because it is driven by a parameter, relation or function.


See Also:
pfcMaterialProperty.Create()
Parameters:
Type
The type of property to set.
Value
The value and units to use for the property