CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Turbulence model implementation (https://www.cfd-online.com/Forums/openfoam-programming-development/204146-turbulence-model-implementation.html)

tilasoldo July 16, 2018 05:11

Turbulence model implementation
 
1 Attachment(s)
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

Phicau July 16, 2018 05:28

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

tilasoldo July 29, 2018 15:09

Works perfectly
 
This works like a charm, thank you so much for your help! :)


All times are GMT -4. The time now is 11:46.