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

New to OpenFOAM? - so am I

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 28, 2016, 14:01
Default
  #21
New Member
 
Umran Abdul Rahman
Join Date: Jun 2013
Location: Malaysia
Posts: 17
Rep Power: 13
umran is on a distinguished road
And Wang, do not forget to run the mech check by typing these lines...

checkMesh -allGeometry -allTopology

If there are no warnings or cautions, then rhoSimpleFoam should be able to run... and do play around with the relaxation factors especially during early running of the simulation.

At times, some might not understand that the relaxation factors are there to prevent a solved variable to be used directly for the next step solution. It seems that without the relaxation, the solution may converge early but on contrary as other parameters may not be ready for such a drastic change of the solved variables and leads to simulation blowup.

If there are slightest warnings on the mesh, better to get it corrected first before anything else. simpleFoam may run on not a proper mesh but rhoSimpleFoam definitely won't.
umran is offline   Reply With Quote

Old   August 8, 2016, 12:26
Default
  #22
Member
 
Dan Kokron
Join Date: Dec 2012
Posts: 33
Rep Power: 14
dkokron is on a distinguished road
Umran,

Thank you for posting your work!

I have the case running under OpenFOAM-4.x. Your use of an unbounded divergence scheme for (phid,p) appears to be critical. Using "bounded Gauss limitedLinear 1;" results in very slow execution as the solution for p fails to converge within 1000 iterations. Did you notice this behaviour? Did you disable the following warning for your runs?

Reading "/scratch/dkokron/OpenFOAM/dkokron-4.x/tutorials/compressible/rhoSimpleFoam/OneraM6/system/fvSchemes.divSchemes.div(phid,p)" at line 37
Unbounded 'Gauss' div scheme used in steady-state solver, use 'bounded Gauss' to ensure boundedness.
To remove this warning switch off 'warnUnboundedGauss' in "/home/dkokron/OpenFOAM/OpenFOAM-4.x/etc/controlDict"
dkokron is offline   Reply With Quote

Old   August 9, 2016, 00:35
Default
  #23
New Member
 
Umran Abdul Rahman
Join Date: Jun 2013
Location: Malaysia
Posts: 17
Rep Power: 13
umran is on a distinguished road
Dear Dan,

As expected there will be shockwave/shockwaves formed and therefore I allow the pressure to go wild prior to settle down.

I leave the switch to the unbounded warning as it is i.e. selected to '0' as it doesn't actually stop the simulation from running.
umran is offline   Reply With Quote

Old   August 9, 2016, 11:43
Default
  #24
Member
 
Dan Kokron
Join Date: Dec 2012
Posts: 33
Rep Power: 14
dkokron is on a distinguished road
Umran,

The case you provided ran fine with OpenFOAM-4.x after a few changes to the initial conditions. I also converted it to run in parallel. This required setting the consistent flag to yes in fvSolution I will share the case if there is interest.

Did you use the 'sample' utility to extract data for plotting the top and bottom Cp values? Would you share your sampleDict file?

Dan
dkokron is offline   Reply With Quote

Old   August 10, 2016, 01:16
Default
  #25
New Member
 
Umran Abdul Rahman
Join Date: Jun 2013
Location: Malaysia
Posts: 17
Rep Power: 13
umran is on a distinguished road
Dear Dan,
In the spirit of OpenFOAM as an open-source CFD package, sharing findings would be great especially in this cfd-online forum. There are many researchers browsing this forum and they (including myself) would be very grateful to those contributors.

Off course, there were some sensitivities involved when dealing with proprietary research, however, in this case of onera M6, I guessed it should be shared openly. Anyway, it is nice of you to extend it to run in parallel!

With regards to extracting the data, as mentioned in my paper, I used the paraView line filter located exactly at the percentage of the wing span (as per the Agard 138 report). From the extracted pressure raw data, by using the calculator function, you'll obtain the Cp values. Off course to align the data with the available data from the experiment, the cross-sectional length of each span section being normalized into 1.
umran is offline   Reply With Quote

Old   August 17, 2016, 18:22
Default
  #26
New Member
 
Richard Moser
Join Date: Aug 2009
Posts: 29
Rep Power: 17
moser_r is on a distinguished road
Dan,

Were any other changes required to get the case to run in parallel? I have added the consistent flag into my fvSolution file, but it is still crashing.

Many thanks

Richard
moser_r is offline   Reply With Quote

Old   October 13, 2016, 17:15
Default
  #27
Member
 
Dan Kokron
Join Date: Dec 2012
Posts: 33
Rep Power: 14
dkokron is on a distinguished road
Sorry for the delay.
see attached file containing the full working case. The file is actually a bzipped tarball.

tar jxf OneraM6P_CFDOnline.gz

Let me know if you have problems.
Dan
Attached Files
File Type: gz OneraM6P_CFDOnline.gz (169.7 KB, 75 views)
dkokron is offline   Reply With Quote

Old   December 1, 2017, 02:29
Default
  #28
New Member
 
CA
Join Date: Nov 2017
Posts: 1
Rep Power: 0
dlansigan is on a distinguished road
Hello,

I'm trying to recreate this case with a mesh generated using snappyHexMesh. How long did it take you to run your simulation, with and without parallelization?

Thanks!
dlansigan is offline   Reply With Quote

Old   December 5, 2017, 02:51
Default sticky on forum wall
  #29
Member
 
Ash Kotwal
Join Date: Jul 2016
Location: North Dakota, USA
Posts: 92
Blog Entries: 1
Rep Power: 10
Ash Kot is on a distinguished road
This is an excellent thread to follow; my suggestions will be to make it sticky on forum wall!
Ash Kot is offline   Reply With Quote

Old   January 24, 2018, 11:34
Default
  #30
New Member
 
Umran Abdul Rahman
Join Date: Jun 2013
Location: Malaysia
Posts: 17
Rep Power: 13
umran is on a distinguished road
Quote:
Originally Posted by Ash Kot View Post
This is an excellent thread to follow; my suggestions will be to make it sticky on forum wall!
Thanks, Ash.

It seems many would like to see the case file running. Our friend Mr. Don there have already got it running parallel on OpenFOAM 4.

So, to those interested in rhoSimpleFoam and OneraM6 solutions, kindly browse thru this thread.
umran is offline   Reply With Quote

Old   January 26, 2018, 08:58
Default
  #31
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi all, old thread moved to the top again
I would suggest to move the thread into the validation sub-forum based on the fact, that the thread compares measurement and simulation in a nice manner. To stick it to the top is not recommended. There are a lot of good threads out which are not pinned. If we would do so, we would only have pinned threads.

However, we are trying to keep the forum clean and move the stuff to the corresponding sub-forums. It is indeed a lot of work because everybody just posts on the main forum and there are too less moderators available.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   July 27, 2018, 05:14
Default
  #32
New Member
 
Manahara Manatunga
Join Date: Mar 2014
Posts: 15
Rep Power: 12
manahara is on a distinguished road
Appreciate your work in the validation case for the Onera M6 wing. Unfortunately none of the Dropbox links seems to work. If you are still up for publicly sharing your work, can you please include links to download your work. Thank you in advance,
manahara 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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 12:58
OpenFOAM Foundation Releases OpenFOAM v2.3.0 opencfd OpenFOAM Announcements from OpenFOAM Foundation 3 December 23, 2014 04:43
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
OpenFOAM Training and Workshop Hrvoje Jasak Main CFD Forum 0 October 7, 2005 08:14


All times are GMT -4. The time now is 22:18.