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

[foam-extend.org] Fluid Structure Interaction Toolkit on foam extend 4.0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2020, 13:26
Default Fluid Structure Interaction Toolkit on foam extend 4.0
  #1
Senior Member
 
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 16
Bazinga is on a distinguished road
Hey,

I am following this page for the installation (running ubuntu 16.04):
https://openfoamwiki.net/index.php/E...oam-extend_4.0

I wanted to test the beamInCrossFlow tutorial. Everything works smoothly as far as I can tell until Allwmake tries "wmake libso setInletVelocity". Here I get the error message

Code:
SOURCE=setInletVelocity.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-200 -I../../../../src/fluidSolidInteraction/lnInclude     -I/opt/foam/foam-extend-4.0/src/finiteVolume/lnInclude     -I/opt/foam/foam-extend-4.0/src/finiteArea/lnInclude     -I/opt/foam/foam-extend-4.0/src/meshTools/lnInclude     -I/opt/foam/foam-extend-4.0/src/dynamicMesh/dynamicFvMesh/lnInclude     -I/opt/foam/foam-extend-4.0/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/opt/foam/foam-extend-4.0/src/foam/lnInclude -I/opt/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/setInletVelocity.o
/usr/bin/ld: cannot open output file /opt/foam/foam-extend-4.0/lib/linux64GccDPOpt/libsetInletVelocity.so: Permission denied
collect2: error: ld returned 1 exit status
The log of the solver fsiFoam then also shows that the library was not successfully loaded.

Code:
(...)
Reference point coordinates: (0.45 0.15 -0.15)
--> FOAM Warning :
    From function dlLibraryTable::open(const fileName& functionLibName)
    in file db/dlLibraryTable/dlLibraryTable.C at line 124
    could not load libsetInletVelocity.so: cannot open shared object file: No such file or directory


--> FOAM FATAL ERROR:
Unknown function type setInletVelocity

Valid functions are :

1
(
pointHistory
)
(...)
Tried the HronTurekFsi3 too and similar problem with loading a library.
Not quite sure how I have to deal with the challenge of loading the library correctly.
Bazinga is offline   Reply With Quote

Old   August 17, 2020, 23:51
Default The smae problem with you
  #2
New Member
 
Shaobin CAI
Join Date: Apr 2019
Posts: 3
Rep Power: 7
sHpherd is on a distinguished road
Quote:
Originally Posted by Bazinga View Post
Hey,

I am following this page for the installation (running ubuntu 16.04):
https://openfoamwiki.net/index.php/E...oam-extend_4.0

I wanted to test the beamInCrossFlow tutorial. Everything works smoothly as far as I can tell until Allwmake tries "wmake libso setInletVelocity". Here I get the error message

Code:
SOURCE=setInletVelocity.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-200 -I../../../../src/fluidSolidInteraction/lnInclude     -I/opt/foam/foam-extend-4.0/src/finiteVolume/lnInclude     -I/opt/foam/foam-extend-4.0/src/finiteArea/lnInclude     -I/opt/foam/foam-extend-4.0/src/meshTools/lnInclude     -I/opt/foam/foam-extend-4.0/src/dynamicMesh/dynamicFvMesh/lnInclude     -I/opt/foam/foam-extend-4.0/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/opt/foam/foam-extend-4.0/src/foam/lnInclude -I/opt/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/setInletVelocity.o
/usr/bin/ld: cannot open output file /opt/foam/foam-extend-4.0/lib/linux64GccDPOpt/libsetInletVelocity.so: Permission denied
collect2: error: ld returned 1 exit status
The log of the solver fsiFoam then also shows that the library was not successfully loaded.

Code:
(...)
Reference point coordinates: (0.45 0.15 -0.15)
--> FOAM Warning :
    From function dlLibraryTable::open(const fileName& functionLibName)
    in file db/dlLibraryTable/dlLibraryTable.C at line 124
    could not load libsetInletVelocity.so: cannot open shared object file: No such file or directory


--> FOAM FATAL ERROR:
Unknown function type setInletVelocity

Valid functions are :

1
(
pointHistory
)
(...)
Tried the HronTurekFsi3 too and similar problem with loading a library.
Not quite sure how I have to deal with the challenge of loading the library correctly.
Hi, Bazinga
I am facing the same problem with you now, when trying to use the fisFoam solver on HPC where I have no root permission. I guess this problem is probably caused due to the libsetInletVelocity.so is compiled into the root directory. Have you solved the problem or do you have idea about this problem?
Best wishes
sHpherd 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
Fluid structure interaction with VOF method utilized in fluent? mxl9549 ANSYS 0 July 22, 2016 14:40
Fluid structure interaction with VOF method utilized in fluent? mxl9549 FLUENT 0 July 22, 2016 14:39
Fluid Structure interaction prince_pahariaa FLUENT 3 March 19, 2013 13:16
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 05:04
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


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