CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions > OpenFOAM CC Toolkits for Fluid-Structure Interaction

[FSI] Attempting to compile the new FSI solver in foam-extend-3.1 (Ubuntu 14.04)

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2015, 22:11
Default Attempting to compile the new FSI solver in foam-extend-3.1 (Ubuntu 14.04)
  #1
New Member
 
Join Date: Oct 2011
Posts: 28
Rep Power: 11
danny261083 is on a distinguished road
Hi Dr. Cardiff,

I was attempting to compile the new FSI solver in foam-extend-3.1 (Ubuntu 14.04) based on instructions given in http://openfoamwiki.net/index.php/Ex...re_interaction and http://www.tfd.chalmers.se/~hani/kur...OFLecFSI-1.pdf. However, I was getting the error '/usr/bin/ld: cannot find -lfluidStructureInteraction'. I would like to know whether there is an alternative method to compile the fsifoam solver.

Thanks & Regards
danny261083 is offline   Reply With Quote

Old   May 27, 2015, 12:32
Default
  #2
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 868
Rep Power: 28
bigphil will become famous soon enoughbigphil will become famous soon enough
Quote:
Originally Posted by danny261083 View Post
Hi Dr. Cardiff,

I was attempting to compile the new FSI solver in foam-extend-3.1 (Ubuntu 14.04) based on instructions given in http://openfoamwiki.net/index.php/Ex...re_interaction and http://www.tfd.chalmers.se/~hani/kur...OFLecFSI-1.pdf. However, I was getting the error '/usr/bin/ld: cannot find -lfluidStructureInteraction'. I would like to know whether there is an alternative method to compile the fsifoam solver.

Thanks & Regards
Hi Danny,

The compilation instructions are as follows:
Code:
cd $WM_PROJECT_DIR/extend-bazaar
./Allwmake # to download the FluidStructureInteraction directory
cd FluidStructureInteraction/src
./Allwmake
If you get the compilation linking error "/usr/bin/ld: cannot find -lfluidStructureInteraction", this means that the fluidStructureInteraction library did not compile; so can you try compile it again and post the entire output of the wmake libso command here:
Code:
cd $WM_PROJECT_DIR/extend-bazaar/FluidStructureInteraction/src/fluidStructureInteraction
wmake libso
Philip
bigphil is offline   Reply With Quote

Old   September 1, 2015, 13:42
Default
  #3
New Member
 
bryan
Join Date: Nov 2012
Posts: 5
Rep Power: 10
bcgooder is on a distinguished road
Quote:
Originally Posted by bigphil View Post
Hi Danny,

The compilation instructions are as follows:
Code:
cd $WM_PROJECT_DIR/extend-bazaar
./Allwmake # to download the FluidStructureInteraction directory
cd FluidStructureInteraction/src
./Allwmake
If you get the compilation linking error "/usr/bin/ld: cannot find -lfluidStructureInteraction", this means that the fluidStructureInteraction library did not compile; so can you try compile it again and post the entire output of the wmake libso command here:
Code:
cd $WM_PROJECT_DIR/extend-bazaar/FluidStructureInteraction/src/fluidStructureInteraction
wmake libso
Philip

Dr. Cardiff,
I've been trying to compile the FluidStructureInteraction package following the instructions you've listed above. I was getting the "/usr/bin/ld: cannot find -lfluidStructureInteraction" message so I compiled
Code:
cd $WM_PROJECT_DIR/extend-bazaar/FluidStructureInteraction/src/fluidStructureInteraction
again using wmake libso but am still getting errors. I am posting the error output here and hopefully you could help figure out the problem.
Thanks,
Bryan

Code:
Make/linux64GccDPOpt/constitutiveModel.o
stressModels/constitutiveModel/constitutiveModel.C: In constructor ‘Foam::constitutiveModel::constitutiveModel(const volSymmTensorField&, const volVectorField&)’:
stressModels/constitutiveModel/constitutiveModel.C:116:13: error: no matching function for call to ‘Foam::IOReferencer<Foam::solidInterface>::IOReferencer(Foam::IOobject, Foam::solidInterface&)’
             );
             ^
stressModels/constitutiveModel/constitutiveModel.C:116:13: note: candidates are:
In file included from /home/bryan/OpenFOAM/foam-extend-3.1/src/foam/lnInclude/IOReferencer.H:139:0,
                 from stressModels/constitutiveModel/constitutiveModel.H:53,
                 from stressModels/constitutiveModel/constitutiveModel.C:27:
/home/bryan/OpenFOAM/foam-extend-3.1/src/foam/lnInclude/IOReferencer.C:53:1: note: Foam::IOReferencer<Type>::IOReferencer(const Foam::IOobject&, Type*) [with Type = Foam::solidInterface]
 Foam::IOReferencer<Type>::IOReferencer
 ^
/home/bryan/OpenFOAM/foam-extend-3.1/src/foam/lnInclude/IOReferencer.C:53:1: note:   no known conversion for argument 2 from ‘Foam::solidInterface’ to ‘Foam::solidInterface*’
/home/bryan/OpenFOAM/foam-extend-3.1/src/foam/lnInclude/IOReferencer.C:31:1: note: Foam::IOReferencer<Type>::IOReferencer(const Foam::IOobject&) [with Type = Foam::solidInterface]
 Foam::IOReferencer<Type>::IOReferencer
 ^
/home/bryan/OpenFOAM/foam-extend-3.1/src/foam/lnInclude/IOReferencer.C:31:1: note:   candidate expects 1 argument, 2 provided
In file included from stressModels/constitutiveModel/constitutiveModel.H:53:0,
                 from stressModels/constitutiveModel/constitutiveModel.C:27:
/home/bryan/OpenFOAM/foam-extend-3.1/src/foam/lnInclude/IOReferencer.H:85:7: note: Foam::IOReferencer<Foam::solidInterface>::IOReferencer(const Foam::IOReferencer<Foam::solidInterface>&)
 class IOReferencer
       ^
/home/bryan/OpenFOAM/foam-extend-3.1/src/foam/lnInclude/IOReferencer.H:85:7: note:   candidate expects 1 argument, 2 provided
make: *** [Make/linux64GccDPOpt/constitutiveModel.o] Error 1

Last edited by wyldckat; September 1, 2015 at 17:06. Reason: Added [CODE][/CODE] markers
bcgooder is offline   Reply With Quote

Old   November 30, 2018, 11:36
Default
  #4
New Member
 
Tom
Join Date: Nov 2018
Posts: 23
Rep Power: 4
russel60 is on a distinguished road
Greetings All,

I hate to bring up topics that are 3 years old, but I am having the same exact problem as Danny261083 when I try to install the FluidSolidInteraction toolkit. It appears that the fluidSolidInteraction library did not compile. I tried to manually compile the library following Dr. Cardiff's instructions, but it did not work.

Quote:
Originally Posted by bigphil View Post
Hi Danny,

The compilation instructions are as follows:
Code:
cd $WM_PROJECT_DIR/extend-bazaar
./Allwmake # to download the FluidStructureInteraction directory
cd FluidStructureInteraction/src
./Allwmake
If you get the compilation linking error "/usr/bin/ld: cannot find -lfluidStructureInteraction", this means that the fluidStructureInteraction library did not compile; so can you try compile it again and post the entire output of the wmake libso command here:
Code:
cd $WM_PROJECT_DIR/extend-bazaar/FluidStructureInteraction/src/fluidStructureInteraction
wmake libso
Philip
I am running Foam-Extend 4.0 on Bash On Ubuntu On Windows. I tried following WyldKat's instructions on

http://openfoamwiki.net/index.php/Ex...oam-extend_3.2

but have had no success.

Does anyone have any tips to help the fluidSolidInteraction library to compile? Any help would be greatly appreciated!!

Thanks!
russel60 is offline   Reply With Quote

Reply

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
[mesh manipulation] refineMesh Error mohsen.boojari OpenFOAM Meshing & Mesh Conversion 3 March 1, 2018 23:07
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 01:01
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 06:42
how to extend FSI 2D codes to 3D, need advises abouziar Main CFD Forum 1 May 30, 2008 05:08
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51


All times are GMT -4. The time now is 20:57.