Bugfix in deformedGeom
Need to create volPointInterpolation object within the time loop (after the mesh has been read) in order to avoid issues related to already calculated demand driven data.
This commit is contained in:
parent
7459da3a36
commit
2025feef38
1 changed files with 3 additions and 2 deletions
|
@ -53,8 +53,6 @@ int main(int argc, char *argv[])
|
|||
|
||||
instantList timeDirs = timeSelector::select0(runTime, args);
|
||||
|
||||
volPointInterpolation pInterp(mesh);
|
||||
|
||||
pointField zeroPoints(mesh.points());
|
||||
|
||||
forAll(timeDirs, timeI)
|
||||
|
@ -73,6 +71,9 @@ int main(int argc, char *argv[])
|
|||
IOobject::MUST_READ
|
||||
);
|
||||
|
||||
// Create volPointInterpolation object after the mesh has been read
|
||||
volPointInterpolation pInterp(mesh);
|
||||
|
||||
// Check U exists
|
||||
if (Uheader.headerOk())
|
||||
{
|
||||
|
|
Reference in a new issue