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

Onera M6 Validation with openFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By HPE
  • 1 Post By mAlletto
  • 1 Post By HPE

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 14, 2021, 04:34
Default Onera M6 Validation with openFOAM
  #1
New Member
 
Onur Koç
Join Date: May 2020
Posts: 12
Rep Power: 5
Onur Koç is on a distinguished road
Hi,

I am trying to validate onera m6 wing (transonic airfoil) with openFoam. By the help of Micheal Aletto case (https://wiki.openfoam.com/OneraM6_by_Michael_Alletto) I run very well for the rhoSimpleFoam solver. But I want to see results of the rhoPimpleFoam to make comparison.
I can get good results for the rhoSimpleFoam, I can see the shock waves. On the other hand rhoPimpleFoam is also run but results are not good.With changing only fvSolution fvSchemes folders (from rhoPimpleFoam tutorials) for rhoPimpleFoam and using smallar deltaT I run the simulation. It is converge but results are not what I want.
So as a result, to get good result with rhoPimpleFoam what I should check , what is the reason of bad results for rhoPimpleFoam ?
Thanks for help.
Attached Images
File Type: jpg rhoSimpleFoam-pressure.jpg (67.6 KB, 56 views)
File Type: jpg rhoPimpleFoam-Pressure.jpg (92.8 KB, 37 views)
Onur Koç is offline   Reply With Quote

Old   May 14, 2021, 06:46
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
some other tool that can be used? https://hisa.gitlab.io/archive.html
HPE is offline   Reply With Quote

Old   May 14, 2021, 09:26
Default
  #3
New Member
 
Onur Koç
Join Date: May 2020
Posts: 12
Rep Power: 5
Onur Koç is on a distinguished road
I didn't understand exactly that other tools mean. But I should do this with openFoam. Because it is my graduating project topic
Onur Koç is offline   Reply With Quote

Old   May 14, 2021, 11:14
Default
  #4
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
hisaFoam is a module based on OpenFOAM (i.e. you need OpenFOAM to utilise hisaFoam). It is highly capable for compressible external flow applications. Otherwise, with the default OpenFOAM solvers, you might find yourself banging your head against the wall when something goes wrong in your high-speed compressible flow simulations.

At least, you can find that their tutorial suite contains the ONERA case as well.

(this is not an investment advice).

Hope this helps.
HPE is offline   Reply With Quote

Old   May 14, 2021, 11:23
Default
  #5
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 615
Rep Power: 15
mAlletto will become famous soon enough
Did you try local time stepping
mAlletto is offline   Reply With Quote

Old   May 14, 2021, 12:32
Default
  #6
New Member
 
Onur Koç
Join Date: May 2020
Posts: 12
Rep Power: 5
Onur Koç is on a distinguished road
Thanks for your helps but I should also specied that I should make this analysis rhoPimpleFoam and rhoCentralFoam also. At the and we will compare the all results of pimple,central and simple. This is my final project.

You mean that I can not get good results by using rhopimplefoam ? Because I want to know whether I can solve this case by rhopimplefoam or not. rhoSimpleFoam can solve but why rhoPimpleFoam results are so far away the experimental results.
Onur Koç is offline   Reply With Quote

Old   May 14, 2021, 12:34
Default
  #7
New Member
 
Onur Koç
Join Date: May 2020
Posts: 12
Rep Power: 5
Onur Koç is on a distinguished road
Yes I have used adjustible time step it is rearranging automatically.
Onur Koç is offline   Reply With Quote

Old   May 14, 2021, 14:56
Default
  #8
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
You can get good results with rhoPimpleFoam. Having said that it might not be starightforward to get them. Apart from my personal experience, I don't have any evidence, I am afraid. Just be extra careful with rho* solvers, because they were developed for HVAC in mind, not for high-speed aero.

Hope this helps.
Onur Koç likes this.
HPE is offline   Reply With Quote

Old   May 14, 2021, 16:21
Default
  #9
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 615
Rep Power: 15
mAlletto will become famous soon enough
There is a tutorial where the 2d flow of a transonic airfoil is calculated with rhoPimplefoam

https://wiki.openfoam.com/NACA0012_by_Michael_Alletto

Maybe you find some hints there
Onur Koç likes this.
mAlletto is offline   Reply With Quote

Old   May 15, 2021, 02:00
Default
  #10
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 615
Rep Power: 15
mAlletto will become famous soon enough
There is another tutorial which simulates the supersonic flow around a sphere with rhoPimplefoam. The bow shock and expansion waves are captured desently. A suggestion how to implement a sensor to capture the high gradients around the shock is also included. https://wiki.openfoam.com/AMR_supers...ichael_Alletto
mAlletto is offline   Reply With Quote

Old   May 15, 2021, 14:33
Default
  #11
New Member
 
Onur Koç
Join Date: May 2020
Posts: 12
Rep Power: 5
Onur Koç is on a distinguished road
thank you so much for your helps and interest. I will look and try.
Onur Koç is offline   Reply With Quote

Old   May 15, 2021, 14:35
Default
  #12
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
Could you please consider to share your results and the test cases herein to help others after you will accomplish your studies? I'm curious how these rho* solvers would act on this sort of engineering problems. Thanks.
HPE is offline   Reply With Quote

Old   May 15, 2021, 15:56
Default
  #13
New Member
 
Onur Koç
Join Date: May 2020
Posts: 12
Rep Power: 5
Onur Koç is on a distinguished road
Of course. If I can reach the experimental results, I will share all things
Onur Koç is offline   Reply With Quote

Old   May 18, 2021, 14:12
Default
  #14
New Member
 
Onur Koç
Join Date: May 2020
Posts: 12
Rep Power: 5
Onur Koç is on a distinguished road
Quote:
Originally Posted by HPE View Post
Could you please consider to share your results and the test cases herein to help others after you will accomplish your studies? I'm curious how these rho* solvers would act on this sort of engineering problems. Thanks.

I couldn't exactly get the correct results but I have proceed a little. In my fvSchemes , I have written div(phid,p) $Gauss limitedLinear 1 instead of $turbulance. ( I don't know how they works or effect the results theoritically but I have write it from examples tutorials.) Then my results are more closer to experimental results in 14. second . At this point I have said it is okey it will done. But in 15.8 second it goes nonsense. I want to share it maybe from this point you have idea and help. If you don't , no problem I am still trying to get solution.
Attached Images
File Type: jpg pimple-p-14.second.jpg (94.8 KB, 23 views)
File Type: jpg pimple-T-14.second.jpg (94.5 KB, 13 views)
File Type: jpg pimple-p-15.8second.jpg (97.5 KB, 16 views)
File Type: jpg pimple-T-15.8second.jpg (98.4 KB, 15 views)
File Type: jpg fvSchemes(div(phid,p).jpg (104.0 KB, 17 views)
Onur Koç is offline   Reply With Quote

Old   May 18, 2021, 16:33
Default
  #15
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
Could you quantify what you mean by 'nonsense'?

Log files with the minMax function object for p, T and U could be helpful.

In the worst case scenario, the Batman can be summoned. The bat signal is the limitTemperature and limitVelocity fvOptions.

Hope this helps.
HPE is offline   Reply With Quote

Old   May 22, 2021, 01:47
Default
  #16
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 615
Rep Power: 15
mAlletto will become famous soon enough
Hello. I tried to simulate the onera M6 wing case with the same setting using rhoPimpleFoam as with the tutorial where I used rhoSimpleFoam. I used a local time stepping to accelerate the convergence to steady state. However after 4000 iteration steps no converged solution could be reached (I monitored the lift force which was not converged).



I found this result interesting since in principle if we underrelax rhoSimpleFoam a very similar system of equation is solved as with local time stepping and rhoPimpleFoam.


Find attached the system folder I used. I think it is enough to replace this system folder with the one of the tutorial to reproduce the results
Attached Files
File Type: gz system.tar.gz (6.5 KB, 12 views)
mAlletto is offline   Reply With Quote

Old   May 22, 2021, 01:50
Default
  #17
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 615
Rep Power: 15
mAlletto will become famous soon enough
What I can further suggest is to increase along wing resolution in the vicinity of the shock in order to capture the sharp gradients better
mAlletto is offline   Reply With Quote

Old   May 26, 2021, 01:57
Default
  #18
Member
 
Join Date: Dec 2018
Posts: 75
Rep Power: 7
hbulus is on a distinguished road
These are the problems i face everyday unfortunately ...
Please share your fvSchemes and fvSolution files. Then i can advice you some schemes for try. 0.orig of tutorial was well treated, i checked it. If you made some changes, let us know.
As advices:
1-Initialize with potentialFoam or just use the result of converged case with rhoSimpleFoam
2- Divergence schemes should be run to start with first orders then pass to second order(not necessarily).
3-Do not limit Pressure gradient
4- Treat div(phi,U) as directional like Gauss linearUpwindV grad(U)
5- If nonorthoganility is higher, you might treat advance in interpolation of U.

Last edited by hbulus; May 28, 2021 at 01:50.
hbulus is offline   Reply With Quote

Old   May 26, 2021, 04:37
Default
  #19
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
"Openfoam is just like women, treat as naive;"

@Onur Koç, and treat this answer as a sexist bullshit.
mAlletto likes this.
HPE is offline   Reply With Quote

Reply

Tags
rhopimplefoam, rhosimplefoam


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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
OpenFOAM Training Beijing 22-26 Aug 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 May 3, 2016 04:57
OpenFoam validation of 3D Poiseuille Solution alinve OpenFOAM 6 August 16, 2012 00:09
CFX-Pre problem, pls help!!! cth_yao CFX 0 February 17, 2012 00:52


All times are GMT -4. The time now is 16:58.