CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

dynamicSmagorinsky doesn't work when I load multiple libraries in controlDict

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2021, 22:05
Default dynamicSmagorinsky doesn't work when I load multiple libraries in controlDict
  #1
New Member
 
Yi Wang
Join Date: Mar 2019
Location: Shenzhen, China
Posts: 4
Rep Power: 5
wangy11756010 is on a distinguished road
The dynamicSmagrinsky code is downloaded from Github (https://github.com/AlbertoPa/dynamicSmagorinsky) and it works when I run the test case. But when I want to use this model in my own case, I have met some problems. In controlDict file, I add these shared library files complied in FOAM_USER_LIBBIN as shown below.


libs
(
"libScaledMappedVelocityBCDelta.so"
"libOpenFOAM.so"
"libdynamicSmagorinskyModel.so"
);


When I run my simulation, I got these errors:


From void *Foam::dlLibraryTable:penLibrary(const Foam::fileName &, bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 188
Could not load "libdynamicSmagorinskyModel.so"
libdynamicSmagorinskyModel.so: cannot open shared object file: No such file or directory

But I ensure that the library is complied smoothly and I can run the test case. I think the reason is that I include two irrelavant library files simultaneously ("libScaledMappedVelocityBCDelta.so" and "libdynamicSmagorinskyModel.so"), maybe there are conflicts between them. Can anyone suggeet how can I resolve this problem?

Thanks in advance.
wangy11756010 is offline   Reply With Quote

Reply

Tags
complilation, les model, openfoam-v2012

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
Loading Libraries (e.g. new boundary conditions) Stored Locally in ControlDict dancfd OpenFOAM Running, Solving & CFD 3 May 15, 2022 13:53
[swak4Foam] difficulties installing swak4foam newbie29 OpenFOAM Community Contributions 117 June 16, 2021 03:11
First order in fvSchemes does not seem to work gerritgroot OpenFOAM Running, Solving & CFD 0 September 30, 2015 20:06
Are OSIG TurboMachinery libraries able to work under OpenFOAM-1.6-ext? alkochevsky OpenFOAM Installation 26 June 8, 2014 15:22
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45


All times are GMT -4. The time now is 06:56.