mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
interDyMFoam: phi.oldTime() is not needed but U.oldTime() needs to be created
This commit is contained in:
@ -52,7 +52,6 @@
|
||||
phiAbs = phi;
|
||||
phiAbs.oldTime() = phi;
|
||||
fvc::makeRelative(phi, U);
|
||||
phi.oldTime() = phi;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -81,6 +81,9 @@ int main(int argc, char *argv[])
|
||||
scalar timeBeforeMeshUpdate = runTime.elapsedCpuTime();
|
||||
|
||||
{
|
||||
// Ensure old-time U exists for mapping
|
||||
U.oldTime();
|
||||
|
||||
// Calculate the relative velocity used to map the relative flux phi
|
||||
volVectorField Urel("Urel", U);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user