File: friction.pyi

package info (click to toggle)
python-fluids 1.0.22-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,980 kB
  • sloc: python: 53,243; f90: 1,033; javascript: 49; makefile: 47
file content (267 lines) | stat: -rw-r--r-- 5,640 bytes parent folder | download
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
# DO NOT EDIT - AUTOMATICALLY GENERATED BY tests/make_test_stubs.py!
from __future__ import annotations
from typing import List
from typing import (
    List,
    Optional,
    Set,
    Tuple,
    Union,
)


def Alshul_1952(Re: float, eD: float) -> float: ...


def Avci_Karagoz_2009(Re: float, eD: float) -> float: ...


def Barr_1981(Re: float, eD: float) -> float: ...


def Blasius(Re: float) -> float: ...


def Brkic_2011_1(Re: float, eD: float) -> float: ...


def Brkic_2011_2(Re: float, eD: float) -> float: ...


def Buzzelli_2008(Re: float, eD: float) -> float: ...


def Chen_1979(Re: float, eD: float) -> float: ...


def Churchill_1973(Re: float, eD: float) -> float: ...


def Churchill_1977(Re: float, eD: float) -> float: ...


def Clamond(Re: float, eD: float, fast: bool = ...) -> float: ...


def Colebrook(Re: float, eD: float, tol: Optional[int] = ...) -> float: ...


def Eck_1973(Re: float, eD: float) -> float: ...


def Fang_2011(Re: float, eD: float) -> float: ...


def Haaland(Re: float, eD: float) -> float: ...


def Jain_1976(Re: float, eD: float) -> float: ...


def Manadilli_1997(Re: float, eD: float) -> float: ...


def Moody(Re: float, eD: float) -> float: ...


def Papaevangelo_2010(Re: float, eD: float) -> float: ...


def Prandtl_von_Karman_Nikuradse(Re: float) -> float: ...


def Rao_Kumar_2007(Re: float, eD: float) -> float: ...


def Romeo_2002(Re: float, eD: float) -> float: ...


def Round_1980(Re: float, eD: float) -> float: ...


def Serghides_1(Re: float, eD: float) -> float: ...


def Serghides_2(Re: float, eD: float) -> float: ...


def Shacham_1980(Re: float, eD: float) -> float: ...


def Sonnad_Goudar_2006(Re: float, eD: float) -> float: ...


def Swamee_Jain_1976(Re: float, eD: float) -> float: ...


def Tsal_1989(Re: float, eD: float) -> float: ...


def Wood_1966(Re: float, eD: float) -> float: ...


def Zigrang_Sylvester_1(Re: float, eD: float) -> float: ...


def Zigrang_Sylvester_2(Re: float, eD: float) -> float: ...


def friction_factor(
    Re: float,
    eD: float = ...,
    Method: Optional[str] = ...,
    Darcy: bool = ...
) -> float: ...


def friction_factor_curved(
    Re: float,
    Di: float,
    Dc: float,
    roughness: float = ...,
    Method: Optional[str] = ...,
    Rec_method: str = ...,
    laminar_method: str = ...,
    turbulent_method: str = ...,
    Darcy: bool = ...
) -> float: ...


def friction_factor_curved_methods(
    Re: float,
    Di: float,
    Dc: float,
    roughness: float = ...,
    check_ranges: bool = ...
) -> List[str]: ...


def friction_factor_methods(Re: float, eD: float = ..., check_ranges: bool = ...) -> List[str]: ...


def friction_laminar(Re: float) -> float: ...


def friction_plate_Kumar(Re: float, chevron_angle: float) -> float: ...


def friction_plate_Martin_1999(Re: float, plate_enlargement_factor: float) -> float: ...


def friction_plate_Martin_VDI(Re: float, plate_enlargement_factor: float) -> float: ...


def friction_plate_Muley_Manglik(Re: float, chevron_angle: float, plate_enlargement_factor: float) -> float: ...


def ft_Crane(D: float) -> float: ...


def fuzzy_match(name: str, strings: Set[str]) -> str: ...


def helical_Re_crit(Di: float, Dc: float, Method: str = ...) -> float: ...


def helical_laminar_fd_Mori_Nakayama(Re: float, Di: float, Dc: float) -> float: ...


def helical_laminar_fd_Schmidt(Re: float, Di: float, Dc: float) -> float: ...


def helical_laminar_fd_White(Re: float, Di: float, Dc: float) -> float: ...


def helical_transition_Re_Ito(Di: float, Dc: float) -> float: ...


def helical_transition_Re_Kubair_Kuloor(Di: float, Dc: float) -> float: ...


def helical_transition_Re_Kutateladze_Borishanskii(Di: float, Dc: float) -> float: ...


def helical_transition_Re_Schmidt(Di: float, Dc: float) -> float: ...


def helical_transition_Re_Seth_Stahel(Di: float, Dc: float) -> float: ...


def helical_transition_Re_Srinivasan(Di: float, Dc: float) -> float: ...


def helical_turbulent_fd_Czop(Re: float, Di: float, Dc: float) -> float: ...


def helical_turbulent_fd_Guo(Re: float, Di: float, Dc: float) -> float: ...


def helical_turbulent_fd_Ju(Re: float, Di: float, Dc: float, roughness: float = ...) -> float: ...


def helical_turbulent_fd_Mandal_Nigam(
    Re: float,
    Di: float,
    Dc: float,
    roughness: float = ...
) -> float: ...


def helical_turbulent_fd_Mori_Nakayama(Re: float, Di: float, Dc: float) -> float: ...


def helical_turbulent_fd_Prasad(
    Re: float,
    Di: float,
    Dc: float,
    roughness: float = ...
) -> float: ...


def helical_turbulent_fd_Schmidt(
    Re: float,
    Di: float,
    Dc: float,
    roughness: float = ...
) -> float: ...


def helical_turbulent_fd_Srinivasan(Re: float, Di: float, Dc: float) -> float: ...


def material_roughness(ID: str, D: Optional[float] = ..., optimism: Optional[bool] = ...) -> float: ...


def nearest_material_roughness(name: str, clean: Optional[bool] = ...) -> str: ...


def one_phase_dP(
    m: float,
    rho: float,
    mu: float,
    D: float,
    roughness: float = ...,
    L: float = ...,
    Method: None = ...
) -> float: ...


def one_phase_dP_dz_acceleration(m: float, D: float, rho: float, dv_dP: float, dP_dL: float, dA_dL: float) -> float: ...


def one_phase_dP_gravitational(angle: float, rho: float, L: float = ..., g: float = ...) -> float: ...


def roughness_Farshad(
    ID: Optional[str] = ...,
    D: Optional[float] = ...,
    coeffs: Optional[Tuple[float, float]] = ...
) -> float: ...


def transmission_factor(fd: Optional[float] = ..., F: Optional[float] = ...) -> float: ...


def von_Karman(eD: float) -> float: ...

__all__: List[str]