|
[Sponsors] |
January 26, 2007, 07:54 |
Hello,
I have a small probl
|
#1 |
Member
nicolas
Join Date: Mar 2009
Location: Glasgow
Posts: 42
Rep Power: 17 |
Hello,
I have a small problem. I compiled some of the komega turbulence models posted earlier on the forum. This worked fine. I am now trying to switch back to the original models. So i compile OpenFOAM/OpenFOAM-1.3/src/turbulenceModels to get a new library OpenFOAM/OpenFOAM-1.3/lib/linuxAMD64Gcc4DPOpt/libincompressibleTurbulenceModels. so But when i run a solver (turbFoam in my case), i get Valid turbulenceModel types are : 4 ( kOmega laminar kOmegaBSL kOmegaSST ) so something is still wrong. I must have missed a step somewhere. Thanks Nicolas |
|
January 26, 2007, 19:32 |
you have to recompile the old
|
#2 |
Senior Member
Daniele Panara
Join Date: Mar 2009
Posts: 101
Rep Power: 17 |
you have to recompile the old turbulence models or use one of the option proposed in the other post..
Daniele |
|
January 27, 2007, 15:39 |
Yes, i think it's what i have
|
#3 |
Member
nicolas
Join Date: Mar 2009
Location: Glasgow
Posts: 42
Rep Power: 17 |
Yes, i think it's what i have done. As said above, i runned the allMake again in turbulenceModels, i got a new library (*.so). But i get the error. Does that mean that the library is still wrong, or is it something else?
Cheers, Nicolas |
|
January 27, 2007, 20:32 |
did you try first to wmake cle
|
#4 |
Senior Member
Daniele Panara
Join Date: Mar 2009
Posts: 101
Rep Power: 17 |
did you try first to wmake clean and than recompile?
Daniele |
|
January 29, 2007, 12:34 |
Yes i made sure of that.
I
|
#5 |
Member
nicolas
Join Date: Mar 2009
Location: Glasgow
Posts: 42
Rep Power: 17 |
Yes i made sure of that.
I have deleted the OpenFOAM/OpenFOAM-1.3/src/turbulenceModels directory, copied again a clean one from the Gzip file. I still have the same problem. If i understand well: a change in the turbulence models, will change the libincompressibleTurbulenceModels.so file, and therefore turbFoam. So i need to recompile both library and binary. Do you know where this valid turbulence model check is done. I am sure that my libincompressibleTurbulenceModels.so file is correct. Regards, Nicolas |
|
January 30, 2007, 04:06 |
Hi Nicolas. Are you by any cha
|
#6 |
Senior Member
Rasmus Hemph
Join Date: Mar 2009
Location: Sweden
Posts: 108
Rep Power: 17 |
Hi Nicolas. Are you by any chance using the same name for your two different libraries? (incompressibleTurbulenceModels). If so, OpenFOAM will dynamically pick up the one under $(FOAM_USER_LIBBIN), as it is first in your $LD_LIBRARY_PATH. Have a look at the thread in http://www.cfd-online.com/cgi-bin/Op...cus/discus.cgi
where this issue is discussed. //Rasmus |
|
January 31, 2007, 14:30 |
Ok, great. It works now. Thank
|
#7 |
Member
nicolas
Join Date: Mar 2009
Location: Glasgow
Posts: 42
Rep Power: 17 |
Ok, great. It works now. Thanks a lot, Rasmus.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Turbulence models | Galathea | Fidelity CFD | 12 | August 6, 2010 09:19 |
Turbulence models | Juan Catelén | CFX | 0 | August 9, 2007 15:58 |
Turbulence Models | cfd_novice | Main CFD Forum | 2 | July 30, 2006 19:49 |
turbulence models? | haider | FLUENT | 0 | March 8, 2006 00:58 |
turbulence models | rail cfd | Main CFD Forum | 7 | August 25, 2004 01:20 |