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

Turbulence model implementation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2018, 06:11
Default Turbulence model implementation
  #1
New Member
 
Xavier Lamboley
Join Date: Jan 2015
Location: Bordeaux, France
Posts: 13
Rep Power: 11
tilasoldo is on a distinguished road
Hello,


I have an implementation of a turbulence model named sstTransition, which works great. However, my code requires the whole TurbulenceModels folder to be copied in the user source folder, which does not seem efficient to me. I would like instead to have only my turbulence model, and use the installation implementation for the rest.


Given that, I can't manage to find the correct compilation options to achieve that ; I tried to include the main installation lnInclude folders, which results in "duplicate entries in runtime selection table TurbulenceModel".


I try to compile that under the latest OpenFOAM 6. My TurbulenceModels folder and the required library findroot are attached.



Thank you very much for your help,
X. Lamboley
Attached Files
File Type: gz turbulence_implementation.tar.gz (13.5 KB, 13 views)
tilasoldo is offline   Reply With Quote

Old   July 16, 2018, 06:28
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Xavier,

take a look at these materials and repository, you will find an example on how to compile a SST-derived model without copying the original folder:

https://sites.google.com/view/olaflo...ve-simulations

Best,

Pablo
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   July 29, 2018, 16:09
Default Works perfectly
  #3
New Member
 
Xavier Lamboley
Join Date: Jan 2015
Location: Bordeaux, France
Posts: 13
Rep Power: 11
tilasoldo is on a distinguished road
This works like a charm, thank you so much for your help!
tilasoldo 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
Modified k-e turbulence model UDF Travis Fluent UDF and Scheme Programming 7 November 11, 2018 21:21
Error in Two phase (condensation) modeling adilsyyed CFX 15 June 24, 2015 20:42
SA Turbulence model implementation ganesh Main CFD Forum 0 March 6, 2006 13:23
k-w Turbulence model implementation suneesh Main CFD Forum 4 November 23, 2005 18:35
A reference on implementation of Spalart-Alam. Turbulence Model? Mohammad Kermani Main CFD Forum 2 December 26, 1999 03:56


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