mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
DOC: StandardWallInteraction: correct restitution coeff (fixes #2676)
This commit is contained in:
@ -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_;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user