GeneralStep.add_temperature_field

GeneralStep.add_temperature_field(field, node)[source]

Add a temperature field to the Step object.

Parameters:
fieldcompas_fea2.problem.fields.PrescribedTemperatureField

The temperature field to add.

node:class=`compas_fea2.model.Node`

The node to which the temperature field is applied.

Returns:
compas_fea2.problem.fields.PrescribedTemperatureField

The temperature field that was added.