CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Self coded 1dof pitch code differs from OF's after 1.4s

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2022, 22:06
Default Self coded 1dof pitch code differs from OF's after 1.4s
  #1
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 401
Rep Power: 19
quarkz is on a distinguished road
Hi,

I am trying to create my own 6dof code to suit my problem.

I have created a 1dof y translation and it compares very similar to OF's own 6dof solver results.

Now I'm trying to create a similar 1dof pitch rotation. It uses the same algorithm as OF's 6dof solver, using the newmark interpolation scheme.

I found that for this case, the results (force,moment,pitch angle) are very similar up to around t=1.4s. It then starts to show some divergence between the two.

I wonder why this is happening. I checked the code and it follows similar coding to the 1dof y translation, only replacing the translation with the pitching rotation.

Can someone give some hints so to what could have caused the difference?

Thanks.
quarkz is offline   Reply With Quote

Old   August 3, 2022, 03:11
Default
  #2
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 401
Rep Power: 19
quarkz is on a distinguished road
Update:

I run until around t ~ 3s.

I found that there's some noticeable difference in the orientation of the airfoil. However, even at t = 3s, the difference is not big. Hence, the difference has not diverged. But at the same time instant, the velocities are different.
quarkz is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to allow MPI code run in serial mode with a single CPU core? aerosayan Main CFD Forum 15 May 30, 2022 13:05
Fortran->Assembly : How to remove redundant non-vectorized code? aerosayan Main CFD Forum 6 November 20, 2020 05:37
The different among the Pitch options MNMK CFX 2 November 12, 2020 03:27
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 15:56


All times are GMT -4. The time now is 02:59.