AreSurfaceMaterialPropertiesEqual

Checks whether named surface material compared to added surface material data have equivalent major properties.

UI Access None.
Parameters
Name Type Description
material_data <string> This will be the same format as the AddMaterial() input parameter, material_data. For example, material_data can be something like this.["NAME:Mold_Material", "CoordinateSystemType:=", "Cartesian", "BulkOrSurfaceType:=", 1, ["NAME:PhysicsTypes", "set:=", ["Thermal"] ], "thermal_conductivity:=", "0.8", "mass_density:=", "1980", "specific_heat:=", "960"]

<MaterialName>

<String>

Name of the surface material to compare with material database

Return Value

Boolean:

  • True – named surface materials have equivalent major properties.
  • False – named surface materials do not have equivalent major properties.

 

Python Syntax

AreSurfaceMaterialPropetiesEqual(<material_data>, '<MaterialName>')

Python Example

oDefinitionManager.AreSurfaceMaterialPropertiesEqual(material_data, 'Mold_Material')