How to include additional variables in a LESdelta?
Hello!
Currently I'am programming my own DES turbulence model. Therefore I need to make a new version of maxDeltaxyz which includes u*dt and sqrt(k)*dt in addition to dx, dy, dz, where u is the magnitude of the velocity, dt is the timestep and k is the turbulent kinetic energy used in that turbulence model. After trying one day, could anybody help me how to include which files so that I can use u, dt and k in maxDeltaxyz? Thanks in advance for any help!! |
Have a look in this turbulence model (VLES)
OpenFOAM-1.6-ext/src/turbulenceModels/incompressible/RAS/kOmegaSSTF Best |
Thanks for your reply!
I downloaded OpenFOAM-1.6-ext and didn't find kOmegaSSTF in that src folder. :confused: However the main changes to kOmegaSST are stated in the presentation "How to implement your own turbulence model" by Håkan Nilsson. My problem is that those variables which can be used in a turbulence model aren't known by mymaxDeltaxyz (/home/user/OpenFOAM/user-2.1.1/src/turbulenceModels/LES/LESdeltas/maxDeltaxyz). Hence, when I write them into my code and try to compile, I recieve following output: Code:
Best regards |
Perhaps a IOobject helps!?
|
ok, I think it works for now!
Thank you very much |
Could you show some part of your code, perhaps it is interesting for other users too.
|
yes, I will do that but I think I will wait until I have some validation results. Either I will post a running turbulence model or I will run into some problems and post a buggy code in order to get some help ;)
so long |
Hi!
I finished the programming of the turbulence models. You find the necessary files in this thread: http://www.cfd-online.com/Forums/ope...s-k-omega.html best regards |
All times are GMT -4. The time now is 16:11. |