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

[foam-extend.org] install fsiFoam on foam-extend-4.0

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2020, 22:20
Default install fsiFoam on foam-extend-4.0
  #1
New Member
 
Yan Wang
Join Date: Jan 2019
Posts: 5
Rep Power: 3
W.Yan is on a distinguished road
hi, everyone, I download and install foam-extend-4.0, then follow the website "http://openfoamwiki.net/index.php/Extend-bazaar/Toolkits/Fluid-structure_interaction" to install fsiFoam. foam-extend-4.0 has been tested to ensure true installation,but I can't install fsiFoam successfully, I guess there is something wrong with the vector, ld or else. Anyone can help me solve this problem? thank you so much!

the error log is showed as following.
*********************************************
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C: In member function 'virtual void Foam::RBFMeshMotionSolver::solve()':
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:297:5: error: 'vector' is not a member of 'std'
std::vector<unsigned int> movingControlPointLabelsVector;
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:297:5: note: suggested alternatives:
In file included from /home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude/point.H:35:0,
from /home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude/pointField.H:3,
from /home/wangyan/foam/foam-extend-4.0/src/dynamicMesh/dynamicMesh/lnInclude/motionSolver.H:41,
from fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.H:10,
from fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C::
/home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude/vector.H:49:24: note: 'Foam::vecto'
typedef Vector<scalar> vector;
^
/home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude/vector.H:49:24: note: 'Foam::vecto'
In file included from fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.H:13:0,
from fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C::
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFInterpolation.H:18:54: note: 'rbf::vector'
typedef Eigen::Matrix<scalar, Eigen:ynamic, 1> vector;
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:297:17: error: expected primary-expression before 'unsigned'
std::vector<unsigned int> movingControlPointLabelsVector;
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:300:5: error: 'vector' is not a member of 'std'
std::vector<unsigned int> movingControlPointPatchIds;
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:300:5: note: suggested alternatives:
In file included from /home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude/point.H:35:0,
from /home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude/pointField.H:3,
from /home/wangyan/foam/foam-extend-4.0/src/dynamicMesh/dynamicMesh/lnInclude/motionSolver.H:41,
from fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.H:10,
from fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C::
/home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude/vector.H:49:24: note: 'Foam::vecto'
typedef Vector<scalar> vector;
^
/home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude/vector.H:49:24: note: 'Foam::vecto'
In file included from fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.H:13:0,
from fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C::
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFInterpolation.H:18:54: note: 'rbf::vector'
typedef Eigen::Matrix<scalar, Eigen:ynamic, 1> vector;
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:300:17: error: expected primary-expression before 'unsigned'
std::vector<unsigned int> movingControlPointPatchIds;
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:301:5: error: 'vector' is not a member of 'std'
std::vector<unsigned int> movingControlPointIndices;
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:301:5: note: suggested alternatives:
In file included from /home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude/point.H:35:0,
from /home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude/pointField.H:3,
from /home/wangyan/foam/foam-extend-4.0/src/dynamicMesh/dynamicMesh/lnInclude/motionSolver.H:41,
from fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.H:10,
from fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C::
/home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude/vector.H:49:24: note: 'Foam::vecto'
typedef Vector<scalar> vector;
^
/home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude/vector.H:49:24: note: 'Foam::vecto'
In file included from fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.H:13:0,
from fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C::
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFInterpolation.H:18:54: note: 'rbf::vector'
typedef Eigen::Matrix<scalar, Eigen:ynamic, 1> vector;
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:301:17: error: expected primary-expression before 'unsigned'
std::vector<unsigned int> movingControlPointIndices;
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:382:25: error: 'movingControlPointLabelsVector' was not declared in this scope
movingControlPointLabelsVector.push_back( meshPoints[j] );
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:383:25: error: 'movingControlPointPatchIds' was not declared in this scope
movingControlPointPatchIds.push_back( movingPatchIDs[patchI] );
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:384:25: error: 'movingControlPointIndices' was not declared in this scope
movingControlPointIndices.push_back( j );
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:390:35: error: 'movingControlPointLabelsVector' was not declared in this scope
nbMovingFaceCenters = movingControlPointLabelsVector.size();
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:467:43: error: 'movingControlPointLabelsVector' was not declared in this scope
for ( unsigned int i = 0; i < movingControlPointLabelsVector.size(); ++i )
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:470:79: error: 'movingControlPointPatchIds' was not declared in this scope
globalMovingPointsPatchIds[i + globalMovingOffsetNonUnique] = movingContro
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:471:78: error: 'movingControlPointIndices' was not declared in this scope
globalMovingPointsIndices[i + globalMovingOffsetNonUnique] = movingControl
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:529:61: error: 'movingControlPointLabelsVector' was not declared in this scope
if ( static_cast<unsigned int>(i) < movingControlPointLabelsVector
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:561:47: error: 'movingControlPointLabelsVector' was not declared in this scope
for ( unsigned int i = 0; i < movingControlPointLabelsVector.size(); ++i )
^
fluidSolvers/finiteVolume/RBFMeshMotionSolver/RBFMeshMotionSolver.C:637:43: error: 'movingControlPointLabelsVector' was not declared in this scope
for ( unsigned int i = 0; i < movingControlPointLabelsVector.size(); ++i )
^
make: *** [Make/linux64GccDPOpt/RBFMeshMotionSolver.o] Error 1
+ wmake solvers/fsiFoam
g++ -m64 -Dlinux64 -DWM_DP -Wno-deprecated -Wall -Wextra -Wno-unused-parameter -Wnon-virtual-dtor -Wunused-local-typedefs -Werror -Wredundant-decls -Wcast-align -Wmissing-declarations -Wswitch-enum -Winvalid-pch -Wredundant-decls -Wformat=2 -Wmissing-format-attribute -Wformat-nonliteral -O3 -DNoRepository -ftemplate-depth-200 -std=c++11 -I../../fluidSolidInteraction/lnInclude -I../../ThirdParty/eigen3 -I/home/wangyan/foam/foam-extend-4.0/src/finiteVolume/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/meshTools/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/tetFiniteElement/lnInclude -IlnInclude -I. -I/home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/fsiFoam.o -L/home/wangyan/foam/foam-extend-4.0/lib/linux64GccDPOpt \
-lfiniteVolume -lincompressibleTurbulenceModel -lincompressibleRASModels -lincompressibleLESModels -lincompressibleTransportModels -ldynamicFvMesh -ldynamicMesh -lmeshTools -L/home/wangyan/foam/wangyan-4.0/lib/linux64GccDPOpt -lfluidSolidInteraction -lfoam -ldl -lrt -lm -o /home/wangyan/foam/wangyan-4.0/applications/bin/linux64GccDPOpt/fsiFoam
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
make: *** [/home/wangyan/foam/wangyan-4.0/applications/bin/linux64GccDPOpt/fsiFoam] Error 1
+ wmake solvers/ampFsiFoam
g++ -m64 -Dlinux64 -DWM_DP -Wno-deprecated -Wall -Wextra -Wno-unused-parameter -Wnon-virtual-dtor -Wunused-local-typedefs -Werror -Wredundant-decls -Wcast-align -Wmissing-declarations -Wswitch-enum -Winvalid-pch -Wredundant-decls -Wformat=2 -Wmissing-format-attribute -Wformat-nonliteral -O3 -DNoRepository -ftemplate-depth-200 -std=c++11 -I../../fluidSolidInteraction/lnInclude -I../../ThirdParty/eigen3 -I/home/wangyan/foam/foam-extend-4.0/src/finiteVolume/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/dynamicMesh/dynamicFvMesh/lnInclude -IlnInclude -I. -I/home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/ampFsiFoam.o -L/home/wangyan/foam/foam-extend-4.0/lib/linux64GccDPOpt \
-lfiniteVolume -ldynamicFvMesh -ldynamicMesh -lincompressibleTransportModels -lincompressibleTurbulenceModel -L/home/wangyan/foam/wangyan-4.0/lib/linux64GccDPOpt -lfluidSolidInteraction -lfoam -ldl -lrt -lm -o /home/wangyan/foam/wangyan-4.0/applications/bin/linux64GccDPOpt/ampFsiFoam
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
make: *** [/home/wangyan/foam/wangyan-4.0/applications/bin/linux64GccDPOpt/ampFsiFoam] Error 1
+ wmake solvers/weakFsiFoam
g++ -m64 -Dlinux64 -DWM_DP -Wno-deprecated -Wall -Wextra -Wno-unused-parameter -Wnon-virtual-dtor -Wunused-local-typedefs -Werror -Wredundant-decls -Wcast-align -Wmissing-declarations -Wswitch-enum -Winvalid-pch -Wredundant-decls -Wformat=2 -Wmissing-format-attribute -Wformat-nonliteral -O3 -DNoRepository -ftemplate-depth-200 -std=c++11 -I../../fluidSolidInteraction/lnInclude -I../../ThirdParty/eigen3 -I/home/wangyan/foam/foam-extend-4.0/src/finiteVolume/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/lagrangian/basic/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/meshTools/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/tetFiniteElement/lnInclude -IlnInclude -I. -I/home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/weakFsiFoam.o -L/home/wangyan/foam/foam-extend-4.0/lib/linux64GccDPOpt \
-lfiniteVolume -lincompressibleTurbulenceModel -lincompressibleRASModels -lincompressibleLESModels -lincompressibleTransportModels -ldynamicFvMesh -ldynamicMesh -lmeshTools -L/home/wangyan/foam/wangyan-4.0/lib/linux64GccDPOpt -lfluidSolidInteraction -lfoam -ldl -lrt -lm -o /home/wangyan/foam/wangyan-4.0/applications/bin/linux64GccDPOpt/weakFsiFoam
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
make: *** [/home/wangyan/foam/wangyan-4.0/applications/bin/linux64GccDPOpt/weakFsiFoam] Error 1
+ wmake solvers/fluidFoam
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I../../fluidSolidInteraction/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/finiteVolume/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/finiteArea/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/lagrangian/basic/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/meshTools/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/tetFiniteElement/lnInclude -IlnInclude -I. -I/home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/fluidFoam.o -L/home/wangyan/foam/foam-extend-4.0/lib/linux64GccDPOpt \
-lfiniteVolume -lincompressibleTurbulenceModel -lincompressibleRASModels -lincompressibleLESModels -lincompressibleTransportModels -ldynamicFvMesh -ldynamicMesh -lmeshTools -L/home/wangyan/foam/wangyan-4.0/lib/linux64GccDPOpt -lfluidSolidInteraction -lfoam -ldl -lrt -lm -o /home/wangyan/foam/wangyan-4.0/applications/bin/linux64GccDPOpt/fluidFoam
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
make: *** [/home/wangyan/foam/wangyan-4.0/applications/bin/linux64GccDPOpt/fluidFoam] Error 1
+ wmake solvers/solidFoam
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I../../fluidSolidInteraction/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/finiteVolume/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/lagrangian/basic/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/meshTools/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/tetFiniteElement/lnInclude -IlnInclude -I. -I/home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/solidFoam.o -L/home/wangyan/foam/foam-extend-4.0/lib/linux64GccDPOpt \
-lfiniteVolume -lincompressibleTurbulenceModel -lincompressibleRASModels -lincompressibleLESModels -lincompressibleTransportModels -ldynamicFvMesh -ldynamicMesh -lmeshTools -L/home/wangyan/foam/wangyan-4.0/lib/linux64GccDPOpt -lfluidSolidInteraction -lfoam -ldl -lrt -lm -o /home/wangyan/foam/wangyan-4.0/applications/bin/linux64GccDPOpt/solidFoam
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
make: *** [/home/wangyan/foam/wangyan-4.0/applications/bin/linux64GccDPOpt/solidFoam] Error 1
+ wmake solvers/thermalSolidFoam
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I../../fluidSolidInteraction/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/finiteVolume/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/dynamicMesh/dynamicFvMesh/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/finiteArea/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/lagrangian/basic/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/meshTools/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/tetFiniteElement/lnInclude -IlnInclude -I. -I/home/wangyan/foam/foam-extend-4.0/src/foam/lnInclude -I/home/wangyan/foam/foam-extend-4.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/thermalSolidFoam.o -L/home/wangyan/foam/foam-extend-4.0/lib/linux64GccDPOpt \
-lfiniteVolume -lincompressibleTurbulenceModel -lincompressibleRASModels -lincompressibleLESModels -lincompressibleTransportModels -ldynamicFvMesh -ldynamicMesh -lmeshTools -L/home/wangyan/foam/wangyan-4.0/lib/linux64GccDPOpt -lfluidSolidInteraction -lfoam -ldl -lrt -lm -o /home/wangyan/foam/wangyan-4.0/applications/bin/linux64GccDPOpt/thermalSolidFoam
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
make: *** [/home/wangyan/foam/wangyan-4.0/applications/bin/linux64GccDPOpt/thermalSolidFoam] Error 1
+ wmake libso utilities/functionObjects/pointHistory
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
make: *** [/home/wangyan/foam/wangyan-4.0/lib/linux64GccDPOpt/libpointHistory.so] Error 1
+ wmake libso utilities/functionObjects/patchAvgTractionHistory
'/home/wangyan/foam/wangyan-4.0/lib/linux64GccDPOpt/libpatchAvgTractionHistory.so' is up to date.
+ wmake libso utilities/functionObjects/centrifugalBodyForce
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
W.Yan is offline   Reply With Quote

Reply

Tags
fsifoam installation

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
[foam-extend.org] Fluid Structure Interaction Toolkit on foam extend 4.0 Bazinga OpenFOAM Installation 1 August 17, 2020 23:51
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 05:18
[mesh manipulation] refineMesh Error mohsen.boojari OpenFOAM Meshing & Mesh Conversion 3 March 1, 2018 23:07
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 1 May 19, 2017 11:13
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 11:56


All times are GMT -4. The time now is 13:36.