can't read the librairy of a modified inlet condition
Hello,
I am trying to run a simpleFoam simulation with a modified inlet condition, but it seems I can't read the library in which the inlet condition is defined. I get the following error message Code:
--> FOAM Warning : Code:
--> FOAM FATAL IO ERROR: Unknown patchField type VelRH for patch type patch I run with OpenFOAM 2.0.x. I created a velRH directory which contains the files functionVelRHFvPatchVectorField.C, functionVelRHFvPatchVectorField.H, and the Make directory which contains the files files and options (respectively below). Code:
functionVelRHFvPatchVectorField.C Code:
EXE_INC = \ Code:
wmakeLnInclude: linking include files to ./lnInclude Thanks for reading this long message :) Eloïse |
Greetings Eloïse,
Try the following command, to check if the library path is within visible reach: Code:
echo $LD_LIBRARY_PATH | grep "eloisec-2.0.x/platforms/linux64GccDPOpt/lib" And I'm assuming that you edited out what was at the "..." in ".../eloisec-2.0.x", because otherwise, that would be a real problem, since it's not a standard path ;) Best regards, Bruno |
Hello Bruno,
Thanks for your fast answer :) 1) The path is present in the $LD_LIBRARY_PATH 2) The file velRH.so actually exist, and it is located in the proper directory Do you have any other idea? And you are right, I "shortened" the path the the library directory :) Regards, Eloïse |
Hi Eloïse,
Then the problem must be in the code itself. Without looking at it, it could any number of possibilities. The only other possibility that comes to mind is the name of the library, because the traditional naming (at least from what I've seen on Linux) is to prepend "lib" to the name: Code:
LIB = $(FOAM_USER_LIBBIN)/libvelRH Bruno |
Problem solved!
I shouldn't have looked that far... I just called VelRH.so instead of velRH.so in the controlDict. So classic :rolleyes: Thanks for the help anyway! Regards, Eloïse |
All times are GMT -4. The time now is 06:00. |