This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
RadiationToAmbient.py
132 lines (116 loc) · 5.34 KB
/
RadiationToAmbient.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
from abaqusConstants import *
from .Interaction import Interaction
from ..Region.Region import Region
class RadiationToAmbient(Interaction):
"""The RadiationToAmbient object defines radiant heat transfer between a surface and its
environment.
The RadiationToAmbient object is derived from the Interaction object.
Notes
-----
This object can be accessed by:
.. code-block:: python
import interaction
mdb.models[name].interactions[name]
"""
def __init__(
self,
name: str,
createStepName: str,
surface: Region,
emissivity: float,
field: str = "",
distributionType: SymbolicConstant = UNIFORM,
radiationType: SymbolicConstant = AMBIENT,
ambientTemperature: float = 0,
ambientTemperatureAmp: str = "",
):
"""This method creates a RadiationToAmbient object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].RadiationToAmbient
Parameters
----------
name
A String specifying the repository key.
createStepName
A String specifying the name of the step in which the RadiationToAmbient object is
created.
surface
A Region object specifying the surface to which the radiation interaction is applied.
emissivity
A Float specifying the emissivity, ϵϵ.
field
A String specifying the name of the AnalyticalField object associated with this
interaction. The *field* argument applies only when *distributionType*=ANALYTICAL_FIELD.
The default value is an empty string.
distributionType
A SymbolicConstant specifying how the radiation is distributed. This argument applies
only when *radiationType*=AMBIENT. Possible values are UNIFORM and ANALYTICAL_FIELD. The
default value is UNIFORM.
radiationType
A SymbolicConstant specifying whether to use the default surface radiation behavior, or
the cavity radiation approximation. Possible values are AMBIENT and CAVITY. The default
value is AMBIENT.
ambientTemperature
A Float specifying the reference ambient temperature, θ0θ0. This argument applies only
when *radiationType*=AMBIENT. The default value is 0.0.
ambientTemperatureAmp
A String specifying the name of the Amplitude object that gives the variation of the
ambient temperature with time.Note:Use None in an Abaqus/Standard analysis to specify
that the reference ambient temperature is applied immediately at the beginning of the
step or linearly over the step. Use None in an Abaqus/Explicit analysis to specify that
the reference ambient temperature is applied throughout the step. This argument applies
only when *radiationType*=AMBIENT.
Returns
-------
A RadiationToAmbient object.
"""
super().__init__()
pass
def setValues(
self,
field: str = "",
distributionType: SymbolicConstant = UNIFORM,
radiationType: SymbolicConstant = AMBIENT,
ambientTemperature: float = 0,
ambientTemperatureAmp: str = "",
):
"""This method modifies the data for an existing RadiationToAmbient object in the step
where it is created.
Parameters
----------
field
A String specifying the name of the AnalyticalField object associated with this
interaction. The *field* argument applies only when *distributionType*=ANALYTICAL_FIELD.
The default value is an empty string.
distributionType
A SymbolicConstant specifying how the radiation is distributed. This argument applies
only when *radiationType*=AMBIENT. Possible values are UNIFORM and ANALYTICAL_FIELD. The
default value is UNIFORM.
radiationType
A SymbolicConstant specifying whether to use the default surface radiation behavior, or
the cavity radiation approximation. Possible values are AMBIENT and CAVITY. The default
value is AMBIENT.
ambientTemperature
A Float specifying the reference ambient temperature, θ0θ0. This argument applies only
when *radiationType*=AMBIENT. The default value is 0.0.
ambientTemperatureAmp
A String specifying the name of the Amplitude object that gives the variation of the
ambient temperature with time.Note:Use None in an Abaqus/Standard analysis to specify
that the reference ambient temperature is applied immediately at the beginning of the
step or linearly over the step. Use None in an Abaqus/Explicit analysis to specify that
the reference ambient temperature is applied throughout the step. This argument applies
only when *radiationType*=AMBIENT.
"""
pass
def setValuesInStep(self, stepName: str):
"""This method modifies the propagating data of an existing RadiationToAmbient object in
the specified step.
Parameters
----------
stepName
A String specifying the name of the step in which the interaction is modified.
"""
pass