CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Error while adding a new boundary condition

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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 16, 2021, 16:50
Default Error while adding a new boundary condition
New Member
Join Date: Jan 2021
Location: Norway
Posts: 22
Rep Power: 5
subhojitkadiacfd is on a distinguished road
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
--> 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/ 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 ""
Unknown patchField type myEpsilonFreeSurface for patch type patch

Valid patchField types are :
The Make/files and options are
fvPatchFields = fields/fvPatchFields
derivedFvPatchFields = $(fvPatchFields)/derived

LIB = $(FOAM_USER_LIBBIN)/libmyEpsilonFreeSurface
    -I$(LIB_SRC)/meshTools/lnInclude \
    -I$(LIB_SRC)/finiteVolume/lnInclude \

    -lmeshTools \
Could you please suggest the necessary correction? I am using OF 8 in Win 10.
Thanking you.


Last edited by subhojitkadiacfd; June 17, 2021 at 17:14.
subhojitkadiacfd is offline   Reply With Quote

Old   July 8, 2021, 10:48
Petros Ampatzidis
Join Date: Oct 2018
Location: Bath, UK
Posts: 64
Rep Power: 7
petros is on a distinguished road
Hi Subhojit,

Nothing seems wrong in the provided code snippet. These errors usually mean that you have to wclean and wmake again.

petros is offline   Reply With Quote

Old   July 14, 2021, 05:19
Join Date: Oct 2020
Posts: 40
Rep Power: 5
uosilos is on a distinguished road

Could you fixed it?

I am using OF8 as well and facing exactly the same problem
uosilos is offline   Reply With Quote


boundary condition, free surface flow

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 17:38
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field xiexing CFX 3 March 29, 2017 10:00
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00

All times are GMT -4. The time now is 08:00.