Assembly: VM.API.Pre.dll This class implements APIs for material class.
Inheritance
object ← MaterialAPIExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Methods
CreateArrudaBoyce(IDocument, string, ExpressionValueVariable, ExpressionValueVariable, bool, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable)
Create ArrudaBoyce.Parameters
document IDocument
The document to create the arruda-boyce material.
name string
The name of the arruda-boyce material.
density ExpressionValueVariable
The density of the arruda-boyce material.
dampingRatio ExpressionValueVariable
The stiffness proportional damping ratio for the nodal flexible and EasyFlex bodies.
disableHScaleFactor bool
A value indicating whether to disable H Scale factor or not.
mu ExpressionValueVariable
The mu to set the elastic constant which is corresponding to the shear modulus in the linear material.
lambda ExpressionValueVariable
The lambda to set the locking stretch.
d ExpressionValueVariable
The d to set the incompressibility parameter to determine a penalty of the volume constraint.
Returns
Obj The new ArrudaBoyce object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ is null. ArgumentOutOfRangeException Will be thrown if ‘density’, ‘dampingRatio’ values less than 0.CreateArrudaBoyce(IDocument, string)
Create ArrudaBoyce.Parameters
document IDocument
The document to create the arruda-boyce material.
name string
The name of the arruda-boyce material.
Returns
Obj The new ArrudaBoyce object that is created by this API.CreateFoam(IDocument, string, ExpressionValueVariable, ExpressionValueVariable, bool, ExpressionValueVariable, Obj?)
Create Foam.Parameters
document IDocument
The document to create the foam material.
name string
The name of the foam material.
density ExpressionValueVariable
The density of the foam material.
dampingRatio ExpressionValueVariable
The stiffness proportional damping ratio for the nodal flexible and EasyFlex bodies.
disableHScaleFactor bool
A value indicating whether to disable H Scale factor or not.
youngsModulus ExpressionValueVariable
The Young’s modulus of the foam material.
spline Obj?
The spline to set the norminal strain-stress curve by using the spline picker.
Returns
Obj The new Foam object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ is null. ArgumentOutOfRangeException Will be thrown if ‘density’, ‘dampingRatio’, ‘youngsModulus’ values less than 0. ArgumentException Will be thrown if the type of ‘spline’ is not Spline.CreateFoam(IDocument, string)
Create Foam.Parameters
document IDocument
The document to create the foam material.
name string
The name of the foam material.
Returns
Obj The new Foam object that is created by this API.CreateISO(IDocument, string, ExpressionValueVariable, ExpressionValueVariable, bool, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable)
Create ISO.Parameters
document IDocument
The document to create the iso material.
name string
The name of the iso material.
density ExpressionValueVariable
The density of the iso material.
dampingRatio ExpressionValueVariable
The stiffness proportional damping ratio for the nodal flexible and EasyFlex bodies.
disableHScaleFactor bool
A value indicating whether to disable H Scale factor or not.
youngsModulus ExpressionValueVariable
The Young’s modulus of the iso material.
shearModulus ExpressionValueVariable
The shear modulus of the iso material.
poissonRatio ExpressionValueVariable
The Poisson’s ratio of the iso material.
thermalExpansionCoefficient ExpressionValueVariable
The thermal expansion coefficient of the iso material.
thermalConductivity ExpressionValueVariable
The thermal conductivity of the iso material.
specificHeat ExpressionValueVariable
The specific heat of the iso material.
referenceTemperature ExpressionValueVariable
The initial temperature of the iso material.
Returns
Obj The new ISO object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ is null. ArgumentOutOfRangeException Will be thrown if ‘density’, ‘dampingRatio’, ‘youngsModulus’, ‘shearModulus’, ‘poissonRatio’ values less than 0. ArgumentOutOfRangeException Will be thrown if ‘poissonRatio’ value is less than 0 or equal to 0.5 or more than 0.5.CreateISO(IDocument, string)
Create ISO.Parameters
document IDocument
The document to create the iso material.
name string
The name of the iso material.
Returns
Obj The new ISO object that is created by this API.CreateISONonlinearThermal(IDocument, string, ExpressionValueVariable, ExpressionValueVariable, bool, Obj, ExpressionValueVariable, Obj, Obj, Obj, ExpressionValueVariable)
Create ISONonlinearThermal.Parameters
document IDocument
The document to create the iso nonlinear thermal material.
name string
The name of the iso nonlinear thermal material.
density ExpressionValueVariable
The density of the iso nonlinear thermal material.
dampingRatio ExpressionValueVariable
The stiffness proportional damping ratio for the nodal flexible and EasyFlex bodies.
disableHScaleFactor bool
A value indicating whether to disable H Scale factor or not.
youngsModulusSpline Obj
The Young’s modulus spline of the iso nonlinear thermal material.
poissonRatio ExpressionValueVariable
The Poisson’s ratio of the iso nonlinear thermal material.
thermalExpansionCoefficientSpline Obj
The thermal expansion coefficient spline of the iso nonlinear thermal material.
thermalConductivitySpline Obj
The thermal conductivity spline of the iso nonlinear thermal material.
specificHeatSpline Obj
The specific heat spline of the iso nonlinear thermal material.
referenceTemperature ExpressionValueVariable
The initial temperature of the iso nonlinear thermal material.
Returns
Obj The new ISONonlinearThermal object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ is null. ArgumentOutOfRangeException Will be thrown if ‘density’, ‘dampingRatio’, ‘poissonRatio’ values less than 0. ArgumentOutOfRangeException Will be thrown if ‘poissonRatio’ value is less than 0 or equal to 0.5 or more than 0.5.CreateISONonlinearThermal(IDocument, string, Obj, Obj, Obj, Obj)
Create ISONonlinearThermal.Parameters
document IDocument
The document to create the iso nonlinear thermal material.
name string
The name of the iso nonlinear thermal material.
youngsModulusSpline Obj
The Young’s modulus spline of the iso nonlinear thermal material.
thermalExpansionCoefficientSpline Obj
The thermal expansion coefficient spline of the iso nonlinear thermal material.
thermalConductivitySpline Obj
The thermal conductivity spline of the iso nonlinear thermal material.
specificHeatSpline Obj
The specific heat spline of the iso nonlinear thermal material.
Returns
Obj The new ISONonlinearThermal object that is created by this API.CreateMooneyRivlin(IDocument, string, ExpressionValueVariable, ExpressionValueVariable, bool, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable)
Create MooneyRivlin.Parameters
document IDocument
The document to create the mooney-rivlin material.
name string
The name of the mooney-rivlin material.
density ExpressionValueVariable
The density of the mooney-rivlin material.
dampingRatio ExpressionValueVariable
The stiffness proportional damping ratio for the nodal flexible and EasyFlex bodies.
disableHScaleFactor bool
A value indicating whether to disable H Scale factor or not.
c10 ExpressionValueVariable
The c10 to set the elastic constant which is corresponding to the Young’s modulus in the linear material.
c01 ExpressionValueVariable
The c01 to set the 2nd elastic constant which is corresponding to the Young’s modulus in the linear material.
d ExpressionValueVariable
The d to set the incompressibility parameter to determine a penalty of the volume constraint.
Returns
Obj The new MooneyRivlin object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ is null. ArgumentOutOfRangeException Will be thrown if ‘density’, ‘dampingRatio’, ‘c10’ ‘c01’ values less than 0. Will be thrown if ‘d’ value equal to or less than 0. Will be thrown if ‘d’ value greater than 1.CreateMooneyRivlin(IDocument, string)
Create MooneyRivlin.Parameters
document IDocument
The document to create the mooney-rivlin material.
name string
The name of the mooney-rivlin material.
Returns
Obj The new MooneyRivlin object that is created by this API.CreateNeoHookean(IDocument, string, ExpressionValueVariable, ExpressionValueVariable, bool, ExpressionValueVariable, ExpressionValueVariable)
Create NeoHookean.Parameters
document IDocument
The document to create the neo-hookean material.
name string
The name of the neo-hookean material.
density ExpressionValueVariable
The density of the neo-hookean material.
dampingRatio ExpressionValueVariable
The stiffness proportional damping ratio for the nodal flexible and EasyFlex bodies.
disableHScaleFactor bool
A value indicating whether to disable H Scale factor or not.
c10 ExpressionValueVariable
The c10 to set the elastic constant which is corresponding to the Young’s modulus in the linear material.
d ExpressionValueVariable
The d to set the incompressibility parameter to determine a penalty of the volume constraint.
Returns
Obj The new NeoHookean object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ is null. ArgumentOutOfRangeException Will be thrown if ‘density’, ‘dampingRatio’, ‘c10’ values less than 0.CreateNeoHookean(IDocument, string)
Create NeoHookean.Parameters
document IDocument
The document to create the neo-hookean material.
name string
The name of the neo-hookean material.
Returns
Obj The new NeoHookean object that is created by this API.CreateORTHO(IDocument, string, ExpressionValueVariable, ExpressionValueVariable, bool, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable)
Create Ortho.Parameters
document IDocument
The document to create the orthotropic material.
name string
The name of the orthotropic material.
density ExpressionValueVariable
The density of the orthotropic material.
dampingRatio ExpressionValueVariable
The stiffness proportional damping ratio for the nodal flexible and EasyFlex bodies.
disableHScaleFactor bool
A value indicating whether to disable H Scale factor or not.
youngsModulusX ExpressionValueVariable
The Young’s modulus of x-direction of the orthotropic material.
youngsModulusY ExpressionValueVariable
The Young’s modulus of y-direction of the orthotropic material.
youngsModulusZ ExpressionValueVariable
The Young’s modulus of z-direction of the orthotropic material.
poissonRatioXY ExpressionValueVariable
The xy-Poisson’s ratio of the orthotropic material.
poissonRatioYZ ExpressionValueVariable
The yz-Poisson’s ratio of the orthotropic material.
poissonRatioXZ ExpressionValueVariable
The xz-Poisson’s ratio of the orthotropic material.
shearModulusXY ExpressionValueVariable
The xy-Shear modulus of the orthotropic material.
shearModulusYZ ExpressionValueVariable
The yz-Shear modulus of the orthotropic material.
shearModulusXZ ExpressionValueVariable
The xz-Shear modulus of the orthotropic material.
Returns
Obj The new Ortho object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ is null. ArgumentOutOfRangeException Will be thrown if ‘density’, ‘dampingRatio’, ‘youngsModulusX’, ‘youngsModulusY’, ‘youngsModulusZ’, ‘poissonRatioXY’, ‘poissonRatioYZ’, ‘poissonRatioXZ’, ‘shearModulusXY’, ‘shearModulusYZ’, ‘shearModulusXZ’ values less than 0. ArgumentOutOfRangeException Will be thrown if ‘poissonRatioXY’, ‘poissonRatioYZ’, ‘poissonRatioXZ’ value is less than 0 or equal to 0.5 or more than 0.5.CreateORTHO(IDocument, string)
Create Ortho.Parameters
document IDocument
The document to create the orthotropic material.
name string
The name of the orthotropic material.
Returns
Obj The new Ortho object that is created by this API.CreateOgden(IDocument, string, ExpressionValueVariable, ExpressionValueVariable, bool, IEnumerable<OgdenContents>)
Create Ogden.Parameters
document IDocument
The document to create the ogden material.
name string
The name of the ogden material.
density ExpressionValueVariable
The density of the ogden material.
dampingRatio ExpressionValueVariable
The stiffness proportional damping ratio for the nodal flexible and EasyFlex bodies.
disableHScaleFactor bool
A value indicating whether to disable H Scale factor or not.
ogdenContents IEnumerable<OgdenContents>
The ogden contents array.
Returns
Obj The new Ogden object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ is null. ArgumentOutOfRangeException Will be thrown if ‘density’, ‘dampingRatio’ values less than 0.CreateOgden(IDocument, string)
Create Ogden.Parameters
document IDocument
The document to create the ogden material.
name string
The name of the ogden material.
Returns
Obj The new Ogden object that is created by this API.CreatePlasticBilinear(IDocument, string, Obj, ExpressionValueVariable, ExpressionValueVariable, ExpressionValueVariable)
Create PlasticBilinear.Parameters
document IDocument
The document to create the plastic bi-linear material.
name string
The name of the plastic bi-linear material.
linearMaterial Obj
The linear elastic material.
et ExpressionValueVariable
The plastic hardening modulus.
initialYieldingStress ExpressionValueVariable
The initial yielding stress.
linearKinematicHardening ExpressionValueVariable
The hardening type.
Returns
Obj The new PlasticBilinear object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ is null. ArgumentOutOfRangeException Will be thrown if ‘plasticHardeningModulus’, ‘initialYieldingStress’, ‘hardeningParameter’ values less than 0.CreatePlasticBilinear(IDocument, string, Obj)
Create PlasticBilinear.Parameters
document IDocument
The document to create the plastic bi-linear material.
name string
The name of the plastic bi-linear material.
linearMaterial Obj
The linear elastic material.
Returns
Obj The new PlasticBilinear object that is created by this API.CreatePlasticMultilinear(IDocument, string, Obj, ExpressionValueVariable, ExpressionValueVariable, Obj?)
Create PlasticMultilinear.Parameters
document IDocument
The document to create the plastic multi-linear material.
name string
The name of the plastic multi-linear material.
linearMaterial Obj
The linear elastic material.
initialYieldingStress ExpressionValueVariable
The initial yielding stress.
linearKinematicHardening ExpressionValueVariable
The hardening type.
spline Obj?
.
Returns
Obj The new PlasticMultilinear object that is created by this API.Exceptions
ArgumentNullException Will be thrown if ‘document’ is null. ArgumentOutOfRangeException Will be thrown if ‘plasticHardeningModulus’, ‘initialYieldingStress’, ‘hardeningParameter’ values less than 0. ArgumentException Will be thrown if the type of ‘spline’ is not Spline.CreatePlasticMultilinear(IDocument, string, Obj)
Create PlasticMultilinear.Parameters
document IDocument
The document to create the plastic multi-linear material.
name string
The name of the plastic multi-linear material.
linearMaterial Obj
The linear elastic material.
Returns
Obj The new PlasticMultilinear object that is created by this API.CreateSplineForMaterial(Obj, IEnumerable<Point>)
Create spline for material.Parameters
material Obj
The material to be updated.
data IEnumerable<SplineData.Point>
The data of spline X, Y.