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

Trying to implement my own modified LienCubicKE model in OpenFOAM 5.0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2019, 20:12
Default Trying to implement my own modified LienCubicKE model in OpenFOAM 5.0
  #1
New Member
 
Rohit Saini
Join Date: Jul 2012
Posts: 13
Rep Power: 14
rohitsaini@y7mail.com is on a distinguished road
Hello Foamers,


I am trying to implement a modified version of LienCubicKE turbulence model in OpenFOAM 5.0. This existing turbulence model is
available in $FOAM_SRC/TurbulenceModels/incompressible/turbulentTransportModels/RAS/LienCubicKE. I am always getting this error:


incompressible/turbulentTransportModels/myTurbulentTransportModels.H:52:51: error: ‘Foam::RASModels’ has not been declared
(transportModelIncompressibleTurbulenceModel, RAS, Type)



Though, I tried implementing my modified Launder Sharma, realizableKE using this link (http://hassankassem.me/posts/newturbulencemodel) and was successful in the first attempt.


Did anyone know how to solve this problem?
rohitsaini@y7mail.com is offline   Reply With Quote

Old   May 11, 2019, 12:26
Default
  #2
New Member
 
Join Date: Apr 2018
Posts: 4
Rep Power: 8
RicardoFE95 is on a distinguished road
Hi Rohit, I've been having trouble utilizing the liencubicKE model implemented in OF5, the normal Reynolds stresses in some regions appear as negative which is impossible. There is also a strange ripple pattern in these regions. I've been looking to modify the source code as well but didn't know where to start exactly.

What exactly did you find in the code that needed to be modified?
RicardoFE95 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
Error in New Surface reaction model (Having multiple reactions) surajkvs OpenFOAM Programming & Development 2 May 23, 2023 22:21
Modified k-e turbulence model UDF Travis Fluent UDF and Scheme Programming 7 November 11, 2018 21:21
dynamic smagorinsky model in OpenFOAM 4.1 zhangxc0223 OpenFOAM Running, Solving & CFD 2 October 29, 2018 04:53
OpenFOAM webinar: A multidimensional parallel numerical solver of ADM1 model for anae Gavin OpenFOAM Announcements from Other Sources 0 July 12, 2018 11:30
Which solver in OpenFOAM corresponds to the Eulerian Model in FLUENT? paradism OpenFOAM 1 March 20, 2017 10:35


All times are GMT -4. The time now is 02:59.