mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: timeVaryingMapped: enforce re-evaluation when not providing initial values
This commit is contained in:
@ -120,7 +120,11 @@ timeVaryingMappedFixedValueFvPatchField
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
updateCoeffs();
|
// Note: we use evaluate() here to trigger updateCoeffs followed
|
||||||
|
// by re-setting of fvatchfield::updated_ flag. This is
|
||||||
|
// so if first use is in the next time step it retriggers
|
||||||
|
// a new update.
|
||||||
|
this->evaluate(Pstream::blocking);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -113,7 +113,11 @@ timeVaryingMappedFixedValuePointPatchField
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
updateCoeffs();
|
// Note: use evaluate to do updateCoeffs followed by a reset
|
||||||
|
// of the pointPatchField::updated_ flag. This is
|
||||||
|
// so if first use is in the next time step it retriggers
|
||||||
|
// a new update.
|
||||||
|
pointPatchField<Type>::evaluate(Pstream::blocking);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user