|
[Sponsors] |
dynamicSmagorinsky doesn't work when I load multiple libraries in controlDict |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 10, 2021, 23:05 |
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: 7 |
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. |
|
August 29, 2023, 13:01 |
|
#2 |
Senior Member
Alain Islas
Join Date: Nov 2019
Location: Mexico
Posts: 142
Rep Power: 6 |
Did you find a solution? I'm facing the same trouble. I'm using OpenFOAM v8
|
|
August 29, 2023, 13:46 |
|
#3 |
Senior Member
Alain Islas
Join Date: Nov 2019
Location: Mexico
Posts: 142
Rep Power: 6 |
This is from the OpenFOAM user guide (CFD direct), but it doesn't work. I believe it only reads my 1st library
|
|
Tags |
complilation, les model, openfoam-v2012 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] difficulties installing swak4foam | newbie29 | OpenFOAM Community Contributions | 120 | October 21, 2022 05:01 |
Loading Libraries (e.g. new boundary conditions) Stored Locally in ControlDict | dancfd | OpenFOAM Running, Solving & CFD | 3 | May 15, 2022 14:53 |
First order in fvSchemes does not seem to work | gerritgroot | OpenFOAM Running, Solving & CFD | 0 | September 30, 2015 21:06 |
Are OSIG TurboMachinery libraries able to work under OpenFOAM-1.6-ext? | alkochevsky | OpenFOAM Installation | 26 | June 8, 2014 16:22 |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 16:45 |