CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Missing library (https://www.cfd-online.com/Forums/openfoam/191221-missing-library.html)

vcvedant August 3, 2017 17:53

Missing library
 
I was trying to implement a user defined turbulence model but I think I accidentally removed libincompressibleRASModels.so. I am using OpenFOAM-2.3.x

For the user defined model, in the /Make/files, I wrote
Code:

mykEpsilon.C
LIB = $(FOAM_LIBBIN)/libincompressibleRASModels

and then ran wmake.
Now when for a case I previously used, I tried kEpsilon model using simpleFoam and got the following error:
Code:

simpleFoam: error while loading shared libraries: libincompressibleRASModels.so: cannot open shared object file: No such file or directory
Please help me fix this problem

vcvedant August 3, 2017 18:19

Problem fixed
 
I fixed the problem. As mentioned I had deleted the library while making a new model.
I went to /turbulenceModel/RAS directory and ran
Code:

wmake
Then re-ran my case.


All times are GMT -4. The time now is 16:30.