Hello, I have a small probl
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 :
so something is still wrong. I must have missed a step somewhere.
you have to recompile the old
you have to recompile the old turbulence models or use one of the option proposed in the other post..
Yes, i think it's what i have
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?
did you try first to wmake cle
did you try first to wmake clean and than recompile?
Yes i made sure of that. I
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.
Hi Nicolas. Are you by any cha
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.
Ok, great. It works now. Thank
Ok, great. It works now. Thanks a lot, Rasmus.
|All times are GMT -4. The time now is 22:01.|