Commit 8ea3a4f
authored
Allow user to specify universal Kolmogorov constant for TKE dissipation rate function (#406)
It was pointed out to me that a universal constant of 0.5 was hardcoded
into dolfyn when calculating dissipation rate using the Lumley and
Terray method. According to turbulence theory and historical
experimental validation, this is the value to use for the streamwise
velocity spectra. According to the same, the constant is different for
velocity spectra that are orthogonal to the streamwise direction -
usually taken to be somewhere between 0.65 and 0.69.
This PR allows the user to set this constant via function input.
Pope, Stephen B. "Turbulent flows." Measurement Science and Technology
12.11 (2001): 2020-2021. pp 231-232.1 parent 6a474e9 commit 8ea3a4f
5 files changed
Lines changed: 62 additions & 25 deletions
File tree
- examples/data/dolfyn/test_data
- mhkit
- dolfyn
- adp
- adv
- tests/dolfyn
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
835 | 835 | | |
836 | 836 | | |
837 | 837 | | |
838 | | - | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
839 | 841 | | |
840 | 842 | | |
841 | 843 | | |
842 | 844 | | |
843 | 845 | | |
844 | 846 | | |
845 | | - | |
| 847 | + | |
| 848 | + | |
846 | 849 | | |
847 | | - | |
| 850 | + | |
| 851 | + | |
848 | 852 | | |
849 | 853 | | |
850 | 854 | | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
851 | 858 | | |
852 | 859 | | |
853 | 860 | | |
| |||
864 | 871 | | |
865 | 872 | | |
866 | 873 | | |
867 | | - | |
868 | | - | |
869 | | - | |
870 | | - | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
871 | 877 | | |
872 | 878 | | |
873 | 879 | | |
| |||
882 | 888 | | |
883 | 889 | | |
884 | 890 | | |
| 891 | + | |
| 892 | + | |
885 | 893 | | |
886 | | - | |
| 894 | + | |
887 | 895 | | |
888 | 896 | | |
889 | 897 | | |
890 | 898 | | |
| 899 | + | |
| 900 | + | |
891 | 901 | | |
892 | 902 | | |
893 | | - | |
| 903 | + | |
894 | 904 | | |
895 | 905 | | |
896 | 906 | | |
| |||
904 | 914 | | |
905 | 915 | | |
906 | 916 | | |
| 917 | + | |
907 | 918 | | |
908 | 919 | | |
909 | 920 | | |
910 | 921 | | |
911 | 922 | | |
912 | | - | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
913 | 926 | | |
914 | 927 | | |
915 | 928 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
343 | 350 | | |
344 | | - | |
| 351 | + | |
345 | 352 | | |
346 | 353 | | |
347 | 354 | | |
| |||
353 | 360 | | |
354 | 361 | | |
355 | 362 | | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
356 | 369 | | |
357 | 370 | | |
358 | 371 | | |
| |||
369 | 382 | | |
370 | 383 | | |
371 | 384 | | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
376 | 388 | | |
377 | 389 | | |
378 | 390 | | |
| |||
390 | 402 | | |
391 | 403 | | |
392 | 404 | | |
393 | | - | |
| 405 | + | |
394 | 406 | | |
395 | | - | |
| 407 | + | |
396 | 408 | | |
397 | 409 | | |
398 | | - | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
399 | 415 | | |
400 | | - | |
401 | | - | |
| 416 | + | |
| 417 | + | |
402 | 418 | | |
403 | 419 | | |
404 | 420 | | |
| |||
412 | 428 | | |
413 | 429 | | |
414 | 430 | | |
| 431 | + | |
415 | 432 | | |
416 | 433 | | |
417 | 434 | | |
418 | 435 | | |
419 | 436 | | |
420 | | - | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
421 | 445 | | |
422 | 446 | | |
423 | 447 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
0 commit comments