CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   warning message with custom boundary condition during decomposePar (http://www.cfd-online.com/Forums/openfoam-programming-development/89236-warning-message-custom-boundary-condition-during-decomposepar.html)

romant June 8, 2011 03:13

warning message with custom boundary condition during decomposePar
 
Hej,

I have modified one of the boundary condition delivered with openfoam and compiled into a new user library. I can use the boundary condition when using single thread and it also work when using a decomposed domain. however, when I decompose the domain with decomposePar I get the following warning message thrown at me

Code:

--> FOAM Warning :
    From function dlLibraryTable::open(const fileName& functionLibName)
    in file db/dlLibraryTable/dlLibraryTable.C at line 78
    could not load /home/roman/OpenFOAM/roman-1.7.1/lib/linux64GccDPOpt/libuserBCs.so: undefined symbol: _ZTIN4Foam14incompressible8RASModelE

This is strange, since when I run the command

Code:

ls /home/roman/OpenFOAM/roman-1.7.1/lib/linux64GccDPOpt/
is get to see that libuserBCs is available.

marupio June 8, 2011 11:26

Did you try adding:

Code:

libs ( "libuserBCs" )
to the controlDict?

romant June 9, 2011 02:16

I did that, otherwise it would not work at all to run the case, since it wouldn't be able to find the BC


All times are GMT -4. The time now is 19:13.