|
[Sponsors] |
March 23, 2024, 09:20 |
Openfoam cannot find user made library
|
#1 |
Member
Song Young Ik
Join Date: Apr 2022
Location: South Korea
Posts: 59
Rep Power: 4 |
I created new library, and successfully compiled it. However, when I try to run the code using such library, error shows like below, and cannot proceed.
I also checked my $FOAM_USER_LIBBIN directory, but library existed, so it seems like OF cannot find my library somehow... What could be the reason? --> FOAM Warning : From function void* Foam::dlOpen(const Foam::fileName&, bool) in file POSIX.C at line 1247 dlopen error : /home/song/OpenFOAM/song-11/platforms/linux64GccDPInt32Opt/lib/libfluidage.so: undefined symbol: _ZN4Foam2fv15laplacianSchemeIdNS_6VectorIdEEE27Ist reamConstructorTablePtr_E --> 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 "libfluidage.so" |
|
March 23, 2024, 09:28 |
|
#2 |
Member
Song Young Ik
Join Date: Apr 2022
Location: South Korea
Posts: 59
Rep Power: 4 |
I found the reason. It was because laplacian operator was running with fvm::laplacian(vector,scalar).
By the way, does anyone knows how exactly laplacian works here? Modifying the laplacian operator This post says that if I put tensor in DT, I can do 1-D laplacian, but I can't get the concept how OF's laplacian takes tensor. If i put 3x3 tensor in DT, wouldn't it return vector with 3 values? |
|
Tags |
libbin, library, posix, wmake |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting Started with OpenFOAM | wyldckat | OpenFOAM | 26 | June 21, 2024 07:54 |
how to link the path of a newly compiled library to another library in OpenFOAM | sourav8016 | OpenFOAM | 3 | December 28, 2023 17:21 |
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology | wyldckat | OpenFOAM | 17 | November 10, 2017 16:54 |
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 14, 2016 04:19 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 04:18 |