mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
KinematicParcel: Bug fix. Restored steady particle tracking coupling.
This was broken when the minimum-step-fraction tolerance was removed.
This commit is contained in:
committed by
Andrew Heather
parent
d75eb94404
commit
655741b804
@ -311,7 +311,7 @@ bool Foam::KinematicParcel<ParcelType>::move
|
|||||||
const scalar dt = (p.stepFraction() - sfrac)*trackTime;
|
const scalar dt = (p.stepFraction() - sfrac)*trackTime;
|
||||||
|
|
||||||
// Avoid problems with extremely small timesteps
|
// Avoid problems with extremely small timesteps
|
||||||
if (!td.cloud().solution().steadyState() && dt > ROOTVSMALL)
|
if (dt > ROOTVSMALL)
|
||||||
{
|
{
|
||||||
// Update cell based properties
|
// Update cell based properties
|
||||||
p.setCellValues(td, dt, celli);
|
p.setCellValues(td, dt, celli);
|
||||||
|
|||||||
Reference in New Issue
Block a user