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

OpenFoam Doesn't recognize LESModel as a valid selection

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2013, 09:15
Default OpenFoam Doesn't recognize LESModel as a valid selection
  #1
New Member
 
Tom Witten
Join Date: May 2011
Location: Freiberg
Posts: 10
Rep Power: 15
thomas99 is on a distinguished road
Hi All,

Using the the thread:
http://www.cfd-online.com/Forums/ope...lent-flow.html

I managed to add temperature to pisoFoam for use in LES computations. Everything seems to compile fine but when I run a test case I get an error message telling:

*****
Unknown turbulenceModel type LESModel

Valid turbulenceModel types:

1
(
laminar
)
************

When I switch to a laminar case everything seems to run but I would like to do LES.

I have searched the forums but have been unable to find a solution. Does anyone have an answer? The case is too large to post. I have posted instead the code files. Thanks in advance.

Regards,
Tom
Attached Files
File Type: gz pisoTFoam.tar.gz (2.1 KB, 7 views)
thomas99 is offline   Reply With Quote

Old   April 14, 2013, 11:49
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Tom,

The one I've attached seems to work, at least in OpenFOAM 2.2.

Please, for the next time you have a similar issue:
  1. Even if your case is too big, you could have adapted one of OpenFOAM's tutorials. I had to adapt the tutorial "incompressible/pisoFoam/les/pitzDaily" in order to test pisoTFoam .
  2. The package you provided was not ready to be tested. It only provided the source code files, it did not provide the file "Make/files" and "Make/options".
    And it was not packed inside a folder, which is therefore considered to be a tarbomb: http://en.wikipedia.org/wiki/Tar_%28...mat%29#Tarbomb
    • Anyway, what I did was to copy the source code of "pisoFoam" and adapt accordingly:
      Code:
      cp -r $FOAM_APP/solvers/incompressible/pisoFoam pisoTFoam
edit: oops, sorry, I had forgotten to attach the file

Best regards,
Bruno
Attached Files
File Type: gz pisoTFoam_works.tar.gz (2.3 KB, 12 views)
__________________

Last edited by wyldckat; April 14, 2013 at 13:49. Reason: forgot to attach the file...
wyldckat is offline   Reply With Quote

Old   April 16, 2013, 09:48
Default
  #3
New Member
 
Tom Witten
Join Date: May 2011
Location: Freiberg
Posts: 10
Rep Power: 15
thomas99 is on a distinguished road
Hi Bruno,

Thanks for the answer. After some testing and reading what you said it seems that there was no problem with my code but with compiling. I tried on another computer with another OpenFOAM installation and it worked. Although I am working on a Linux machine I guess the proper libraries were not being included...maybe an issue with my installation...but i can sort that out.

Sorry about not posting properly...next time I'll do it right.

Best regards,
Tom
thomas99 is offline   Reply With Quote

Reply

Tags
lesmodel, pisofoam, temperature


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
OpenFOAM - Validation of Results Ahmed OpenFOAM Running, Solving & CFD 10 May 13, 2018 19:28
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25
Critical errors during OpenFoam installation in OpenSuse 11.0 amscosta OpenFOAM 5 May 1, 2009 15:06
OpenFOAM Training and Workshop Zagreb 2628Jan2006 hjasak OpenFOAM 1 February 2, 2006 22:07


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