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/)
-   -   Running new implementations of turbulence model along with new boundary condition (http://www.cfd-online.com/Forums/openfoam-programming-development/114022-running-new-implementations-turbulence-model-along-new-boundary-condition.html)

neeraj March 4, 2013 01:27

Running new implementations of turbulence model along with new boundary condition
 
Hi,
I have implemented a new turbulence model called "mykepsilon" in to LIB = $(FOAM_USER_LIBBIN)/libmyTurbulenceModels and a new boundary condition "myepsilonwallfunction" into LIB = $(FOAM_USER_LIBBIN)/libmyWallFunctions .
Now i am trying to use both of these in a problem by adding
libs ("libmyTurbulenceModels.so");
libs ("libmyWallFunctions.so");

into controldict file. but its detecting only one of the two. How can i use both at same time? (NB:compiling into dynamic library was done using wmake libso command in both cases)

betakv March 4, 2013 04:16

Hi,

you need to write it in following form

libs( "libmyTurbulenceModels.so" "libmyWallFunctions.so" );

neeraj March 4, 2013 04:33

Now it works..Thank you..! :-)


All times are GMT -4. The time now is 22:25.