compiling gmshFoam Error en make
Hi foamers,
I'm trying to compiile gmshFoam and i get an error on ./Allwmake. I began like this : $ cd $WM_PROJECT_USER_DIR/applications/utilities $ tar -zxf gmshFoam-YYYYMMDD.tar.gz $ ln -s gmshFoam-YYYYMMDD gmshFoam <<--- Necessary for gmshFoam to be recognized by FoamX $ cd gmshFoam then ./Allwmake and I get this : ... (several lines) /home/blo/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/polyMesh.H:254: note: candidates are: Foam::polyMesh::polyMesh(const Foam::IOobject&, const Foam::pointField&, const Foam::cellShapeList&, const Foam::faceListList&, const Foam::wordList&, const Foam::wordList&, const Foam::word&, const Foam::word&, const Foam::wordList&, bool) /home/blo/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/polyMesh.H:239: note: Foam::polyMesh::polyMesh(const Foam::IOobject&, const Foam::pointField&, const Foam::faceList&, const Foam::cellList&, bool) /home/blo/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/polyMesh.H:227: note: Foam::polyMesh::polyMesh(const Foam::IOobject&, const Foam::pointField&, const Foam::faceList&, const Foam::labelList&, const Foam::labelList&, bool) /home/blo/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/polyMesh.H:215: note: Foam::polyMesh::polyMesh(const Foam::IOobject&) /home/blo/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/polyMesh.H:162: note: Foam::polyMesh::polyMesh(const Foam::polyMesh&) polyMeshConversion/polyMeshConversion.C: In member function 'Foam::polyMeshConversion* Foam::polyMeshConversion::renumberedMesh(Foam::lab el) const': polyMeshConversion/polyMeshConversion.C:231: error: 'allFaces' was not declared in this scope polyMeshConversion/polyMeshConversion.C:264: error: 'allPoints' was not declared in this scope make: *** [Make/linux64GccDPOpt/polyMeshConversion.o] Error 1 Any idea ? |
Hi blo blo,
Sorry but it'll t
Hi blo blo,
Sorry but it'll take a while until I can have a look into the issue. Meanwhile you can try the genuine gmshToFoam. Takuya |
Hi, thanks for the answer. Wha
Hi, thanks for the answer. What do you mean by 'genuine gmshToFoam' ?
Best regards. |
Type "gmshToFoam -help" on you
|
Hello everyone,
I've got exactly the same 'Error 1' as blo listed. I am used to the genuine gmshToFoam, but with it I'm not able to set more than one patch without getting my hands into the text file. I think that gmsh2ToFoam should have solved this problem, right? Thank you so very much for your support, guys. Luca |
Hi Luca,
Did you try the SVN-version? If not can you get the version with svn co https://of-interfaces.svn.sourceforg...trunk/gmshFoamand see if it works? |
Uh the board truncates the address. Trying again:
Code:
svn co https://of-interfaces.svn.sourceforge.net/svnroot/of-interfaces/trunk/gmshFoam |
Hello!
I am getting this problem, too. Does someone know why this occurs? Greets |
shangzung, which problem are you referring to?
T |
Hi! I meant the:
"polyMeshConversion/polyMeshConversion.C:231: error: 'allFaces' was not declared in this scope polyMeshConversion/polyMeshConversion.C:264: error: 'allPoints' was not declared in this scope make: *** [Make/linux64GccDPOpt/polyMeshConversion.o] Error 1 " By the way, I am trying to install the gmsh2ToFoam into my USER OpenFoam directory (where originally only the folder "tutorials" exist and I had to create the folders "application/utilities..." Does this play a role? |
So, my comment on another thread was
Quote:
|
Hello 7islands!
I somehow cannot install SVN (don't have the rights to install apr which seems to be needed for SVN). Could you upload the actual SVN of gmsh2ToFoam into a tar file? |
All times are GMT -4. The time now is 03:49. |