|
[Sponsors] |
December 11, 2006, 05:39 |
About the "I don't want to rec
|
#21 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
About the "I don't want to recompile the Original-Libs if I test a new turbulence model" problem mentioned above. I did a small patch the supports that:
http://openfoamwiki.net/non_cdl/Open...ib_plugInPatch With that patch you develop your turbulence model in a separate library (for instance libKOmega.so). If you want to use the new turbulence model with your case you add a file constant/plugInDict to it which has an entry that tells the executable to load the library. From then on all the turbulence models in the library are usable like the "regular" ones in the distribution (due to the technical wonder that is called runTime-selection). And there is no need to recompile Executables like rhoTurbFoam. (But you have to recompile libOpenFOAM.so once) (BTW: this works for everything that is runTime-selectable: BCs, thermoPhysical-models etc)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
December 11, 2006, 13:17 |
Hi Daniele!
As another guy
|
#22 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Daniele!
As another guy here wants to test-drive your k-omega-Implementation and I don't want to modify our OpenFOAM-installation, I took the liberty and reorganized the code a bit into a library. Now the k-omega model should live in peace with the other incompressible turbulence models. You can either add it to a solver with -lkOmegaIncompressible or use the plugIn-patch described above. What I did was add an intermediate class turbulenceModelOmega and let all kOmega-Models inherit from that. The class adds a method to calculate epsilon (because turbulenceModel expects that) from omega (I'm not sure about that. Maybe there is a Cmu missing in there). Apart from that I didn't touch the physics (I hope). regards Berhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
December 11, 2006, 13:25 |
The message-board hates me (an
|
#23 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
The message-board hates me (and won't let me load up an attachment). The code of the library can be found at:
http://openfoamwiki.net/index.php/Im...essible.tar.gz (but I'll try to upload the file once more)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
December 11, 2006, 13:27 |
Another try at uploading: htt
|
#24 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Another try at uploading: kOmegaIncompressible.tar.gz
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
December 22, 2006, 03:21 |
Hi,
I compiled the k-Omega
|
#25 |
Guest
Posts: n/a
|
Hi,
I compiled the k-Omega Model successful.My question is how I can use it in FoamX? Thank you Myting |
|
December 22, 2006, 08:00 |
You can't. You'll have to edit
|
#26 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
You can't. You'll have to edit constant/turbulencePropertiesDict
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
January 9, 2007, 18:01 |
Dear all,
I have uploaded i
|
#27 |
Senior Member
Daniele Panara
Join Date: Mar 2009
Posts: 101
Rep Power: 17 |
Dear all,
I have uploaded in the openFoam wiki the k-omega SST sas model. I tested the model and the results seem to be quite ok.. have fun Daniele |
|
August 1, 2007, 06:38 |
Hi Daniele,
just a small qu
|
#28 |
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 19 |
Hi Daniele,
just a small question about the k-omega SST SAS model. Do you think that it can be used for room airflow calculations with mixed convection? Regards! Fabian |
|
August 5, 2007, 12:02 |
Hi Daniele,
Can you please an
|
#29 |
Member
Quinn Tian
Join Date: Mar 2009
Posts: 62
Rep Power: 17 |
Hi Daniele,
Can you please answer some my questions about your comments regarding "no it works without wall functions you have to specify omega at the boundary equal to 10*6*nu/(beta deltay^2)"? Is the SST model in OPFoam 1.4 from this thread? Do I have to refine my mesh near the wall accordingly: Y+>40 for high Reynolds RANS models, like for the K-epsilon model? I am running a simulation of three dimensional flow over a hill with k-epsilon and k-omega model. I am very interested in the near wall pressure (adverse pressure gradient) and velocity results. Will this SST model behave well for this kind of flow, without wall function treatment? Thank for your help and comment! If anyone can answer my question, please do so and I really appreciate it. Quinn |
|
April 29, 2008, 11:28 |
Hi Daniele
where should i d
|
#30 |
Senior Member
|
Hi Daniele
where should i download you code of SST-SAS model and is there any tutorial of that? or could you please send me a copy? thanks! wayne |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SA Turbulence model implementation | ganesh | Main CFD Forum | 0 | March 6, 2006 13:23 |
k-w Turbulence model implementation | suneesh | Main CFD Forum | 4 | November 23, 2005 18:35 |
Numerical Implementation of LES Wall models | dragon | Main CFD Forum | 2 | March 14, 2005 01:53 |
turbulence models | rail cfd | Main CFD Forum | 7 | August 25, 2004 01:20 |
A reference on implementation of Spalart-Alam. Turbulence Model? | Mohammad Kermani | Main CFD Forum | 2 | December 26, 1999 03:56 |