CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   Problem creating user defined Boundary conditions (

fredf October 27, 2014 19:40

Problem creating user defined Boundary conditions
Helo. I´m trying to modify an exciting boundary condition, but get an error message when trying to visualize it in paraview. I copied all of the files in the existing oscillatingFixedValue into a folder called myBCs in my WM_PROJECT_USER_DIR folder. i renamed all the files, and did my changes in the corresponding .C file. Then made Make/files and Make/options files. Make/files consist of:


Make/options consist of:


then I run the "wake libso" command from the terminal "standing" in myBCs folder. Compiling doesn´t raise any error message.

then i add this boundary condition to my case, and also add the following lines in the controlDict.C file:

libs ("");

My case uses icoFoam, and running this doesn´t raise any error message either, but when I try to visualize the results in paraview, it paraFoam exits and I get an error-message reading:

" FOAM Warning :
From function dlOpen(const fileName&, const bool)
in file POSIX.C at line 1179
dlopen error : /home/fredrik/OpenFOAM/fredrik-2.3.0/platforms/linux64GccDPOpt/lib/ undefined symbol: _ZTIN4Foam5token8compoundE
--> FOAM Warning :
From function dlLibraryTable::open(const fileName&, const bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
could not load ""

Does anybody know what might be wrong?

All times are GMT -4. The time now is 00:18.