avalanche issueshttps://develop.openfoam.com/Community/avalanche/-/issues2023-07-05T05:10:18Zhttps://develop.openfoam.com/Community/avalanche/-/issues/6Incorrect gravitational vector in the friction models2023-07-05T05:10:18ZBas NieuwboerIncorrect gravitational vector in the friction modelsIn the friction models, for instance the manninStrikcler, the vertical component of the gravitational vector is used. This is incorrect, since it is the component normal to the bed which will induce the friction. A thought experiment is ...In the friction models, for instance the manninStrikcler, the vertical component of the gravitational vector is used. This is incorrect, since it is the component normal to the bed which will induce the friction. A thought experiment is to think about a very steep (nearly vertical) slope. For this slope, the friction should be near zero. The normal component of the gravitation vector would be nearly zero and is the right component to use.
In my application I only needed the manningStrickler friction and adapted these files together with the frictionModel to include the normal component of the gravity. I've included the changes I made to these files. Obviously, also the call to the friction constructor should be updated in the solver.
I've also read in the dimensionless manning coefficient and changed the units in the class so the input file becomes less cluttered. I can imagine that incorporating this is somewhat more difficult.
[frictionModel.H](/uploads/bfd22a04eb3a3feb6294e7c5f9eca36d/frictionModel.H)
[frictionModelNew.C](/uploads/224cd548cf5a4445e359b18dbfef9141/frictionModelNew.C)
[frictionModel.C](/uploads/c5e7987046c35159e95f68cf0aed4da0/frictionModel.C)
[ManningStrickler.C](/uploads/e677c95a8d8c0035401b802585c2cc63/ManningStrickler.C)
[ManningStrickler.H](/uploads/71974f7543978f892918cc8f0ce91c96/ManningStrickler.H)Matti RauterMatti Rauter