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

Adding a custom turbulence model in OpenFOAM 3.0

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 1 Post By Sylvain
  • 3 Post By hk318i
  • 2 Post By Sylvain

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 17, 2016, 11:28
Default Adding a custom turbulence model in OpenFOAM 3.0
  #1
Member
 
Sylvain Aguinaga
Join Date: Feb 2010
Posts: 41
Rep Power: 16
Sylvain is on a distinguished road
Hi Everyone

We tried to update our turbulences models from OpenFOAM 2.4.0 to OpenFOAM 3.0.1
It seems that with the new implementation of turbulence models in OpenFOAM 3.0, the old trick of copying a kEps into the run directory and compiling the modified version inside the FOAM_USER_LIBBIN is not working anymore.

I searched into the forum and I mostly saw that people managed to add a new turbulence model using the git version or the dev version, recompiling the whole turbulence library. I particularly looked at the PANS model developed by Helio (thank you very much for that by the way, PANS is very promising). Helio emphasizes on the findroot library, but I can’t find it on the 3.01 version.

My question is : is anybody succeeded in adding a new turbulence model in a standard Ubuntu installation of OpenFoam 3.0.1?

It’s quite frustrating as it was so easy to implement a new turbulence model in the previous version of OF..

Thant ahead for any suggestion or comment about that

Best regards

Sylvain
ancolli likes this.
Sylvain is offline   Reply With Quote

Old   June 17, 2016, 14:52
Default same
  #2
Member
 
Alberto
Join Date: Sep 2013
Posts: 37
Rep Power: 13
malv83 is on a distinguished road
Same thing here, I am trying to implement the new k-v2-omega transitional model developed by Lopez and Walters recently ("Prediction of transitional and fully turbulent flow using an alternative to the laminar kinetic energy approach") which is better than the k-kl-omega, but I do not know how to do it in opemfoam... please if you figure it out, post the solution here
malv83 is offline   Reply With Quote

Old   June 25, 2016, 16:17
Default
  #3
Senior Member
 
Hassan Kassem
Join Date: May 2010
Location: Germany
Posts: 242
Rep Power: 18
hk318i is on a distinguished road
Hello,
This issue was discussed here few time. Also I wrote a blog post to summarize this problem ``How to add a turbulence model in OpenFOAM-3.0.0``

Bw,
Hassan
ancolli, potentialFoam and lpz456 like this.

Last edited by hk318i; July 18, 2016 at 09:17.
hk318i is offline   Reply With Quote

Old   July 18, 2016, 09:15
Default
  #4
Member
 
Sylvain Aguinaga
Join Date: Feb 2010
Posts: 41
Rep Power: 16
Sylvain is on a distinguished road
Many thanks Hassan for your message!!

I couldn't find any clear answer about this subject and your blog post was perfect. Not only it gave me the answer, but it was also explaining very well why it was actually working (which is far more important). It was very instructive as I did the very two mistakes your were pointing out in your explanation.

Many thanks again for your very valuable contribution.

Best regards

Sylvain
hk318i and lpz456 like this.
Sylvain 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
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 15:24
chtMultiRegionSimpleFoam samiam1000 OpenFOAM Running, Solving & CFD 39 March 31, 2016 09:43
Problem in recompiling a turbulence model in OpenFoam 2.1.1 pascool OpenFOAM Programming & Development 6 October 3, 2012 13:03
OpenFOAM: LES turbulence model names Ollie Main CFD Forum 1 April 11, 2011 14:03
Centrifugal Pump and Turbulence Model Michiel CFX 12 January 25, 2010 04:20


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