|
[Sponsors] |
Problem creating user defined Boundary conditions |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 27, 2014, 18:40 |
Problem creating user defined Boundary conditions
|
#1 |
New Member
Fredrik Eikeland Fossan
Join Date: Oct 2014
Posts: 6
Rep Power: 11 |
Helo. I´m trying to modify an exciting boundary condition, but get an error message when trying to visualize it in paraview. I copied all of the files in the existing oscillatingFixedValue into a folder called myBCs in my WM_PROJECT_USER_DIR folder. i renamed all the files, and did my changes in the corresponding .C file. Then made Make/files and Make/options files. Make/files consist of:
myFixedValueFvPatchFields.C LIB = $(FOAM_USER_LIBBIN)/libmyBCs Make/options consist of: EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude EXE_LIBS = \ -lfiniteVolume then I run the "wake libso" command from the terminal "standing" in myBCs folder. Compiling doesn´t raise any error message. then i add this boundary condition to my case, and also add the following lines in the controlDict.C file: libs ("libmyBCs.so"); My case uses icoFoam, and running this doesn´t raise any error message either, but when I try to visualize the results in paraview, it paraFoam exits and I get an error-message reading: " FOAM Warning : From function dlOpen(const fileName&, const bool) in file POSIX.C at line 1179 dlopen error : /home/fredrik/OpenFOAM/fredrik-2.3.0/platforms/linux64GccDPOpt/lib/libmyBCs.so: undefined symbol: _ZTIN4Foam5token8compoundE --> FOAM Warning : From function dlLibraryTable:pen(const fileName&, const bool) in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99 could not load "libmyBCs.so" Does anybody know what might be wrong? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 58 | July 3, 2020 01:13 |
Implementation of boundary conditions for FVM | Tom | Main CFD Forum | 7 | August 26, 2014 05:58 |
Units problem and boundary conditions with potentialFoam | Calu | OpenFOAM Running, Solving & CFD | 0 | February 14, 2014 13:31 |
ribbed channel / simpleFoam / boundary conditions | beeo | OpenFOAM Pre-Processing | 20 | July 17, 2013 08:39 |
Convective Heat Transfer - Heat Exchanger | Mark | CFX | 6 | November 15, 2004 15:55 |