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

Adding compiled turbulence model to the library - OpenFOAM 5.0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2018, 11:53
Default Adding compiled turbulence model to the library - OpenFOAM 5.0
  #1
New Member
 
David Cardoso Netto
Join Date: May 2017
Posts: 1
Rep Power: 0
netto005 is on a distinguished road
Hi everyone!

I'm trying to implement a modified turbulence model in OpenFOAM 5.0 based on the following tutorial: http://www.tfd.chalmers.se/~hani/kur...ort_task_3.pdf
I've followed the instructions for the first case of the tutorial and faced an error which was partially solved using the following: http://hassankassem.me/posts/newturbulencemodel/
After writing the makeTurModel.C file and trying to compile the turbulence model I get a redifinition error message as it follows:
"opt/openfoam5/src/OpenFOAM/lnInclude/addToRunTimeSelectionTable.H:40:9: error: redefinition of 'Foam::RASModel<Foam::IncompressibleTurbulenceMode l<Foam::transportModel>"

Does anyone know what may be going on? Any help would be very much appreciated.

Best regards!
netto005 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
Adding fvOptions to turbulence model slottedLemon OpenFOAM Programming & Development 13 May 28, 2020 13:27
OpenFOAM 5.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 11 June 6, 2018 00:48
Adding a Turbulence Model doug OpenFOAM Running, Solving & CFD 11 May 21, 2018 14:54
Dummy turbulence model for OpenFoam 3 Simple FOAM nusivares OpenFOAM Running, Solving & CFD 3 March 10, 2016 23:28
Recompile turbulence model in OpenFoam qtian OpenFOAM Running, Solving & CFD 7 November 26, 2007 16:51


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