From a7fb99d67a9dbce93c2c5f3cdc08759161129089 Mon Sep 17 00:00:00 2001 From: HL-ZHI <106788276+HL-ZHI@users.noreply.github.com> Date: Sat, 4 Jun 2022 09:29:15 +0800 Subject: [PATCH] Update CVolumetricMovement.cpp --- Common/src/grid_movement/CVolumetricMovement.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Common/src/grid_movement/CVolumetricMovement.cpp b/Common/src/grid_movement/CVolumetricMovement.cpp index 1d4d43297649..373294a7e331 100644 --- a/Common/src/grid_movement/CVolumetricMovement.cpp +++ b/Common/src/grid_movement/CVolumetricMovement.cpp @@ -2066,9 +2066,9 @@ void CVolumetricMovement::Rigid_Pitching(CGeometry *geometry, CConfig *config, u /*--- Angular velocity at the new time ---*/ - alphaDot[0] = -Omega[0]*Ampl[0]*cos(Omega[0]*time_new); - alphaDot[1] = -Omega[1]*Ampl[1]*cos(Omega[1]*time_new); - alphaDot[2] = -Omega[2]*Ampl[2]*cos(Omega[2]*time_new); + alphaDot[0] = -Omega[0]*Ampl[0]*cos(Omega[0]*time_new + Phase[0]); + alphaDot[1] = -Omega[1]*Ampl[1]*cos(Omega[1]*time_new + Phase[1]); + alphaDot[2] = -Omega[2]*Ampl[2]*cos(Omega[2]*time_new + Phase[2]); if (rank == MASTER_NODE && iter == 0) { cout << " Pitching frequency: (" << Omega[0] << ", " << Omega[1];