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
cgoniva | Wed, 01/18/2012 - 17:24
Hi, please see
Hi,
please see this:
node/686
Cheers,
Chris
pan_zh | Fri, 01/20/2012 - 13:46
Thank you, I fixed it as it.
Thank you, I fixed it as it.