|
[Sponsors] |
[FSI] Attempting to compile the new FSI solver in foam-extend-3.1 (Ubuntu 14.04) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 26, 2015, 22:11 |
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: 15 |
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 |
|
May 27, 2015, 12:32 |
|
#2 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Quote:
The compilation instructions are as follows: Code:
cd $WM_PROJECT_DIR/extend-bazaar ./Allwmake # to download the FluidStructureInteraction directory cd FluidStructureInteraction/src ./Allwmake Code:
cd $WM_PROJECT_DIR/extend-bazaar/FluidStructureInteraction/src/fluidStructureInteraction wmake libso |
||
September 1, 2015, 13:42 |
|
#3 | |
New Member
bryan
Join Date: Nov 2012
Posts: 5
Rep Power: 14 |
Quote:
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 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 |
||
November 30, 2018, 11:36 |
|
#4 | |
New Member
Tom
Join Date: Nov 2018
Posts: 23
Rep Power: 8 |
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:
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! |
||
|
|
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 |