-
Notifications
You must be signed in to change notification settings - Fork 6
/
thickness_fp.py
766 lines (628 loc) · 22.7 KB
/
thickness_fp.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
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
"""This module contains a lot of functions to estimate the **boundary-layer
thicknesses of a incompressible/compressible, laminar/turbulent flat plate**.
The four most important functions are: ``deltas_lam_ic``, ``deltas_tur_ic``,
``deltas_lam_c``, ``deltas_tur_c`` as they are wrapper functions that allows
to estimates all thicknesses with a single call.
"""
import numpy as np
def delta_lam_ic(x, Re, c=5):
"""Boundary-layer thickness of the incompressible laminar flat plate.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
c : float, optional
Proportionality constant from Blasius theory. Default to 5.
Returns
-------
out : float or array_like
Notes
-----
delta_lam_ic is the distance at which locally the tangential velocity
component u(y) has approached the inviscid external velocity u_e by
`eps * u_e`:
u_e - u(y) <= eps * u_e
Usually, the boundary-layer thickness is defined with `eps=0.01`, which
gives c=5. If `eps=0.001` is taken, then c=6.
References
----------
"Basic of aerothermodynamics" by Ernst Heinrich
"""
# eq (7.88)
return c * x / Re**0.5
def delta_tur_ic(x, Re):
"""Boundary-layer thickness of the incompressible turbulent flat plate.
This is valid for a low Reynolds number. It comes from the (1/7) power
velocity distribution law.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Returns
-------
out : float or array_like
References
----------
"Basic of aerothermodynamics" by Ernst Heinrich
"""
# eq (7.94)
return 0.37 * x / Re**0.2
def delta_tur_ic_viscous(x, Re):
"""Viscous sub-layer thickness of the incompressible turbulent flat plate.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Returns
-------
out : float or array_like
References
----------
"Basic of aerothermodynamics" by Ernst Heinrich
"""
# eq (7.97)
return 29.06 * x / Re**0.9
def viscous_edge_velocity(ue, Re):
"""Viscous sub-layer edge velocity. It is the velocity corresponding to
``delta_tur_ic_viscous``.
Parameters
----------
ue : float or array_like
Edge velocity at the boundary layer.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Returns
-------
out : float or array_like
References
----------
"Basic of aerothermodynamics" by Ernst Heinrich
"""
# eq (7.98)
return 2.12 * ue / Re**0.1
def delta_tur_ic_scaling(x, Re):
"""Scaling thickness for the incompressible turbulent flat plate, where
the non-dimensional velocity u+ and the wall distance y+ are equal.
It is somewhat similar to the viscous sub-layer thickness.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Returns
-------
out : float or array_like
References
----------
"Basic of aerothermodynamics" by Ernst Heinrich
"""
# eq (7.99)
return 33.78 * x / Re**0.8
def delta_lam_c(x, Re, Ts_Tinf, omega=0.65, c=5):
"""Boundary-layer thickness of the compressible laminar flat plate.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Ts_Tinf : float or array_like
Temperature ratio T* / Tinf between the reference temperature T* and
the free stream temperature Tinf.
omega : float
Exponent of the viscosity power law. Default to 0.65, corresponding to
T > 400K. Set ``omega=1`` otherwise.
c : float, optional
Proportionality constant from Blasius theory. Default to 5.
Returns
-------
out : float or array_like
References
----------
"Basic of aerothermodynamics" by Ernst Heinrich
See Also
--------
delta_lam_ic
"""
d_l_ic = delta_lam_ic(x, Re, c=c)
# eq (7.100)
return d_l_ic * Ts_Tinf**(0.5 * (1 + omega))
def delta_tur_c(x, Re, Ts_Tinf, omega=0.65):
"""Boundary-layer thickness of the compressible turbulent flat plate.
This is valid for a low Reynolds number. It comes from the (1/7) power
velocity distribution law.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Ts_Tinf : float or array_like
Temperature ratio T* / Tinf between the reference temperature T* and
the free stream temperature Tinf.
omega : float
Exponent of the viscosity power law. Default to 0.65, corresponding to
T > 400K. Set ``omega=1`` otherwise.
Returns
-------
out : float or array_like
References
----------
"Basic of aerothermodynamics" by Ernst Heinrich
See Also
--------
delta_tur_ic
"""
d_t_ic = delta_tur_ic(x, Re)
# eq (7.104)
return d_t_ic * Ts_Tinf**(0.2 * (1 + omega))
def delta_tur_c_viscous(x, Re, Ts_Tinf, omega=0.65):
"""Viscous sub-layer thickness of the compressible turbulent flat plate.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Ts_Tinf : float or array_like
Temperature ratio T* / Tinf between the reference temperature T* and
the free stream temperature Tinf.
omega : float
Exponent of the viscosity power law. Default to 0.65, corresponding to
T > 400K. Set ``omega=1`` otherwise.
Returns
-------
out : float or array_like
References
----------
"Basic of aerothermodynamics" by Ernst Heinrich
See Also
--------
delta_tur_ic_viscous
"""
# eq (7.105)
return delta_tur_ic_viscous(x, Re) * Ts_Tinf**(0.9 * (1 + omega))
def delta_tur_c_scaling(x, Re, Ts_Tinf, omega=0.65):
"""Scaling thickness for the compressible turbulent flat plate, where
the non-dimensional velocity u+ and the wall distance y+ are equal.
It is somewhat similar to the viscous sub-layer thickness .
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Ts_Tinf : float or array_like
Temperature ratio T* / Tinf between the reference temperature T* and
the free stream temperature Tinf.
omega : float
Exponent of the viscosity power law. Default to 0.65, corresponding to
T > 400K. Set ``omega=1`` otherwise.
Returns
-------
out : float or array_like
References
----------
"Basic of aerothermodynamics" by Ernst Heinrich
"""
# eq (7.106)
return delta_tur_ic_scaling(x, Re) * Ts_Tinf**(0.8 * (1 + omega))
def delta_1_lam_ic(x, Re):
"""Compute the integral parameter delta_1, also known as the boundary-layer
displacement thickness, for the laminar incompressible case.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Returns
-------
out : float or array_like
References
----------
"Basic of aerothermodynamics" by Ernst Heinrich
See Also
--------
delta_2_lam_ic
"""
# eq (7.114)
return 1.7208 * x / Re**0.5
def delta_2_lam_ic(x, Re):
"""Compute the integral parameter delta_2, also known as the momentum
thickness, for the laminar incompressible case.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Returns
-------
out : float or array_like
References
----------
"Basic of aerothermodynamics" by Ernst Heinrich
See Also
--------
delta_1_lam_ic
"""
# eq (7.115)
return 0.6641 * x / Re**0.5
def delta_1_tur_ic(x, Re):
"""Compute the integral parameter delta_1, also known as the boundary-layer
displacement thickness, for the turbulent incompressible case.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Returns
-------
out : float or array_like
References
----------
"Basic of aerothermodynamics" by Ernst Heinrich
See Also
--------
delta_2_tur_ic
"""
# eq (7.116)
return 0.0463 * x / Re**0.2
def delta_2_tur_ic(x, Re):
"""Compute the integral parameter delta_1, also known as the momentum
thickness, for the turbulent incompressible case.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Returns
-------
out : float or array_like
References
----------
"Basic of aerothermodynamics" by Ernst Heinrich
See Also
--------
delta_1_tur_ic
"""
# eq (7.117)
return 0.0360 * x / Re**0.2
def shape_factor_lam_ic():
"""Compute the shape factor, H12, for the laminar incrompressible case.
Returns
-------
out : float
"""
# eq (7.118)
return 1.7208 / 0.6641
def shape_factor_tur_ic():
"""Compute the shape factor, H12, for the turbulent incrompressible case.
Returns
-------
out : float
"""
# eq (7.119)
return 0.0463 / 0.0360
def delta_1_lam_c(x, Re, Tw_Tinf, Ts_Tinf, Minf, omega=0.65, gammainf=1.4):
"""Compute the integral parameter delta_1, also known as the boundary-layer
displacement thickness, for the laminar compressible case.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Tw_Tinf : float or array_like
Temperature Ratio Tw / Tinf between the wall temperature and the
free stream temperature Tinf.
Ts_Tinf : float or array_like
Temperature ratio T* / Tinf between the reference temperature T* and
the free stream temperature Tinf.
Minf : float or array_like
Free stream Mach number.
omega : float, optional
Exponent of the viscosity power law. Default to 0.65, corresponding to
T > 400K. Set ``omega=1`` otherwise.
gammainf : float, optional
Free stream specific heats ratio. Default to 1.4. Must be > 1.
Returns
-------
out : float or array_like
"""
# eq (7.120)
return delta_1_lam_ic(x, Re) * (-0.122 + 1.22 * Tw_Tinf + 0.333 * (gammainf - 1) / 2 * Minf**2) * Ts_Tinf**(0.5 * (omega - 1))
def delta_2_lam_c(x, Re, Ts_Tinf, omega=0.65):
"""Compute the integral parameter delta_2, also known as the momentum
thickness, for the laminar compressible case.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Ts_Tinf : float or array_like
Temperature ratio T* / Tinf between the reference temperature T* and
the free stream temperature Tinf.
omega : float, optional
Exponent of the viscosity power law. Default to 0.65, corresponding to
T > 400K. Set ``omega=1`` otherwise.
Returns
-------
out : float or array_like
"""
# eq (7.121)
return delta_2_lam_ic(x, Re) * Ts_Tinf**(0.5 * (omega - 1))
def delta_1_tur_c(x, Re, Tw_Tinf, Ts_Tinf, Minf, omega=0.65, gammainf=1.4):
"""Compute the integral parameter delta_1, also known as the boundary-layer
displacement thickness, for the turbulent compressible case.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Tw_Tinf : float or array_like
Temperature Ratio Tw / Tinf between the wall temperature and the
free stream temperature Tinf.
Ts_Tinf : float or array_like
Temperature ratio T* / Tinf between the reference temperature T* and
the free stream temperature Tinf.
Minf : float or array_like
Free stream Mach number.
omega : float, optional
Exponent of the viscosity power law. Default to 0.65, corresponding to
T > 400K. Set ``omega=1`` otherwise.
gammainf : float, optional
Free stream specific heats ratio. Default to 1.4. Must be > 1.
Returns
-------
out : float or array_like
"""
# eq (7.122), (7.123)
d1tic = 0.0504 * x / Re**0.2
return d1tic * (0.129 + 0.871 * Tw_Tinf + 0.648 * ((gammainf - 1) / 2) * Minf**2) * Ts_Tinf**(0.2 * (omega - 4))
def delta_2_tur_c(x, Re, Ts_Tinf, omega=0.65):
"""Compute the integral parameter delta_2, also known as the momentum
thickness, for the turbulent compressible case.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Tw_Tinf : float or array_like
Temperature Ratio Tw / Tinf between the wall temperature and the
free stream temperature Tinf.
Ts_Tinf : float or array_like
Temperature ratio T* / Tinf between the reference temperature T* and
the free stream temperature Tinf.
Minf : float or array_like
Free stream Mach number.
omega : float, optional
Exponent of the viscosity power law. Default to 0.65, corresponding to
T > 400K. Set ``omega=1`` otherwise.
gammainf : float, optional
Free stream specific heats ratio. Default to 1.4. Must be > 1.
Returns
-------
out : float or array_like
"""
# eq (7.124)
return delta_2_tur_ic(x, Re) * Ts_Tinf**(0.2 * (omega - 4))
def shape_factor_lam_c(x, Re, Tw_Tinf, Minf, gammainf=1.4):
"""Compute the shape factor, H12, for the laminar crompressible case.
Returns
-------
out : float or array_like
"""
# eq (7.125)
return shape_factor_lam_ic() * (-0.122 + 1.22 * Tw_Tinf + 0.333 * ((gammainf - 1) / 2) * Minf**2)
def shape_factor_tur_c(Tw_Tinf, gammainf, Minf):
"""Compute the shape factor, H12, for the turbulent incrompressible case.
Returns
-------
out : float or array_like
"""
# eq (7.126), (7.127)
return 1.4 * (0.129 + 0.871 * Tw_Tinf + 0.648 * ((gammainf - 1) / 2) * Minf**2)
def deltas_lam_ic(x, Re, to_dict=False):
"""Compute different boundary-layer thicknesses for the incompressible
laminar flat plate.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
to_dict : bool, optional
If False, the function returns a list of results. If True, it returns
a dictionary in which the keys are listed in the Returns section.
Default to False (return a list of results).
Returns
-------
delta : float or array_like
Boundary-layer thickness computed with the ``delta_lam_ic``.
delta_1 : float or array_like
Boundary-layer displacement thickness computed with ``delta_1_lam_ic``.
delta_2 : float or array_like
Momentum thickness computed with the ``delta_2_lam_ic``.
H12 : float or array_like
Shape factor computed with the ``shape_factor_lam_ic``.
See Also
--------
delta_lam_ic, delta_1_lam_ic, delta_2_lam_ic, shape_factor_lam_ic,
deltas_lam_c, deltas_tur_ic, deltas_tur_c
"""
results = [
delta_lam_ic(x, Re),
delta_1_lam_ic(x, Re),
delta_2_lam_ic(x, Re),
shape_factor_lam_ic()
]
if to_dict is False:
return results
keys = ["delta", "delta_1", "delta_2", "H12"]
return {k: v for k, v in zip(keys, results)}
def deltas_lam_c(x, Re, Tw_Tinf, Ts_Tinf, Minf, omega=0.65, gammainf=1.4, to_dict=False):
"""Compute different boundary-layer thicknesses for the compressible
laminar flat plate.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Tw_Tinf : float or array_like
Temperature Ratio Tw / Tinf between the wall temperature and the
free stream temperature Tinf.
Ts_Tinf : float or array_like
Temperature ratio T* / Tinf between the reference temperature T* and
the free stream temperature Tinf.
Minf : float or array_like
Free stream Mach number.
omega : float, optional
Exponent of the viscosity power law. Default to 0.65, corresponding to
T > 400K. Set ``omega=1`` otherwise.
gammainf : float, optional
Free stream specific heats ratio. Default to 1.4. Must be > 1.
to_dict : bool, optional
If False, the function returns a list of results. If True, it returns
a dictionary in which the keys are listed in the Returns section.
Default to False (return a list of results).
Returns
-------
delta : float or array_like
Boundary-layer thickness computed with ``delta_lam_c``.
delta_1 : float or array_like
Boundary-layer displacement thickness computed with ``delta_1_lam_c``.
delta_2 : float or array_like
Momentum thickness computed with ``delta_2_lam_c``.
H12 : float or array_like
Shape factor computed with ``shape_factor_lam_c``.
See Also
--------
delta_lam_c, delta_1_lam_c, delta_2_lam_c, shape_factor_lam_c,
deltas_lam_ic, deltas_tur_ic, deltas_tur_c
"""
results = [
delta_lam_c(x, Re, Ts_Tinf, omega),
delta_1_lam_c(x, Re, Tw_Tinf, Ts_Tinf, Minf, omega, gammainf),
delta_2_lam_c(x, Re, Ts_Tinf, omega),
shape_factor_lam_c(x, Re, Tw_Tinf, Minf, gammainf)
]
if to_dict is False:
return results
keys = ["delta", "delta_1", "delta_2", "H12"]
return {k: v for k, v in zip(keys, results)}
def deltas_tur_ic(x, Re, to_dict=False):
"""Compute different boundary-layer thicknesses for the incompressible
turbulent flat plate.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
to_dict : bool, optional
If False, the function returns a list of results. If True, it returns
a dictionary in which the keys are listed in the Returns section.
Default to False (return a list of results).
Returns
-------
delta : float or array_like
Boundary-layer thickness computed with ``delta_tur_ic``.
delta_vs : float or array_like, optional
Viscous sub-layer thickness computed with ``delta_tur_ic_viscous``.
delta_sc : float or array_like, optional
Scaling thickness computed with ``delta_tur_ic_scaling``.
delta_1 : float or array_like
Boundary-layer displacement thickness computed with ``delta_1_tur_ic``.
delta_2 : float or array_like
Momentum thickness computed with ``delta_2_tur_ic``.
H12 : float or array_like
Shape factor computed with ``shape_factor_tur_ic``.
See Also
--------
delta_tur_ic, delta_1_tur_ic, delta_2_tur_ic, shape_factor_tur_ic,
deltas_tur_c, deltas_lam_ic, deltas_lam_c
"""
results = [
delta_tur_ic(x, Re),
delta_tur_ic_viscous(x, Re),
delta_tur_ic_scaling(x, Re),
delta_1_tur_ic(x, Re),
delta_2_tur_ic(x, Re),
shape_factor_tur_ic()
]
if to_dict is False:
return results
keys = ["delta", "delta_vs", "delta_sc", "delta_1", "delta_2", "H12"]
return {k: v for k, v in zip(keys, results)}
def deltas_tur_c(x, Re, Tw_Tinf, Ts_Tinf, Minf, omega=0.65, gammainf=1.4, to_dict=False):
"""Compute different boundary-layer thicknesses for the compressible
turbulent flat plate.
Parameters
----------
x : float or array_like
Location where to compute the thickness.
Re : float or array_like
Free-stream Reynolds number computed at `x`.
Tw_Tinf : float or array_like
Temperature Ratio Tw / Tinf between the wall temperature and the
free stream temperature Tinf.
Ts_Tinf : float or array_like
Temperature ratio T* / Tinf between the reference temperature T* and
the free stream temperature Tinf.
Minf : float or array_like
Free stream Mach number.
omega : float, optional
Exponent of the viscosity power law. Default to 0.65, corresponding to
T > 400K. Set ``omega=1`` otherwise.
gammainf : float, optional
Free stream specific heats ratio. Default to 1.4. Must be > 1.
to_dict : bool, optional
If False, the function returns a list of results. If True, it returns
a dictionary in which the keys are listed in the Returns section.
Default to False (return a list of results).
Returns
-------
delta : float or array_like
Boundary-layer thickness computed with ``delta_tur_c``.
delta_vs : float or array_like, optional
Viscous sub-layer thickness computed with ``delta_tur_c_viscous``.
delta_sc : float or array_like, optional
Scaling thickness computed with ``delta_tur_c_scaling``.
delta_1 : float or array_like
Boundary-layer displacement thickness computed with ``delta_1_tur_ic``.
delta_2 : float or array_like
Momentum thickness computed with ``delta_2_tur_c``.
H12 : float or array_like
Shape factor computed with ``shape_factor_tur_c``.
See Also
--------
delta_tur_c, delta_1_tur_c, delta_2_tur_c, shape_factor_tur_c,
deltas_tur_ic, deltas_lam_ic, deltas_lam_c
"""
results = [
delta_tur_c(x, Re, Ts_Tinf, omega),
delta_tur_c_viscous(x, Re, Ts_Tinf, omega),
delta_tur_c_scaling(x, Re, Ts_Tinf, omega),
delta_1_tur_c(x, Re, Tw_Tinf, Ts_Tinf, Minf, omega, gammainf),
delta_2_tur_c(x, Re, Ts_Tinf, omega),
shape_factor_tur_c(Tw_Tinf, gammainf, Minf)
]
if to_dict is False:
return results
keys = ["delta", "delta_vs", "delta_sc", "delta_1", "delta_2", "H12"]
return {k: v for k, v in zip(keys, results)}