BUG: timeVaryingMapped: enforce re-evaluation when not providing initial values
This commit is contained in:
parent
474785b8e7
commit
867d5088a7
@ -120,7 +120,11 @@ timeVaryingMappedFixedValueFvPatchField
|
||||
}
|
||||
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
|
||||
{
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user