From 7ae0766a311fd09377ce97bcc83d73915cd9274c Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Wed, 19 Oct 2016 15:10:52 +0100 Subject: [PATCH] sixDoFSolvers::symplectic: Removed the restriction on outer iteration Resolves bug-report http://bugs.openfoam.org/view.php?id=2297 --- .../sixDoFSolvers/symplectic/symplectic.C | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/sixDoFRigidBodyMotion/sixDoFSolvers/symplectic/symplectic.C b/src/sixDoFRigidBodyMotion/sixDoFSolvers/symplectic/symplectic.C index bd678d1090..d7ae092e1f 100644 --- a/src/sixDoFRigidBodyMotion/sixDoFSolvers/symplectic/symplectic.C +++ b/src/sixDoFRigidBodyMotion/sixDoFSolvers/symplectic/symplectic.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2015 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2015-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -67,14 +67,6 @@ void Foam::sixDoFSolvers::symplectic::solve scalar deltaT0 ) { - if (!firstIter) - { - FatalErrorInFunction - << "The symplectic integrator is explicit " - "and can only be solved once per time-step" - << exit(FatalError); - } - // First simplectic step: // Half-step for linear and angular velocities // Update position and orientation