|
[Sponsors] |
Library error when trying to load a new library |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 24, 2016, 09:37 |
Library error when trying to load a new library
|
#1 |
New Member
Join Date: Jul 2015
Posts: 7
Rep Power: 10 |
Hi to everybody
I am trying to write a modified version of the interstitialInletVelocity BC with to ad the possibility to specify both space and time dependence of a velocity inlet boundary condition. I have more or less managed to do that (in order to have the subroutine compile I have to disable the evaluation of the time dependence from the subroutine itself by commenting out Code:
/* fixedValueFvPatchVectorField::operator==(profilemult_->value(dirCmpt)); */ When I try to execute setField for example I have the following error message: Code:
--> FOAM Warning : From function void* Foam::dlOpen(const Foam::fileName&, bool) in file POSIX.C at line 1037 dlopen error : /home/luca/OpenFOAM/luca-4.1/platforms/linux64GccDPInt32Opt/lib/libtimespacevarinterstitialInletVelocityBC.so: undefined symbol: _ZTVN4Foam55timespacevarinterstitialInletVelocityFvPatchVectorFieldE --> FOAM Warning : From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool) in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 97 could not load "libtimespacevarinterstitialInletVelocityBC.so" I am currently using OF 4.1 Thank you in advance. Luca |
|
June 13, 2018, 10:31 |
Same problem
|
#2 |
New Member
Andrea
Join Date: Apr 2016
Posts: 4
Rep Power: 10 |
Hi Luca,
I'm experiencing the same problem you had here and I can't manage to find where the error could be. Did you solve your problem? Best Regards, Andrea |
|
June 13, 2018, 10:37 |
|
#3 |
New Member
Join Date: Jul 2015
Posts: 7
Rep Power: 10 |
Andrea
I opted for a different approach and dropped my attempt at the subroutine Sorry |
|
June 14, 2018, 13:38 |
|
#4 |
New Member
Andrea
Join Date: Apr 2016
Posts: 4
Rep Power: 10 |
Ok no problem, I think that i mispelled something and could not find where because the file was too long, I started again from the beginning and after the linking had not problem.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error "UDF library you are trying to load is not compiled for 2ddp..." | ananthanarasimhan | Fluent UDF and Scheme Programming | 5 | March 25, 2021 00:13 |
Error: The UDF library you are trying to load (libudf) is not compiled for 2d on the | gxu2 | Fluent UDF and Scheme Programming | 13 | August 10, 2018 17:38 |
decomposePar is missing a library | whk1992 | OpenFOAM Pre-Processing | 8 | March 7, 2015 07:53 |
Error: The UDF library you are trying to load is not compiled for 3ddp on the current | Whitemast | Fluent UDF and Scheme Programming | 0 | November 21, 2013 06:45 |
cannot load UDF library | jayilosa | Fluent UDF and Scheme Programming | 3 | November 16, 2011 12:44 |