This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
CavityRadiation.py
683 lines (640 loc) · 38.3 KB
/
CavityRadiation.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
from abaqusConstants import *
from .Interaction import Interaction
from ..BasicGeometry.ModelDot import ModelDot
from ..Region.RegionArray import RegionArray
class CavityRadiation(Interaction):
"""The CavityRadiation object defines cavities for thermal radiation heat transfer and
controls the calculation of viewfactors.
The CavityRadiation object is derived from the Interaction object.
Attributes
----------
name: str
A String specifying the repository key.
ambientTemp: float
None or a Float specifying the reference ambient temperature value, θ0θ0. Specifying a
value indicates an open cavity. The default value is None.
minInfinitesimalRatio: float
A Float specifying the facet area ratio above which the infinitesimal-to-finite area
approximation is used for viewfactor calculations. The default value is 64.0.
numPointsPerEdge: int
An Int specifying the number of Gauss integration points to be used along each edge when
the numerical integration of contour integrals is used for viewfactor calculations. One
to five integration points are allowed. The default value is 3.
minLumpedAreaDS: float
A Float specifying the nondimensional distance-square value above which the lumped area
approximation is used for viewfactor calculations. The default value is 5.0.
cyclicSymmetry: Boolean
A Boolean specifying whether cyclic symmetry will be applied. This argument cannot be
specified for axisymmetric models. The default value is OFF.
cyclicImages: int
An Int specifying the number of cyclically similar images that compose the cavity formed
as a result of this symmetry. This argument applies only when **cyclicSymmetry=ON**. The
default value is 2.
periodicSymmetries: int
An Int specifying the number of periodic symmetries that will be applied. The default
value is 0.
periodicImages_1: int
An Int specifying the number of repetitions used in the numerical calculation of the
cavity viewfactors resulting from the first periodic symmetry. The result of this
symmetry is a cavity composed of the cavity surface defined in the model plus twice the
value of **periodicImages_1**. This argument applies only when **periodicSymmetries** is
greater than zero. The default value is 2.
periodicImages_2: int
An Int specifying the number of repetitions used in the numerical calculation of the
cavity viewfactors resulting from the second periodic symmetry. The result of this
symmetry is a cavity composed of the cavity surface defined in the model plus twice the
value of **periodicImages_2**. This argument applies only when **periodicSymmetries** is
greater than one. The default value is 2.
periodicImages_3: int
An Int specifying the number of repetitions used in the numerical calculation of the
cavity viewfactors resulting from the third periodic symmetry. The result of this
symmetry is a cavity composed of the cavity surface defined in the model plus twice the
value of **periodicImages_3**. This argument applies only when **periodicSymmetries** = 3.
The default value is 2.
periodicSymZ: float
None or a Float specifying the Z value indicating the symmetry reference line in
axisymmetric models. This argument applies only for axisymmetric models, and when
**periodicSymmetries** = 1. The default value is None.
periodicDistZ: float
None or a Float specifying the Z value indicating the periodic distance in axisymmetric
models. This argument applies only for axisymmetric models, and when
**periodicSymmetries** = 1. The default value is None.
reflectionSymmetries: int
An Int specifying the number of reflection symmetries will be applied. The default value
is 0.
reflectionSymZ: float
None or a Float specifying the Z value indicating the symmetry reference line in
axisymmetric models. This argument applies only for axisymmetric models, and when
**reflectionSymmetries** = 1. The default value is None.
createStepName: str
A String specifying the name of the step in which the cavity radiation interaction
should be created.
surfaces: RegionArray
A :py:class:`~abaqus.Region.RegionArray.RegionArray` object specifying the surfaces for which radiation viewfactor control is
being specified.
surfaceEmissivities: tuple
A tuple of Strings specifying the names of the Cavity Radiation properties containing
the surface emissivity data. One name per specified surface. The emissivity data is
ignored when **surfaceReflection=OFF**.
cyclicRotPt: ModelDot
A :py:class:`~abaqus.BasicGeometry.ModelDot.ModelDot` object specifying the rotation axis point. This argument applies only when
**cyclicSymmetry=ON**.
cyclicRotEndPt: ModelDot
A :py:class:`~abaqus.BasicGeometry.ModelDot.ModelDot` object specifying the rotation axis end point. This argument applies only for
three-dimensional models, and only when **cyclicSymmetry=ON**.
cyclicSymPt: ModelDot
A :py:class:`~abaqus.BasicGeometry.ModelDot.ModelDot` object specifying the symmetry axis end point. This argument applies only
when **cyclicSymmetry=ON**.
periodicDistance_1: tuple
A tuple of tuples of Floats specifying the two points of the vector that describes the
periodic distance for the first periodic symmetry. Each point is defined by a tuple of
three coordinates indicating its position. This argument applies only when
**periodicSymmetries** is greater than zero. The default value is an empty sequence.
periodicDistance_2: tuple
A tuple of tuples of Floats specifying the two points of the vector that describes the
periodic distance for the second periodic symmetry. Each point is defined by a tuple of
three coordinates indicating its position. This argument applies only when
**periodicSymmetries** is greater than one. The default value is an empty sequence.
periodicDistance_3: tuple
A tuple of tuples of Floats specifying the two points of the vector that describes the
periodic distance for the third periodic symmetry. Each point is defined by a tuple of
three coordinates indicating its position. This argument applies only when
**periodicSymmetries** = 3. The default value is an empty sequence.
Notes
-----
This object can be accessed by:
.. code-block:: python
import interaction
mdb.models[name].interactions[name]
The corresponding analysis keywords are:
- CAVITY DEFINITION
- CYCLIC
- EMISSIVITY
- PERIODIC
- RADIATION SYMMETRY
- RADIATION VIEWFACTOR
- REFLECTION
"""
# A String specifying the repository key.
name: str = ""
# None or a Float specifying the reference ambient temperature value, θ0θ0. Specifying a
# value indicates an open cavity. The default value is None.
ambientTemp: float = None
# A Float specifying the facet area ratio above which the infinitesimal-to-finite area
# approximation is used for viewfactor calculations. The default value is 64.0.
minInfinitesimalRatio: float = 64
# An Int specifying the number of Gauss integration points to be used along each edge when
# the numerical integration of contour integrals is used for viewfactor calculations. One
# to five integration points are allowed. The default value is 3.
numPointsPerEdge: int = 3
# A Float specifying the nondimensional distance-square value above which the lumped area
# approximation is used for viewfactor calculations. The default value is 5.0.
minLumpedAreaDS: float = 5
# A Boolean specifying whether cyclic symmetry will be applied. This argument cannot be
# specified for axisymmetric models. The default value is OFF.
cyclicSymmetry: Boolean = OFF
# An Int specifying the number of cyclically similar images that compose the cavity formed
# as a result of this symmetry. This argument applies only when *cyclicSymmetry*=ON. The
# default value is 2.
cyclicImages: int = 2
# An Int specifying the number of periodic symmetries that will be applied. The default
# value is 0.
periodicSymmetries: int = 0
# An Int specifying the number of repetitions used in the numerical calculation of the
# cavity viewfactors resulting from the first periodic symmetry. The result of this
# symmetry is a cavity composed of the cavity surface defined in the model plus twice the
# value of *periodicImages_1*. This argument applies only when *periodicSymmetries* is
# greater than zero. The default value is 2.
periodicImages_1: int = 2
# An Int specifying the number of repetitions used in the numerical calculation of the
# cavity viewfactors resulting from the second periodic symmetry. The result of this
# symmetry is a cavity composed of the cavity surface defined in the model plus twice the
# value of *periodicImages_2*. This argument applies only when *periodicSymmetries* is
# greater than one. The default value is 2.
periodicImages_2: int = 2
# An Int specifying the number of repetitions used in the numerical calculation of the
# cavity viewfactors resulting from the third periodic symmetry. The result of this
# symmetry is a cavity composed of the cavity surface defined in the model plus twice the
# value of *periodicImages_3*. This argument applies only when *periodicSymmetries* = 3.
# The default value is 2.
periodicImages_3: int = 2
# None or a Float specifying the Z value indicating the symmetry reference line in
# axisymmetric models. This argument applies only for axisymmetric models, and when
# *periodicSymmetries* = 1. The default value is None.
periodicSymZ: float = None
# None or a Float specifying the Z value indicating the periodic distance in axisymmetric
# models. This argument applies only for axisymmetric models, and when
# *periodicSymmetries* = 1. The default value is None.
periodicDistZ: float = None
# An Int specifying the number of reflection symmetries will be applied. The default value
# is 0.
reflectionSymmetries: int = 0
# None or a Float specifying the Z value indicating the symmetry reference line in
# axisymmetric models. This argument applies only for axisymmetric models, and when
# *reflectionSymmetries* = 1. The default value is None.
reflectionSymZ: float = None
# A String specifying the name of the step in which the cavity radiation interaction
# should be created.
createStepName: str = ""
# A RegionArray object specifying the surfaces for which radiation viewfactor control is
# being specified.
surfaces: RegionArray = RegionArray()
# A tuple of Strings specifying the names of the Cavity Radiation properties containing
# the surface emissivity data. One name per specified surface. The emissivity data is
# ignored when *surfaceReflection*=OFF.
surfaceEmissivities: tuple = ()
# A ModelDot object specifying the rotation axis point. This argument applies only when
# *cyclicSymmetry*=ON.
cyclicRotPt: ModelDot = ModelDot()
# A ModelDot object specifying the rotation axis end point. This argument applies only for
# three-dimensional models, and only when *cyclicSymmetry*=ON.
cyclicRotEndPt: ModelDot = ModelDot()
# A ModelDot object specifying the symmetry axis end point. This argument applies only
# when *cyclicSymmetry*=ON.
cyclicSymPt: ModelDot = ModelDot()
# A tuple of tuples of Floats specifying the two points of the vector that describes the
# periodic distance for the first periodic symmetry. Each point is defined by a tuple of
# three coordinates indicating its position. This argument applies only when
# *periodicSymmetries* is greater than zero. The default value is an empty sequence.
periodicDistance_1: tuple = ()
# A tuple of tuples of Floats specifying the two points of the vector that describes the
# periodic distance for the second periodic symmetry. Each point is defined by a tuple of
# three coordinates indicating its position. This argument applies only when
# *periodicSymmetries* is greater than one. The default value is an empty sequence.
periodicDistance_2: tuple = ()
# A tuple of tuples of Floats specifying the two points of the vector that describes the
# periodic distance for the third periodic symmetry. Each point is defined by a tuple of
# three coordinates indicating its position. This argument applies only when
# *periodicSymmetries* = 3. The default value is an empty sequence.
periodicDistance_3: tuple = ()
def __init__(
self,
name: str,
createStepName: str,
surfaces: RegionArray,
surfaceEmissivities: tuple = (),
ambientTemp: float = None,
blocking: SymbolicConstant = BLOCKING_ALL,
blockingSurfaces: RegionArray = None,
rangeOfView: float = None,
surfaceReflection: Boolean = ON,
viewfactorAccurTol: float = 0,
minInfinitesimalRatio: float = 64,
numPointsPerEdge: int = 3,
minLumpedAreaDS: float = 5,
cyclicSymmetry: Boolean = OFF,
cyclicImages: int = 2,
cyclicRotPt: ModelDot = ModelDot(),
cyclicRotEndPt: ModelDot = ModelDot(),
cyclicSymPt: ModelDot = ModelDot(),
periodicSymmetries: int = 0,
periodicImages_1: int = 2,
periodicImages_2: int = 2,
periodicImages_3: int = 2,
periodicSymAxis_1: str = "",
periodicSymAxis_2: str = "",
periodicSymPlane_1: str = "",
periodicSymPlane_2: str = "",
periodicSymPlane_3: str = "",
periodicDistance_1: tuple = (),
periodicDistance_2: tuple = (),
periodicDistance_3: tuple = (),
periodicSymZ: float = None,
periodicDistZ: float = None,
reflectionSymmetries: int = 0,
reflectionSymAxis_1: str = "",
reflectionSymAxis_2: str = "",
reflectionSymPlane_1: str = "",
reflectionSymPlane_2: str = "",
reflectionSymPlane_3: str = "",
reflectionSymZ: float = None,
):
"""This method creates a CavityRadiation object.
Notes
-----
This function can be accessed by:
.. code-block:: python
mdb.models[name].CavityRadiation
Parameters
----------
name
A String specifying the repository key.
createStepName
A String specifying the name of the step in which the cavity radiation interaction
should be created.
surfaces
A RegionArray object specifying the surfaces for which radiation viewfactor control is
being specified.
surfaceEmissivities
A sequence of Strings specifying the names of the Cavity Radiation properties containing
the surface emissivity data. One name per specified surface. The emissivity data is
ignored when *surfaceReflection*=OFF.
ambientTemp
None or a Float specifying the reference ambient temperature value, θ0θ0. Specifying a
value indicates an open cavity. The default value is None.
blocking
A SymbolicConstant specifying the blocking checks to be performed in the viewfactor
calculations. Possible values are BLOCKING_ALL, NO_BLOCKING, and PARTIAL_BLOCKING. The
default value is BLOCKING_ALL.
blockingSurfaces
A RegionArray object specifying the surfaces that provide blocking inside the cavity.
This argument applies only when *blocking*=PARTIAL_BLOCKING.
rangeOfView
None or a Float specifying the maximum distance between surface facets at which
viewfactors are calculated. More distant facets are deemed too far apart to exchange
significant amounts of heat through radiation effects, and the viewfactors between these
facets are assumed to be zero. If *rangeOfView*=None, there is no upper limit. The
default value is None.
surfaceReflection
A Boolean specifying whether heat reflections are to be included in the cavity radiation
calculations. The default value is ON.
viewfactorAccurTol
A Float specifying the acceptable tolerance for the viewfactor calculations. The default
value is 0.05.
minInfinitesimalRatio
A Float specifying the facet area ratio above which the infinitesimal-to-finite area
approximation is used for viewfactor calculations. The default value is 64.0.
numPointsPerEdge
An Int specifying the number of Gauss integration points to be used along each edge when
the numerical integration of contour integrals is used for viewfactor calculations. One
to five integration points are allowed. The default value is 3.
minLumpedAreaDS
A Float specifying the nondimensional distance-square value above which the lumped area
approximation is used for viewfactor calculations. The default value is 5.0.
cyclicSymmetry
A Boolean specifying whether cyclic symmetry will be applied. This argument cannot be
specified for axisymmetric models. The default value is OFF.
cyclicImages
An Int specifying the number of cyclically similar images that compose the cavity formed
as a result of this symmetry. This argument applies only when *cyclicSymmetry*=ON. The
default value is 2.
cyclicRotPt
A ModelDot object specifying the rotation axis point. This argument applies only when
*cyclicSymmetry*=ON.
cyclicRotEndPt
A ModelDot object specifying the rotation axis end point. This argument applies only for
three-dimensional models, and only when *cyclicSymmetry*=ON.
cyclicSymPt
A ModelDot object specifying the symmetry axis end point. This argument applies only
when *cyclicSymmetry*=ON.
periodicSymmetries
An Int specifying the number of periodic symmetries that will be applied. The default
value is 0.
periodicImages_1
An Int specifying the number of repetitions used in the numerical calculation of the
cavity viewfactors resulting from the first periodic symmetry. The result of this
symmetry is a cavity composed of the cavity surface defined in the model plus twice the
value of *periodicImages_1*. This argument applies only when *periodicSymmetries* is
greater than zero. The default value is 2.
periodicImages_2
An Int specifying the number of repetitions used in the numerical calculation of the
cavity viewfactors resulting from the second periodic symmetry. The result of this
symmetry is a cavity composed of the cavity surface defined in the model plus twice the
value of *periodicImages_2*. This argument applies only when *periodicSymmetries* is
greater than one. The default value is 2.
periodicImages_3
An Int specifying the number of repetitions used in the numerical calculation of the
cavity viewfactors resulting from the third periodic symmetry. The result of this
symmetry is a cavity composed of the cavity surface defined in the model plus twice the
value of *periodicImages_3*. This argument applies only when *periodicSymmetries* = 3.
The default value is 2.
periodicSymAxis_1
A straight Edge, a Datum object representing a datum axis, or an ElementEdge object
indicating the first line of symmetry in two-dimensional models. This argument applies
only for 2D models, and when *periodicSymmetries* is greater than zero.
periodicSymAxis_2
A straight Edge, a Datum object representing a datum axis, or an ElementEdge object
indicating the second line of symmetry in two-dimensional models. This argument applies
only for two-dimensional models, and when *periodicSymmetries* = 2.
periodicSymPlane_1
A planar Face, an ElementFace, or a Datum object representing a datum plane; indicating
the first plane of symmetry in three-dimensional models. This argument applies only for
three-dimensional models, and when *periodicSymmetries* is greater than zero.
periodicSymPlane_2
A planar Face, an ElementFace, or a Datum object representing a datum plane; indicating
the second plane of symmetry in three-dimensional models. This argument applies only for
three-dimensional models, and when *periodicSymmetries* is greater than one.
periodicSymPlane_3
A planar Face, an ElementFace, or a Datum object representing a datum plane; indicating
the third plane of symmetry in three-dimensional models. This argument applies only for
three-dimensional models, and when *periodicSymmetries* = 3.
periodicDistance_1
A sequence of sequences of Floats specifying the two points of the vector that describes
the periodic distance for the first periodic symmetry. Each point is defined by a tuple
of three coordinates indicating its position. This argument applies only when
*periodicSymmetries* is greater than zero. The default value is an empty sequence.
periodicDistance_2
A sequence of sequences of Floats specifying the two points of the vector that describes
the periodic distance for the second periodic symmetry. Each point is defined by a tuple
of three coordinates indicating its position. This argument applies only when
*periodicSymmetries* is greater than one. The default value is an empty sequence.
periodicDistance_3
A sequence of sequences of Floats specifying the two points of the vector that describes
the periodic distance for the third periodic symmetry. Each point is defined by a tuple
of three coordinates indicating its position. This argument applies only when
*periodicSymmetries* = 3. The default value is an empty sequence.
periodicSymZ
None or a Float specifying the Z value indicating the symmetry reference line in
axisymmetric models. This argument applies only for axisymmetric models, and when
*periodicSymmetries* = 1. The default value is None.
periodicDistZ
None or a Float specifying the Z value indicating the periodic distance in axisymmetric
models. This argument applies only for axisymmetric models, and when
*periodicSymmetries* = 1. The default value is None.
reflectionSymmetries
An Int specifying the number of reflection symmetries will be applied. The default value
is 0.
reflectionSymAxis_1
A straight Edge, a Datum object representing a datum axis, or an ElementEdge object
indicating the first line of symmetry in two-dimensional models. This argument applies
only for two-dimensional models, and when *reflectionSymmetries* is greater than zero.
reflectionSymAxis_2
A straight Edge, a Datum object representing a datum axis, or an ElementEdge object
indicating the second line of symmetry in two-dimensional models. This argument applies
only for two-dimensional models, and when *reflectionSymmetries* = 2.
reflectionSymPlane_1
A planar Face, an ElementFace, or a Datum object representing a datum plane; indicating
the first plane of symmetry in three-dimensional models. This argument applies only for
three-dimensional models, and when *reflectionSymmetries* is greater than zero.
reflectionSymPlane_2
A planar Face, an ElementFace, or a Datum object representing a datum plane; indicating
the second plane of symmetry in three-dimensional models. This argument applies only for
three-dimensional models, and when *reflectionSymmetries* is greater than one.
reflectionSymPlane_3
A planar Face, an ElementFace, or a Datum object representing a datum plane; indicating
the third plane of symmetry in three-dimensional models. This argument applies only for
three-dimensional models, and when *reflectionSymmetries* = 3.
reflectionSymZ
None or a Float specifying the Z value indicating the symmetry reference line in
axisymmetric models. This argument applies only for axisymmetric models, and when
*reflectionSymmetries* = 1. The default value is None.
Returns
-------
A CavityRadiation object.
"""
super().__init__()
pass
def setValues(
self,
surfaceEmissivities: tuple = (),
ambientTemp: float = None,
blocking: SymbolicConstant = BLOCKING_ALL,
blockingSurfaces: RegionArray = None,
rangeOfView: float = None,
surfaceReflection: Boolean = ON,
viewfactorAccurTol: float = 0,
minInfinitesimalRatio: float = 64,
numPointsPerEdge: int = 3,
minLumpedAreaDS: float = 5,
cyclicSymmetry: Boolean = OFF,
cyclicImages: int = 2,
cyclicRotPt: ModelDot = ModelDot(),
cyclicRotEndPt: ModelDot = ModelDot(),
cyclicSymPt: ModelDot = ModelDot(),
periodicSymmetries: int = 0,
periodicImages_1: int = 2,
periodicImages_2: int = 2,
periodicImages_3: int = 2,
periodicSymAxis_1: str = "",
periodicSymAxis_2: str = "",
periodicSymPlane_1: str = "",
periodicSymPlane_2: str = "",
periodicSymPlane_3: str = "",
periodicDistance_1: tuple = (),
periodicDistance_2: tuple = (),
periodicDistance_3: tuple = (),
periodicSymZ: float = None,
periodicDistZ: float = None,
reflectionSymmetries: int = 0,
reflectionSymAxis_1: str = "",
reflectionSymAxis_2: str = "",
reflectionSymPlane_1: str = "",
reflectionSymPlane_2: str = "",
reflectionSymPlane_3: str = "",
reflectionSymZ: float = None,
):
"""This method modifies the data for an existing CavityRadiation object in the step where
it is created.
Parameters
----------
surfaceEmissivities
A sequence of Strings specifying the names of the Cavity Radiation properties containing
the surface emissivity data. One name per specified surface. The emissivity data is
ignored when *surfaceReflection*=OFF.
ambientTemp
None or a Float specifying the reference ambient temperature value, θ0θ0. Specifying a
value indicates an open cavity. The default value is None.
blocking
A SymbolicConstant specifying the blocking checks to be performed in the viewfactor
calculations. Possible values are BLOCKING_ALL, NO_BLOCKING, and PARTIAL_BLOCKING. The
default value is BLOCKING_ALL.
blockingSurfaces
A RegionArray object specifying the surfaces that provide blocking inside the cavity.
This argument applies only when *blocking*=PARTIAL_BLOCKING.
rangeOfView
None or a Float specifying the maximum distance between surface facets at which
viewfactors are calculated. More distant facets are deemed too far apart to exchange
significant amounts of heat through radiation effects, and the viewfactors between these
facets are assumed to be zero. If *rangeOfView*=None, there is no upper limit. The
default value is None.
surfaceReflection
A Boolean specifying whether heat reflections are to be included in the cavity radiation
calculations. The default value is ON.
viewfactorAccurTol
A Float specifying the acceptable tolerance for the viewfactor calculations. The default
value is 0.05.
minInfinitesimalRatio
A Float specifying the facet area ratio above which the infinitesimal-to-finite area
approximation is used for viewfactor calculations. The default value is 64.0.
numPointsPerEdge
An Int specifying the number of Gauss integration points to be used along each edge when
the numerical integration of contour integrals is used for viewfactor calculations. One
to five integration points are allowed. The default value is 3.
minLumpedAreaDS
A Float specifying the nondimensional distance-square value above which the lumped area
approximation is used for viewfactor calculations. The default value is 5.0.
cyclicSymmetry
A Boolean specifying whether cyclic symmetry will be applied. This argument cannot be
specified for axisymmetric models. The default value is OFF.
cyclicImages
An Int specifying the number of cyclically similar images that compose the cavity formed
as a result of this symmetry. This argument applies only when *cyclicSymmetry*=ON. The
default value is 2.
cyclicRotPt
A ModelDot object specifying the rotation axis point. This argument applies only when
*cyclicSymmetry*=ON.
cyclicRotEndPt
A ModelDot object specifying the rotation axis end point. This argument applies only for
three-dimensional models, and only when *cyclicSymmetry*=ON.
cyclicSymPt
A ModelDot object specifying the symmetry axis end point. This argument applies only
when *cyclicSymmetry*=ON.
periodicSymmetries
An Int specifying the number of periodic symmetries that will be applied. The default
value is 0.
periodicImages_1
An Int specifying the number of repetitions used in the numerical calculation of the
cavity viewfactors resulting from the first periodic symmetry. The result of this
symmetry is a cavity composed of the cavity surface defined in the model plus twice the
value of *periodicImages_1*. This argument applies only when *periodicSymmetries* is
greater than zero. The default value is 2.
periodicImages_2
An Int specifying the number of repetitions used in the numerical calculation of the
cavity viewfactors resulting from the second periodic symmetry. The result of this
symmetry is a cavity composed of the cavity surface defined in the model plus twice the
value of *periodicImages_2*. This argument applies only when *periodicSymmetries* is
greater than one. The default value is 2.
periodicImages_3
An Int specifying the number of repetitions used in the numerical calculation of the
cavity viewfactors resulting from the third periodic symmetry. The result of this
symmetry is a cavity composed of the cavity surface defined in the model plus twice the
value of *periodicImages_3*. This argument applies only when *periodicSymmetries* = 3.
The default value is 2.
periodicSymAxis_1
A straight Edge, a Datum object representing a datum axis, or an ElementEdge object
indicating the first line of symmetry in two-dimensional models. This argument applies
only for 2D models, and when *periodicSymmetries* is greater than zero.
periodicSymAxis_2
A straight Edge, a Datum object representing a datum axis, or an ElementEdge object
indicating the second line of symmetry in two-dimensional models. This argument applies
only for two-dimensional models, and when *periodicSymmetries* = 2.
periodicSymPlane_1
A planar Face, an ElementFace, or a Datum object representing a datum plane; indicating
the first plane of symmetry in three-dimensional models. This argument applies only for
three-dimensional models, and when *periodicSymmetries* is greater than zero.
periodicSymPlane_2
A planar Face, an ElementFace, or a Datum object representing a datum plane; indicating
the second plane of symmetry in three-dimensional models. This argument applies only for
three-dimensional models, and when *periodicSymmetries* is greater than one.
periodicSymPlane_3
A planar Face, an ElementFace, or a Datum object representing a datum plane; indicating
the third plane of symmetry in three-dimensional models. This argument applies only for
three-dimensional models, and when *periodicSymmetries* = 3.
periodicDistance_1
A sequence of sequences of Floats specifying the two points of the vector that describes
the periodic distance for the first periodic symmetry. Each point is defined by a tuple
of three coordinates indicating its position. This argument applies only when
*periodicSymmetries* is greater than zero. The default value is an empty sequence.
periodicDistance_2
A sequence of sequences of Floats specifying the two points of the vector that describes
the periodic distance for the second periodic symmetry. Each point is defined by a tuple
of three coordinates indicating its position. This argument applies only when
*periodicSymmetries* is greater than one. The default value is an empty sequence.
periodicDistance_3
A sequence of sequences of Floats specifying the two points of the vector that describes
the periodic distance for the third periodic symmetry. Each point is defined by a tuple
of three coordinates indicating its position. This argument applies only when
*periodicSymmetries* = 3. The default value is an empty sequence.
periodicSymZ
None or a Float specifying the Z value indicating the symmetry reference line in
axisymmetric models. This argument applies only for axisymmetric models, and when
*periodicSymmetries* = 1. The default value is None.
periodicDistZ
None or a Float specifying the Z value indicating the periodic distance in axisymmetric
models. This argument applies only for axisymmetric models, and when
*periodicSymmetries* = 1. The default value is None.
reflectionSymmetries
An Int specifying the number of reflection symmetries will be applied. The default value
is 0.
reflectionSymAxis_1
A straight Edge, a Datum object representing a datum axis, or an ElementEdge object
indicating the first line of symmetry in two-dimensional models. This argument applies
only for two-dimensional models, and when *reflectionSymmetries* is greater than zero.
reflectionSymAxis_2
A straight Edge, a Datum object representing a datum axis, or an ElementEdge object
indicating the second line of symmetry in two-dimensional models. This argument applies
only for two-dimensional models, and when *reflectionSymmetries* = 2.
reflectionSymPlane_1
A planar Face, an ElementFace, or a Datum object representing a datum plane; indicating
the first plane of symmetry in three-dimensional models. This argument applies only for
three-dimensional models, and when *reflectionSymmetries* is greater than zero.
reflectionSymPlane_2
A planar Face, an ElementFace, or a Datum object representing a datum plane; indicating
the second plane of symmetry in three-dimensional models. This argument applies only for
three-dimensional models, and when *reflectionSymmetries* is greater than one.
reflectionSymPlane_3
A planar Face, an ElementFace, or a Datum object representing a datum plane; indicating
the third plane of symmetry in three-dimensional models. This argument applies only for
three-dimensional models, and when *reflectionSymmetries* = 3.
reflectionSymZ
None or a Float specifying the Z value indicating the symmetry reference line in
axisymmetric models. This argument applies only for axisymmetric models, and when
*reflectionSymmetries* = 1. The default value is None.
"""
pass
def setValuesInStep(
self,
stepName: str,
blocking: SymbolicConstant = BLOCKING_ALL,
blockingSurfaces: RegionArray = None,
rangeOfView: float = None,
surfaceReflection: Boolean = ON,
viewfactorAccurTol: float = 0,
):
"""This method modifies the propagating data of an existing CavityRadiation object in the
specified step.
Parameters
----------
stepName
A String specifying the name of the step in which the interaction is modified.
blocking
A SymbolicConstant specifying the blocking checks to be performed in the viewfactor
calculations. Possible values are BLOCKING_ALL, NO_BLOCKING, and PARTIAL_BLOCKING. The
default value is BLOCKING_ALL.
blockingSurfaces
A RegionArray object specifying the surfaces that provide blocking inside the cavity.
This argument applies only when *blocking*=PARTIAL_BLOCKING.
rangeOfView
None or a Float specifying the maximum distance between surface facets at which
viewfactors are calculated. More distant facets are deemed too far apart to exchange
significant amounts of heat through radiation effects, and the viewfactors between these
facets are assumed to be zero. If *rangeOfView*=None, there is no upper limit. The
default value is None.
surfaceReflection
A Boolean specifying whether heat reflections are to be included in the cavity radiation
calculations. The default value is ON.
viewfactorAccurTol
A Float specifying the acceptable tolerance for the viewfactor calculations. The default
value is 0.05.
"""
pass