cfdem installation problem

Submitted by pan_zh on Wed, 01/18/2012 - 04:50

hi, when install the cfdem(openfoam2.1.0,git-liggghts), the follow error occured:

subModels/locateModel/engineSearch/engineSearch.C:64: error: no matching function for call to ‘Foam::meshSearch::meshSearch(const Foam::fvMesh&, Foam::Switch&)’
/home/zp/OpenFOAM/OpenFOAM-2.1.0/src/meshTools/lnInclude/meshSearch.H:180: note: candidates are: Foam::meshSearch::meshSearch(const Foam::polyMesh&, const Foam::treeBoundBox&, Foam::polyMesh::cellRepresentation)
/home/zp/OpenFOAM/OpenFOAM-2.1.0/src/meshTools/lnInclude/meshSearch.H:171: note: Foam::meshSearch::meshSearch(const Foam::polyMesh&, Foam::polyMesh::cellRepresentation)
/home/zp/OpenFOAM/OpenFOAM-2.1.0/src/meshTools/lnInclude/meshSearch.H:149: note:

i find out the defination of constructors of meshsearch in OpenFOAM2.1.0, it as:
meshSearch(const Foam::polyMesh&, const Foam::treeBoundBox&, Foam::polyMesh::cellRepresentation)
meshSearch(const Foam::polyMesh&, Foam::polyMesh::cellRepresentation)
meshSearch(const Foam::meshSearch&)

in OF2.0.x, it as:
meshSearch(const polyMesh& mesh, const bool faceDecomp = true);
meshSearch (const polyMesh& mesh, const treeBoundBox& bb, const bool faceDecomp = true );
meshSearch(const meshSearch&);

it means CFDEM2.3.0 is not compatible with OF2.1?
how to fix it! Thank you