Commit d1e7286
authored
Combine open PRs for v2.0.7 (#92)
* Merge of last small commits that were not already merged in the separate PRs, and cherrypick the viscosity improvements without importing the quadtree infiltration changes
* - Set new default combination that since new advection scheme seems robust: alpha=0.50, theta=1.0, adveciont=1, viscosity=1
* - Fix quadtree hmax output
* - set/check random seed for random_number for wave_maker
- Todo: check whether this is best implementation and results in actual random seed if wmrandom = 1
* - SnapWave doesn't output directional spreading, and in sfincs_snapwave the mean wave direction is actually added, which gives wrong values in hisfile. Turn off for now
* Cherrypick from PR#89/branch 88 determine viscosity per refinement level for quadtree simulation - so quadtree infiltration is not imported too:
- Move whole viscosity value nuvisc determination to sfincs_domain.f90
- Now determine nuvisc per grid cell, depending on refinement level (min of dx-dy)!
- crsgeo true or false is still considered
- removed option for direct 'nuvisc' input, still possible to scale through 'nuviscdim'
* - Fix '-1' mistake for using correct dx/dy when determining viscosity
* - Index was wrong in wavemaker for case subgrid
* - Add again fix in quadtree for weirs, couldn't find back original commit to cherry pick
* Cherrypick from 80-add-option-for-netcdf-infiltration-quadtree-file-input:
- Remove double write cuminf
- add needed 'if (nm>0) ' checks for quadtree max output
* - Cumprcp is already in meters now !? > so then no conversion from mm to m needed anymore
* - Units of 'cumprcp' are changed from mm to m, just like cuminf output, now change it in the netcdf attribute too
* - Fix missing point_prcp because of meteo3d that was turned to false
- fix debug mode issues with extra (nm > 0) checks
* - Give more useful Error where depth SnapWave input data is too shallow by giving the x&y-locations
* - After review Maarten change implementation so that nuvisc is a value per level, not grid cell, to save computation time in sfincs_momentum
* - Change input specification for nuvisc, so we don't put in a default value of 1.0 that is later divided by 100, but make this 0.01 directly
- This is the 'viscosity per meter grid cell length'
- Note, to prevent issues with old input, I use in sfincs.inp the 'nuvisc' keyword instead of 'nuviscdim', so people with nuviscdim=1 in their older sfincs.inp suddenly do not have a lot of visco, but have the same default
* - Update the documentation as well1 parent 701b541 commit d1e7286
File tree
13 files changed
+149
-130
lines changed- docs
- source/src
- snapwave
13 files changed
+149
-130
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
731 | 725 | | |
732 | 726 | | |
733 | 727 | | |
734 | 728 | | |
735 | | - | |
736 | | - | |
| 729 | + | |
| 730 | + | |
737 | 731 | | |
738 | 732 | | |
739 | 733 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 85 | + | |
| 86 | + | |
90 | 87 | | |
91 | | - | |
| 88 | + | |
92 | 89 | | |
93 | | - | |
| 90 | + | |
94 | 91 | | |
95 | 92 | | |
96 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
852 | 852 | | |
853 | 853 | | |
854 | 854 | | |
| 855 | + | |
855 | 856 | | |
856 | 857 | | |
857 | 858 | | |
858 | 859 | | |
859 | 860 | | |
860 | 861 | | |
| 862 | + | |
861 | 863 | | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
862 | 868 | | |
863 | 869 | | |
864 | 870 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
| |||
316 | 315 | | |
317 | 316 | | |
318 | 317 | | |
| 318 | + | |
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| 331 | + | |
331 | 332 | | |
332 | 333 | | |
333 | 334 | | |
| |||
844 | 845 | | |
845 | 846 | | |
846 | 847 | | |
847 | | - | |
| 848 | + | |
848 | 849 | | |
849 | 850 | | |
850 | 851 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
1258 | 1258 | | |
1259 | 1259 | | |
1260 | 1260 | | |
| 1261 | + | |
1261 | 1262 | | |
1262 | 1263 | | |
1263 | 1264 | | |
1264 | 1265 | | |
1265 | 1266 | | |
1266 | 1267 | | |
1267 | 1268 | | |
| 1269 | + | |
1268 | 1270 | | |
1269 | 1271 | | |
1270 | 1272 | | |
| |||
1413 | 1415 | | |
1414 | 1416 | | |
1415 | 1417 | | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
1416 | 1459 | | |
1417 | 1460 | | |
1418 | 1461 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | | - | |
| 107 | + | |
| 108 | + | |
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
| |||
423 | 422 | | |
424 | 423 | | |
425 | 424 | | |
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 | | - | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
461 | 430 | | |
462 | 431 | | |
463 | 432 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
452 | | - | |
| 452 | + | |
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
| |||
0 commit comments