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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2018, 05: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, 05: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, 15: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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 20:21
Error in Two phase (condensation) modeling adilsyyed CFX 15 June 24, 2015 19:42
SA Turbulence model implementation ganesh Main CFD Forum 0 March 6, 2006 12:23
k-w Turbulence model implementation suneesh Main CFD Forum 4 November 23, 2005 17:35
A reference on implementation of Spalart-Alam. Turbulence Model? Mohammad Kermani Main CFD Forum 2 December 26, 1999 02:56


All times are GMT -4. The time now is 13:45.