[com1]: option to delete stopped particles, and adapt surface according to deposition & erosion#1112
[com1]: option to delete stopped particles, and adapt surface according to deposition & erosion#1112
Conversation
3 new issues
|
ab72c3a to
c41653a
Compare
|
Diff Coverage: The code coverage on the diff in this pull request is 68.6%. Total Coverage: This PR will increase coverage by 0.13%. File Coverage Changes
🛟 Help
|
95dd9f4 to
7eff7ae
Compare
3fd99e2 to
a17f205
Compare
a17f205 to
2d7550e
Compare
|
Code Climate has analyzed commit a6468d0 and detected 1 issue on this pull request. Here's the issue category breakdown:
The test coverage on the diff in this pull request is 89.8% (50% is the threshold). This pull request will bring the total coverage in the repository to 70.3% (0.2% change). View more on Code Climate. |
829c7a3 to
4b9fe18
Compare
1b9da7f to
f462ffa
Compare
3680819 to
a67bab8
Compare
compute hDep and hEro per time step adapt DEM with Erosion and Deposition deposit partciles use function to delete particles minor minor consider deposited particles in demAdapted adapt DEM from deposition and detrainment fixed bugs write stopped mass in MB file§ move computation for erosion thickness to upateFields fix bug and to create report pngs for thenew outputs compute normalized vectors of every topography makes avalanche not flowing downwards minor now deposition and adaptive topo works! tidy up flags for adapt sfc and delete stopped particles; separate stopping + detrainment fix adapt dem separate in stopping, detrainment and entrainment minor changes flag to choose if original or adapted DEM is background in report plots adapt and write tests for adaptive topography check if parameter methodmeshnormal has a plausible value adapt variable names to consistent wording array computing delete not used variables first doc fix bug: add change of depth to DEM instead of thickness adapt test for computation with depth fix bug test normals for testing normals comments test still error! tidy up minor change chnage output files minor improvements peakfile hDetrained etc is summed up over all timesteps comments Felix comments Felix adapt test move function to choose plot-DEM merge detrained, entrained, stopped depth change to sfcChange adapt ouput name adapt test adapt test fix bug in MB file, adapt test fix errors in test fix error fix error comments AW threshold to chnage surface in ini simplify adaptDem function adapt test for simplified adapt Dem function
|
Standardtest ok, apart from know res |
option (flag
delStoppedParticles) that particles with mass = 0 or velocity = 0 are deletedoption that surface according to entrainment (
adaptSfcEntrainment), detrainment (adaptSfcDetrainment) and/or stopping (adaptSfcStopped) is adapted in every time stepnow the surface is only adapted if in one raster cell the height change is > 0.1 m (can/should be adapated)
check normals:
avaKot (entres):
-- normalized normals (z-component) (= cos(theta)) do not change (relatively) by more than 1.5% (from one time step to another) (except in the last time step)
-- theta (slope) does not change by more than 3° (absolut) (except in the last time step)
-- theta (slope) changes by more than 10% (relatively), but only in areas where there is stopping (and in flat terrain) (except in the last time step)
e.g. time step 94.5 s (it has the maximal change (in one cell) of the slope angle from one timestep to another)
avaKot, entres simulation with detrainment (in whole resistance area, detK = 20), explicitFriction = 1, delStoppedParticles = 1, adaptSfcStopped = 1, adaptSfcDetrainment = 1, adaptSfcEntrainment = 1
pfv (in whole domain)

zoom to slope angle change (slope angle(t=94.5) - slope angle(t=94.4)):
zoom to depth change (that is added to surface in t=94.5):
avaKot (ent; adaptSfcStopped = 0, adaptSfcEntrainment = 1): maximal slope angle change (per cell from one timestep to another): 0.079°
avaMal (ent; adaptSfcStopped = 0, adaptSfcEntrainment = 1)): maximal slope angle change (per cell from one timestep to another): 0.6° (at time step 39.7)
pfv (in whole domain)

zoom to slope angle change (slope angle(t=39.7) - slope angle(t=39.6)):
zoom to depth change (that is added to surface in t=39.7):
-- normalized normals (z-component) (= cos(theta)) do not change (relatively) by more than 1.5% (from one time step to another) (except in the last time step)
-- theta (slope) does not change by more than 5° (absolut) (except in the last time step)
-- theta changes by more than 3° (absolut): due to stopping
-- theta (slope) changes by more than 10% (relatively), but only in areas where there is stopping (and in flat terrain) (except in the last time step)
changed computation time due to adapting surface: (explicitFriction = 1, delStoppedParticles = 1, adaptSfcStopped = 1, adaptSfcDetrainment = 1, adaptSfcEntrainment = 1)
adapted docu is in progress...
some further ideas/ thoughts/ issues: #1113