SourceThermic#
- class ansys.speos.core.source.SourceThermic(project, name, description='', metadata=None, source_instance=None, default_parameters=None)#
Bases:
BaseSourceThermicSource.
By default, an emissive faces type with lambertian intensity thermic source is created.
- Parameters:
- project
ansys.speos.core.project.Project Project that will own the feature.
- name
str Name of the feature.
- description
str Description of the feature. By default,
"".- metadata
Optional[Mapping[str,str]] Metadata of the feature. By default,
{}.- default_parameters
Optional[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.
- project
- Parameters:
project (SourceThermic.__init__.project)
name (str)
description (str)
source_instance (Optional[ansys.speos.core.kernel.scene.ProtoScene.SourceInstance])
default_parameters (Optional[ansys.speos.core.generic.parameters.ThermicSourceParameters])
Overview#
Set the exitance of the thermic source to “emissive faces”. |
|
Set the exitance of the thermic source to “temperature field”. |
|
Save feature: send the local data to the speos server database. |
|
Reset feature: override local data by the one from the speos server database. |
|
Delete feature: delete data from the speos server database. |
Return emittance type of thermic source. |
|
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.IntensityIntensity 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.EmissiveFacesEmissiveFaces of surface source.
- SourceThermic.set_temperature_field()#
Set the exitance of the thermic source to “temperature field”.
- Returns:
ansys.speos.core.source.SourceThermic.TemperatureFieldTemperatureField of surface source.
- SourceThermic.commit()#
Save feature: send the local data to the speos server database.
- Returns:
ansys.speos.core.source.SourceThermicThermic source feature.
- SourceThermic.reset()#
Reset feature: override local data by the one from the speos server database.
- Returns:
ansys.speos.core.source.SourceThermicThermic source feature.
- SourceThermic.delete()#
Delete feature: delete data from the speos server database.
The local data are still available.
- Returns:
ansys.speos.core.source.SourceThermicThermic Source feature.
Classes#
Type of thermic source exitance : emissive faces. |
|
Type of thermic source exitance : temperature field. |