CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] compiling gmshFoam Error en make

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 27, 2008, 14:01
Default compiling gmshFoam Error en make
  #1
blo
New Member
 
blo blo
Join Date: Mar 2009
Posts: 7
Rep Power: 17
blo is on a distinguished road
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 ?
blo is offline   Reply With Quote

Old   August 28, 2008, 08:20
Default Hi blo blo, Sorry but it'll t
  #2
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
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
7islands is offline   Reply With Quote

Old   August 29, 2008, 08:01
Default Hi, thanks for the answer. Wha
  #3
blo
New Member
 
blo blo
Join Date: Mar 2009
Posts: 7
Rep Power: 17
blo is on a distinguished road
Hi, thanks for the answer. What do you mean by 'genuine gmshToFoam' ?

Best regards.
blo is offline   Reply With Quote

Old   August 29, 2008, 11:01
Default Type "gmshToFoam -help" on you
  #4
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Type "gmshToFoam -help" on your console, or have a look at the user guide.

T
7islands is offline   Reply With Quote

Old   April 5, 2009, 05:55
Default
  #5
New Member
 
Luca COLZANI
Join Date: Apr 2009
Posts: 3
Rep Power: 17
lucacolla is on a distinguished road
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
lucacolla is offline   Reply With Quote

Old   April 5, 2009, 07:54
Default
  #6
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
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?
7islands is offline   Reply With Quote

Old   April 5, 2009, 07:58
Default
  #7
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Uh the board truncates the address. Trying again:
Code:
svn co https://of-interfaces.svn.sourceforge.net/svnroot/of-interfaces/trunk/gmshFoam
7islands is offline   Reply With Quote

Old   October 5, 2009, 11:37
Default
  #8
Member
 
Dennis Rown
Join Date: Oct 2009
Posts: 51
Rep Power: 16
shangzung is on a distinguished road
Hello!

I am getting this problem, too. Does someone know why this occurs?

Greets
shangzung is offline   Reply With Quote

Old   October 6, 2009, 01:26
Default
  #9
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
shangzung, which problem are you referring to?

T
7islands is offline   Reply With Quote

Old   October 6, 2009, 10:12
Default
  #10
Member
 
Dennis Rown
Join Date: Oct 2009
Posts: 51
Rep Power: 16
shangzung is on a distinguished road
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?
shangzung is offline   Reply With Quote

Old   October 6, 2009, 11:27
Default
  #11
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
So, my comment on another thread was
Quote:
Originally Posted by 7islands View Post
Yes I always have successes in installing gmsh2ToFoam on both of OF 1.6 and 1.6.x. I asked on another thread which problem you are referring to, because I can't think of a reason that you are having the problem as long as you checked out the sources from the SVN repository I already mentioned on another thread. Which version of gmshFoam are you trying to compile?
Takuya
7islands is offline   Reply With Quote

Old   October 8, 2009, 05:18
Default
  #12
Member
 
Dennis Rown
Join Date: Oct 2009
Posts: 51
Rep Power: 16
shangzung is on a distinguished road
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?
shangzung is offline   Reply With Quote

Reply


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] OF-extend 4.0: compiling with CUDA jgross OpenFOAM Installation 5 December 8, 2022 08:35
[OpenFOAM.org] Compiling OpenFOAM 5.0 on the Titan Supercomputer wildfire230 OpenFOAM Installation 20 May 6, 2020 07:30
[waves2Foam] Waves2Foam Related Topics ngj OpenFOAM Community Contributions 660 August 20, 2018 12:39
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
a way to make lots of money quick and easy no lies Dob Main CFD Forum 0 October 10, 2006 16:45


All times are GMT -4. The time now is 09:28.