sixDoFSolvers::symplectic: Removed the restriction on outer iteration

Resolves bug-report http://bugs.openfoam.org/view.php?id=2297
This commit is contained in:
Henry Weller
2016-10-19 15:10:52 +01:00
parent 0391e73f2c
commit 7ae0766a31

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -67,14 +67,6 @@ void Foam::sixDoFSolvers::symplectic::solve
scalar deltaT0 scalar deltaT0
) )
{ {
if (!firstIter)
{
FatalErrorInFunction
<< "The symplectic integrator is explicit "
"and can only be solved once per time-step"
<< exit(FatalError);
}
// First simplectic step: // First simplectic step:
// Half-step for linear and angular velocities // Half-step for linear and angular velocities
// Update position and orientation // Update position and orientation