mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Euler-Euler: turbulentDispersionModels: Burns: Minor re-formulation to
improve stability. Resolves bug report <https://bugs.openfoam.org/view.php?id=2544>
This commit is contained in:
committed by
Andrew Heather
parent
f2e4aac14c
commit
d27dbbf096
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2014-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2014-2017 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -101,7 +101,11 @@ Foam::turbulentDispersionModels::Burns::D() const
|
|||||||
*sqr(pair_.dispersed().d())
|
*sqr(pair_.dispersed().d())
|
||||||
)
|
)
|
||||||
*pair_.continuous().rho()
|
*pair_.continuous().rho()
|
||||||
*(1.0 + pair_.dispersed()/max(pair_.continuous(), residualAlpha_));
|
*pair_.dispersed()
|
||||||
|
*(
|
||||||
|
1.0/max(pair_.dispersed(), residualAlpha_)
|
||||||
|
+ 1.0/max(pair_.continuous(), residualAlpha_)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2014-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2014-2017 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -101,7 +101,11 @@ Foam::turbulentDispersionModels::Burns::D() const
|
|||||||
*sqr(pair_.dispersed().d())
|
*sqr(pair_.dispersed().d())
|
||||||
)
|
)
|
||||||
*pair_.continuous().rho()
|
*pair_.continuous().rho()
|
||||||
*(1.0 + pair_.dispersed()/max(pair_.continuous(), residualAlpha_));
|
*pair_.dispersed()
|
||||||
|
*(
|
||||||
|
1.0/max(pair_.dispersed(), residualAlpha_)
|
||||||
|
+ 1.0/max(pair_.continuous(), residualAlpha_)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user