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

OpenFoam Doesn't recognize LESModel as a valid selection

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 11, 2013, 08: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: 6
thomas99 is on a distinguished road
Hi All,

Using the the thread:
add a pssive scalar in turbulent flow

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, 4 views)
thomas99 is offline   Reply With Quote

Old   April 14, 2013, 10:49
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,526
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 8 views)

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

Old   April 16, 2013, 08:48
Default
  #3
New Member
 
Tom Witten
Join Date: May 2011
Location: Freiberg
Posts: 10
Rep Power: 6
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

Old   September 11, 2013, 19:49
Default pisoTFoam
  #4
New Member
 
Simon Emhardt
Join Date: Feb 2013
Posts: 9
Rep Power: 4
Gosi is on a distinguished road
hi bruno,

i want to run a LES calculation for a rotating pipe with the boundary conditions of constant heat flux or constant temperature.
i want to evaluate the rms of temperature fluctuations, streamwise turbulent heat flux, azimuthal turbulent heat flux, wall-normal turbulent heat flux and reynold shear stress.
is this possible?
could you give me some more information about pisoTFoam?
What is this solver actually calculating?

best regards

simon
Gosi is offline   Reply With Quote

Old   September 14, 2013, 09:24
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,526
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Simon,

I simply fixed the broken dependency that the solver had. As indicated in the first post, read this thread: add a pssive scalar in turbulent flow
The simplest tutorial on this topic is this one: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam

As for what you want to do: I think it is all possible to do with OpenFOAM, or at least with the help of ParaView.

As for how to actually achieve each task, I suggest you create a new dedicated thread to this case of yours and detail your case and intended calculations, as explained here: How to give enough info to get help

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Reply

Tags
lesmodel, pisofoam, temperature

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 04:52
OpenFOAM - Validation of Results Ahmed OpenFOAM Running, Solving & CFD 9 June 22, 2011 18:59
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 06:25
Critical errors during OpenFoam installation in OpenSuse 11.0 amscosta OpenFOAM 5 May 1, 2009 14:06
OpenFOAM Training and Workshop Zagreb 2628Jan2006 hjasak OpenFOAM 1 February 2, 2006 22:07


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