solidBodyMotionFunctions::sixDoFMotion: Corrected reading of translationRotation entry

following mesh change.

Resolves bug-report https://bugs.openfoam.org/view.php?id=3798
This commit is contained in:
Henry Weller
2022-02-03 21:07:40 +00:00
parent 991489eeb8
commit 68cb2aef55

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -161,7 +161,7 @@ bool Foam::solidBodyMotionFunctions::sixDoFMotion::read
translationRotation_ = Function1<translationRotationVectors>::New
(
"translationRotation",
SBMFCoeffs
SBMFCoeffs_
);
SBMFCoeffs_.lookup("CofG") >> CofG_;