SourceThermic#

class ansys.speos.core.source.SourceThermic(project, name, description='', metadata=None, source_instance=None, default_parameters=None)#

Bases: BaseSource

ThermicSource.

By default, an emissive faces type with lambertian intensity thermic source is created.

Parameters:
projectansys.speos.core.project.Project

Project that will own the feature.

namestr

Name of the feature.

descriptionstr

Description of the feature. By default, "".

metadataOptional[Mapping[str, str]]

Metadata of the feature. By default, {}.

default_parametersOptional[ ansys.speos.core.generic.parameters.ThermicSourceParameters] = None

If defined the values in the SourceThermic instance will be overwritten by the values of the data class.

Parameters:

Overview#

set_emissive_faces

Set the exitance of the thermic source to “emissive faces”.

set_temperature_field

Set the exitance of the thermic source to “temperature field”.

commit

Save feature: send the local data to the speos server database.

reset

Reset feature: override local data by the one from the speos server database.

delete

Delete feature: delete data from the speos server database.

emittance_type

Return emittance type of thermic source.

intensity

Intensity settings for the thermic source.

Import detail#

from ansys.speos.core.source import SourceThermic

Property detail#

property SourceThermic.emittance_type: SourceThermic | SourceThermic#

Return emittance type of thermic source.

property SourceThermic.intensity: ansys.speos.core.intensity.Intensity#

Intensity settings for the thermic source.

Returns:
ansys.speos.core.intensity.Intensity

Intensity object tied to the thermic source.

Method detail#

SourceThermic.set_emissive_faces()#

Set the exitance of the thermic source to “emissive faces”.

Returns:
ansys.speos.core.source.SourceThermic.EmissiveFaces

EmissiveFaces of surface source.

SourceThermic.set_temperature_field()#

Set the exitance of the thermic source to “temperature field”.

Returns:
ansys.speos.core.source.SourceThermic.TemperatureField

TemperatureField of surface source.

SourceThermic.commit()#

Save feature: send the local data to the speos server database.

Returns:
ansys.speos.core.source.SourceThermic

Thermic source feature.

SourceThermic.reset()#

Reset feature: override local data by the one from the speos server database.

Returns:
ansys.speos.core.source.SourceThermic

Thermic source feature.

SourceThermic.delete()#

Delete feature: delete data from the speos server database.

The local data are still available.

Returns:
ansys.speos.core.source.SourceThermic

Thermic Source feature.

Classes#

EmissiveFaces

Type of thermic source exitance : emissive faces.

TemperatureField

Type of thermic source exitance : temperature field.