|
[Sponsors] |
June 16, 2021, 17:50 |
Error while adding a new boundary condition
|
#1 |
New Member
Join Date: Jan 2021
Location: Norway
Posts: 22
Rep Power: 5 |
Hello everyone,
I am trying to add a new boundary condition for epsilon using wmake libso. I have successfully compiled the boundary condition and added the library in controlDict. However while running simpleFoam, I am getting the following error Code:
--> FOAM Warning : From function void* Foam::dlOpen(const Foam::fileName&, bool) in file POSIX.C at line 1251 dlopen error : /home/subhojik/OpenFOAM/subhojik-8/platforms/linux64GccDPInt32Opt/lib/libmyEpsilonFreeSurface.so: undefined symbol: _ZTVN4Foam38myEpsilonFreeSurfaceFvPatchScalarFieldE --> FOAM Warning : From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool) in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 106 could not load "libmyEpsilonFreeSurface.so" Code:
..... --> FOAM FATAL IO ERROR: Unknown patchField type myEpsilonFreeSurface for patch type patch Valid patchField types are : ...... Code:
fvPatchFields = fields/fvPatchFields derivedFvPatchFields = $(fvPatchFields)/derived $(derivedFvPatchFields)/myEpsilonFreeSurface/myEpsilonFreeSurfaceFvPatchScalarField.C LIB = $(FOAM_USER_LIBBIN)/libmyEpsilonFreeSurface Code:
EXE_INC = \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ LIB_LIBS = \ -lmeshTools \ -lfiniteVolume Thanking you. Subhojit Last edited by subhojitkadiacfd; June 17, 2021 at 18:14. |
|
July 8, 2021, 11:48 |
|
#2 |
Member
Petros Ampatzidis
Join Date: Oct 2018
Location: Bath, UK
Posts: 64
Rep Power: 8 |
Hi Subhojit,
Nothing seems wrong in the provided code snippet. These errors usually mean that you have to wclean and wmake again. Petros |
|
July 14, 2021, 06:19 |
|
#3 |
Member
UOCFD
Join Date: Oct 2020
Posts: 40
Rep Power: 6 |
Hi!
Could you fixed it? I am using OF8 as well and facing exactly the same problem |
|
Tags |
boundary condition, free surface flow |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
Question about adaptive timestepping | Guille1811 | CFX | 25 | November 12, 2017 18:38 |
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field | xiexing | CFX | 3 | March 29, 2017 11:00 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |