CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   OpenFoam Doesn't recognize LESModel as a valid selection (http://www.cfd-online.com/Forums/openfoam-programming-development/116026-openfoam-doesnt-recognize-lesmodel-valid-selection.html)

thomas99 April 11, 2013 08:15

OpenFoam Doesn't recognize LESModel as a valid selection
 
1 Attachment(s)
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

wyldckat April 14, 2013 10:49

1 Attachment(s)
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 :rolleyes:.
  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 :rolleyes:

Best regards,
Bruno

thomas99 April 16, 2013 08:48

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

Gosi September 11, 2013 19:49

pisoTFoam
 
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

wyldckat September 14, 2013 09:24

Greetings Simon,

I simply fixed the broken dependency that the solver had. As indicated in the first post, read this thread: http://www.cfd-online.com/Forums/ope...lent-flow.html
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: http://www.cfd-online.com/Forums/ope...-get-help.html

Best regards,
Bruno


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