new turbulence model doesn't work after succesfull compilation
good evening, I implemented a rotational correction in the Spalart Allmaras model for openfoam 10, after a compilation without errors when I try to use decompose par or run a simulation with this new Turbulence model (called SpalartAllmarasRotCorr) I get the following error:
--> FOAM Warning : From function void* Foam::dlOpen(const Foam::fileName&, bool) in file POSIX.C at line 1247 dlopen error : /home/lorenzo/OpenFOAM/lorenzo-10/platforms/linux64GccDPInt32Opt/lib/libmyRASModels.so: undefined symbol: _ZNK4Foam9RASModels22SpalartAllmarasRotCorrINS_36i ncompressibleMomentumTransportModelEE1REv --> FOAM Warning : From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool) in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 106 could not load "libmyRASModels.so" I've seen on the forum that it may be due to mistakes in the Make/option files but I can't find the problem. Here below is the make/option file: EXE_INC = \ -I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ -I$(LIB_SRC)/MomentumTransportModels/incompressible/lnInclude \ -I$(LIB_SRC)/physicalProperties/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude LIB_LIBS = \ -lmomentumTransportModels \ -lincompressibleMomentumTransportModels \ -lfiniteVolume \ -lmeshTools |
Extend LIB_LIBS with directory in which libmyRASModels.so is located.
|
All times are GMT -4. The time now is 04:29. |