MaterialTuningInput#

class ansys.additive.core.material_tuning.MaterialTuningInput(*, experiment_data_file: str, material_configuration_file: str, thermal_properties_lookup_file: str, characteristic_width_lookup_file: str = None, allowable_error: float = 0.05, max_iterations: int = 15, base_plate_temperature: float = 353.15)#

Bases: ansys.additive.core.simulation_input_base.SimulationInputBase

Provides input parameters for tuning a custom material.

Parameters:
experiment_data_file: str

Name of the CSV file containing the experimental results data.

material_configuration_file: str

Name of the JSON file containing the material parameters.

thermal_properties_lookup_file: str

Name of the CSV file containing a lookup table for thermal-dependent properties.

characteristic_width_lookup_file: str, None

Name of the CSV file containing a lookup table for the characteristic melt pool width at a given temperature. The default is None, in which case the characteristic width is calculated. However, a value must be provided for the base_plate_temperature parameter.

allowable_error: float, 0.05

Maximum allowable error between experimental and simulated results. The default is 0.05, which is 5 percent.

max_iterations: int, 15

Maximum number of iterations to perform when trying to match simulation results to an experiment if the allowable error is not met.

base_plate_temperature: float, 353.15

Temperature of the base plate in Kelvin. This is only required if the value for the characteristic_width_lookup_file parameter is None. This value is ignored otherwise. The default is 353.15 K, which is 80 C.

Overview#

Import detail#

from ansys.additive.core.material_tuning import MaterialTuningInput

Attribute detail#

MaterialTuningInput.allowable_error#
MaterialTuningInput.max_iterations#
MaterialTuningInput.experiment_data_file#
MaterialTuningInput.material_configuration_file#
MaterialTuningInput.thermal_properties_lookup_file#
MaterialTuningInput.characteristic_width_lookup_file#
MaterialTuningInput.base_plate_temperature#

Method detail#

MaterialTuningInput.__repr__()#
MaterialTuningInput.__eq__(other: object) bool#