assign_thermal_condition_uniform#

Mechanical.assign_thermal_condition_uniform(assignment: list, temperature: str, name: str | None = '') BoundaryObject#

Assign a Mechanical excitation as thermal condition, with uniform temperature.

Note

This method works only in a Mechanical Structural analysis.

Parameters:
assignmentlist

List of faces to apply to the fixed support.

temperaturestr

Temperature of the thermal condition with units.

namestr, optional

Name of the boundary. The default is "", in which case the default name is used.

Returns:
aedt.modules.boundary.Boundary object

Boundary object.

References

>>> oModule.AssignThermalCondition

Examples

>>> from ansys.aedt.core import Mechanical
>>> from ansys.aedt.core.generic.constants import SolutionsMechanical
>>> obj = Mechanical(solution_type=SolutionsMechanical.Structural)
>>> obj.assign_thermal_condition_uniform(assignment=["Bracket"], temperature="100C")