How do I know which solver
Hello,
I'm a student and my task is to compile some openFOAM cases. I've done the basic examples of the tutorial on the OpenFOAM homepage, but I'm still newbie. My question is: How do I know which solver I have to use? SimpleFoam, nonEulerianPolyFoam, icoFoam etc. Can I find a hint in any of the documents, which to use? The problem is that all solvers I have tried randomly, there are always undefined keywords in "transport properties" like nu. Thanks for your help Marvin |
Dear Marvin,
you can have a look at the following site to check which solver you have to use for your Problem. http://www.openfoam.org/features/standard-solvers.php What is the Problem with "nu" ? it is the kinematic viscosity (laminar) - you can have a look into the source code of the thermodynamics. You will find comments which give you the Information about a variable. Additionally you can use doxygen http://www.openfoam.org/docs/cpp/ Normally you have mu in the navier-stokes-equation but in the incompressilbe solvers everything is divided with the density so mu/rho = nu. Therefor you Need nu in the transportProperties. In other solvers you will have to define mu. Regards Tobi |
Dear Tobi,
thanks for your fast advice. Indeed rho is defined in transport properties. But not mu. My advisor told me now I should try viscoelasticinterFoam. I can't find such a solver, nor in your link neither is it implemented in my OpenFoam. Instead I tried interFoam. There I received the following mistake. FOAM FATAL IO ERROR: keyword PIMPLE is undefined in dictionary "/home/marvin/OpenFOAM/marvin-2.2.1/run/Test/system/fvSolution" file: /home/marvin/OpenFOAM/marvin-2.2.1/run/Test/system/fvSolution at line 27. Already changed PICO in PIMPLE but didn't work. Do you have any clue what I can try? Thanks Marvin |
I only know the solver - viscoelasticFluidFoam - but that is included in the extend version.
The solver is telling you how variable it needs if there is some missing. The best way is, copying a tutorial case and Change the necessary files. In your case with the tutorial: 1. wrong tutorial Version 2. damaged tutorial (but I think that is not the case) 3. you did something wrong I am not able to help you because I dont know which steps you are doing. |
If you can't find a solver in the mainline OF-version, it is usually part of the extend-project.
Regarding PIMPLE. Are all the brackets closed? |
Thanks for your help. Now I've seen there are also some libaries I have to extract from the extended project. I hope this works.
|
All times are GMT -4. The time now is 18:28. |