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

Errors in compiling library for new BC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2017, 13:21
Default Errors in compiling library for new BC
  #1
New Member
 
Jeremy
Join Date: Apr 2017
Posts: 1
Rep Power: 0
jemling is on a distinguished road
Good day to one and all.

I am encountering the following error message after following some of the youtube and other compilation documents from various sources. They all follow the same method of creating a new directory, copying a most suitable/similar BC (that one would want to generate), creating a "Make" directory with the "files" and "options" files.

I am intending to modify the "calculated" BC with the thin plate deflection equation, to simulate a FSI simulation, studying the deflection of a membrane with a sinusoidal pressure input into a fluid space.

The error when I input "wmake libso":
Quote:
-lOpenFOAM -ltriSurface -lmeshTools -lfiniteVolume -o /home/jling/OpenFOAM/jling-4.1/platforms/linux64GccDPInt32Opt/lib/libmyBoundaryConditions.so
/usr/bin/ld: cannot open output file /home/jling/OpenFOAM/jling-4.1/platforms/linux64GccDPInt32Opt/lib/libmyBoundaryConditions.so: Is a directory
collect2: error: ld returned 1 exit status
/opt/openfoam4/wmake/makefiles/general:156: recipe for target '/home/jling/OpenFOAM/jling-4.1/platforms/linux64GccDPInt32Opt/lib/libmyBoundaryConditions.so' failed
make: *** [/home/jling/OpenFOAM/jling-4.1/platforms/linux64GccDPInt32Opt/lib/libmyBoundaryConditions.so] Error 1
"files"
Quote:
fsiCouple/fsiCoupleFvPatchFields.C

LIB = $(FOAM_USER_LIBBIN)/libmyBoundaryConditions
"options"
Quote:
EXE_INC = \
-I$(LIB_SRC)/triSurface/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \

LIB_LIBS = \
-lOpenFOAM \
-ltriSurface \
-lmeshTools \
-lfiniteVolume
jemling is offline   Reply With Quote

Reply


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
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 14 December 16, 2019 23:12
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 05:28
Stuck in a Rut- interDyMFoam! xoitx OpenFOAM Running, Solving & CFD 14 March 25, 2016 07:09
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 02:50
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 22:40


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