CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

new turbulence model doesn't work after succesfull compilation

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2023, 18:24
Default new turbulence model doesn't work after succesfull compilation
New Member
Join Date: Nov 2021
Location: italy
Posts: 6
Rep Power: 4
astrolollo is on a distinguished road
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/ undefined symbol: _ZNK4Foam9RASModels22SpalartAllmarasRotCorrINS_36i ncompressibleMomentumTransportModelEE1REv
--> FOAM Warning :
From function bool Foam::dlLibraryTable:pen(const Foam::fileName&, bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 106
could not load ""

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:

-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \
-I$(LIB_SRC)/MomentumTransportModels/incompressible/lnInclude \
-I$(LIB_SRC)/physicalProperties/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \

-lmomentumTransportModels \
-lincompressibleMomentumTransportModels \
-lfiniteVolume \
astrolollo is offline   Reply With Quote

Old   March 7, 2023, 11:36
Senior Member
Domenico Lahaye
Join Date: Dec 2013
Posts: 722
Blog Entries: 1
Rep Power: 17
dlahaye is on a distinguished road
Extend LIB_LIBS with directory in which is located.
dlahaye is offline   Reply With Quote


ras incompressible, spalart allamras, turbulence models

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUIDE] Switching turbulence model to SpalartAllmaras gabrielfelix OpenFOAM Running, Solving & CFD 1 March 24, 2022 20:19
New turbulence model in OpenFOAM 5 with porosity scalar shinjanghosh OpenFOAM Programming & Development 0 January 15, 2020 00:06
Centrifugal Pump and Turbulence Model Michiel CFX 12 January 25, 2010 03:20
Discussion: Reason of Turbulence!! Wen Long Main CFD Forum 3 May 15, 2009 09:52
Why Turbulence models are not universal. Senthil Main CFD Forum 4 July 5, 2000 04:34

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