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

Library error when trying to load a new library

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 24, 2016, 09:37
Default Library error when trying to load a new library
  #1
New Member
 
Join Date: Jul 2015
Posts: 6
Rep Power: 4
zanilu70 is on a distinguished road
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)); */
in the Member function part of the code otherwise it won't compile, If you have comments on the subroutine itself feel free to post them ) since for I can live without the time dependence but not the variation with space of the inlet velocity.
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"
If anyone can give me some help I would be grateful. I am quite new at OF programming and my knowledge of C++ is quite limited.
I am currently using OF 4.1

Thank you in advance.

Luca
Attached Files
File Type: gz timespacevarinterstitialInletVelocity-0.0.2.tar.gz (66.9 KB, 1 views)
zanilu70 is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: The UDF library you are trying to load (libudf) is not compiled for 2d on the gxu2 Fluent UDF and Scheme Programming 11 April 21, 2017 23:37
Error "UDF library you are trying to load is not compiled for 2ddp..." ananthanarasimhan Fluent UDF and Scheme Programming 1 January 31, 2016 23:02
decomposePar is missing a library whk1992 OpenFOAM Pre-Processing 8 March 7, 2015 08: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 07:45
cannot load UDF library jayilosa Fluent UDF and Scheme Programming 3 November 16, 2011 13:44


All times are GMT -4. The time now is 10:34.