DOC: StandardWallInteraction: correct restitution coeff (fixes #2676)

This commit is contained in:
Kutalmis Bercin
2023-10-04 17:06:43 +01:00
parent f7dfb02d12
commit a811e25556

View File

@ -6,7 +6,7 @@
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Copyright (C) 2011-2017 OpenFOAM Foundation Copyright (C) 2011-2017 OpenFOAM Foundation
Copyright (C) 2018-2019 OpenCFD Ltd. Copyright (C) 2018-2023 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
@ -44,10 +44,13 @@ Description
{ {
type rebound; // stick, escape type rebound; // stick, escape
e 1; // optional - elasticity coeff e 1; // optional - elasticity coeff
mu 0; // optional - restitution coeff mu 0; // optional - (1 - restitution coeff)
} }
\endverbatim \endverbatim
Note
- \c mu=1 results in perfectly inelastic collisions.
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#ifndef StandardWallInteraction_H #ifndef StandardWallInteraction_H
@ -82,7 +85,7 @@ protected:
//- Elasticity coefficient //- Elasticity coefficient
scalar e_; scalar e_;
//- Restitution coefficient //- The unity minus the restitution coefficient
scalar mu_; scalar mu_;