CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...

fluentMeshToFoam error

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 13, 2009, 11:26
Default fluentMeshToFoam error
  #1
New Member
 
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 8
bucksfan is on a distinguished road
Hello,

Every time I try to mesh anything that I just built with gambit using the fluentMeshToFoam command it always gives me the same error,

Problem : cannot find a single face in the mesh which uses vertices 4(0 2 400 399)

From function findFace(const primitiveMesh&, const face&)
in file fluentMeshToFoam.L at line 858.


I was wondering if there was a way around this or if i should be using a different version of if there was something that I could to get around this.

Thanks
bucksfan is offline   Reply With Quote

Old   August 13, 2009, 12:14
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by bucksfan View Post
Hello,

Every time I try to mesh anything that I just built with gambit using the fluentMeshToFoam command it always gives me the same error,
Just to clarify (because in my opinion you mixed some things up in that sentence):
- you built the geometry in Gambit
- you meshed it in Gambit
- exported the mesh to an MSH file
- now you try to convert it using fluentMeshToFoam

Step 2 is essential (fluentMeshToFoam wants a complete mesh I think)

Quote:
Originally Posted by bucksfan View Post
Problem : cannot find a single face in the mesh which uses vertices 4(0 2 400 399)

From function findFace(const primitiveMesh&, const face&)
in file fluentMeshToFoam.L at line 858.


I was wondering if there was a way around this or if i should be using a different version of if there was something that I could to get around this.
I'm not aware of any special version dependence of this converter. Are there any special features in all your meshes?

Two tips:
- try the other convert fluent3dMeshToFoam
- build the simplest possible Geometry (for instance a cube), mesh it and then try the converter on it. If that works add the particular specialities of your mesh to it until it breaks

Bernhard
gschaider is offline   Reply With Quote

Old   August 17, 2009, 10:33
Default
  #3
New Member
 
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 8
bucksfan is on a distinguished road
It breaks at the cube. I'm trying to create an empty room with an inlet on the upper right wall for a flow and an outlet on the ceiling. But even when I just made it a simple cube with none of the patches it won't even convert over to foam format.
bucksfan is offline   Reply With Quote

Old   August 17, 2009, 10:35
Default
  #4
New Member
 
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 8
bucksfan is on a distinguished road
And yes sorry the steps that you listed is exactly what I did. Sorry I was a little frusterated when I wrote the first post so it probably wasn't that coherent.
bucksfan is offline   Reply With Quote

Old   August 17, 2009, 14:20
Default
  #5
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by bucksfan View Post
It breaks at the cube. I'm trying to create an empty room with an inlet on the upper right wall for a flow and an outlet on the ceiling. But even when I just made it a simple cube with none of the patches it won't even convert over to foam format.
And you tried the other converter, too? Strange. The cells are nothing fancy? Hexes and/or tets?
But those converters usually work without big problems.

Another question: you're running Gambit on Linux, right? I mean: the msh-file has never been handled by a Windoze-machine? Because there are problems with that (the old Newline-problem)

Quote:
Originally Posted by bucksfan View Post
And yes sorry the steps that you listed is exactly what I did. Sorry I was a little frusterated when I wrote the first post so it probably wasn't that coherent.
The thing is that there were occasions were everyone was trying to help people assuming that the problem happened "at the end" when the problem already occured "in the beginning" because everyone assumed "that can't be the problem"
gschaider is offline   Reply With Quote

Old   August 18, 2009, 08:41
Default
  #6
New Member
 
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 8
bucksfan is on a distinguished road
Well I'm running an ssh on a windows box to a linux cluster so it was techinically never really touched by windows really. And no the cells are all normal, it doesn't have to be oriented any certian way does it? The other mesh i created didn't. And fluent3DMeshToFoam isn't working either.
bucksfan is offline   Reply With Quote

Old   August 19, 2009, 04:18
Default
  #7
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by bucksfan View Post
Well I'm running an ssh on a windows box to a linux cluster so it was techinically never really touched by windows really.
Just checking. Because I think in the past there were problems with MSH-files generated with Windows-versions of Gambit and/or being opened and saved with the Notepad. But run dos2unix on the file to be sure
Quote:
Originally Posted by bucksfan View Post
And no the cells are all normal, it doesn't have to be oriented any certian way does it?
Not really. General polyeders would be a problem, I guess. But Gambit doesn'T create those anyway
Quote:
Originally Posted by bucksfan View Post
The other mesh i created didn't. And fluent3DMeshToFoam isn't working either.
Have you ever tried fluentMeshToFoam on the msh-file in the icoFoam/elbow-tutorial?
gschaider is offline   Reply With Quote

Old   August 19, 2009, 08:16
Default
  #8
New Member
 
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 8
bucksfan is on a distinguished road
Ok well i tried the dos2unix and i am still having the same error pop up. And I just tried running it in icoFoam and it worked perfect. I'm just not understanding why this is popping up at all. Because its only a very very simple mesh.
bucksfan is offline   Reply With Quote

Old   August 19, 2009, 15:22
Default
  #9
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
bastil is on a distinguished road
Just one more hint: For both converters meshes nedd to be saved in ASCII-Foramt, binary format is not supported.

Regards
bastil is offline   Reply With Quote

Old   August 21, 2009, 09:42
Default
  #10
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by bastil View Post
Just one more hint: For both converters meshes nedd to be saved in ASCII-Foramt, binary format is not supported.
If I understood his last remark correctly, the mesh gets converted, he just gets a warning message.

@bucksfan: could you post a small mesh to have a look at it?
gschaider is offline   Reply With Quote

Old   October 1, 2009, 08:26
Default
  #11
New Member
 
Milos Stanic
Join Date: Mar 2009
Location: Novi Sad, Serbia
Posts: 29
Rep Power: 8
milos is on a distinguished road
Quote:
Originally Posted by gschaider View Post
Just to clarify (because in my opinion you mixed some things up in that sentence):
- you built the geometry in Gambit
- you meshed it in Gambit
- exported the mesh to an MSH file
- now you try to convert it using fluentMeshToFoam
I did all this and it reports the same thing (can't find vertices...). First I thought it was due a complex geometry, so I made a simple pipe, divided it into two volumes, meshed them (with different steps), then merged them in order to get a coherent single volume. Exported it in .msh format and fluentMeshToFoam reports the mentioned 'vertices' error.

I also tried fluent3DMeshToFoam and it worked, but it's of no use since no boundaries are specified.

My Gambit runs on Windows XP.

Any additional suggestions or ideas?

Thnx a million!
milos is offline   Reply With Quote

Old   October 9, 2009, 13:03
Default
  #12
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by milos View Post
I did all this and it reports the same thing (can't find vertices...). First I thought it was due a complex geometry, so I made a simple pipe, divided it into two volumes, meshed them (with different steps), then merged them in order to get a coherent single volume. Exported it in .msh format and fluentMeshToFoam reports the mentioned 'vertices' error.

I also tried fluent3DMeshToFoam and it worked, but it's of no use since no boundaries are specified.

My Gambit runs on Windows XP.

Any additional suggestions or ideas?
And you treated the msh-file with dos2unix (that was discussed above!!). That is important if you use an operating system that is not the proper choice for CAE

Bernhard
gschaider is offline   Reply With Quote

Old   October 12, 2009, 04:24
Default
  #13
New Member
 
Milos Stanic
Join Date: Mar 2009
Location: Novi Sad, Serbia
Posts: 29
Rep Power: 8
milos is on a distinguished road
Yeah, I tried it several times. I hope the command should look like this:

dos2unix nameofthefile.msh

I also tried:

dos2unix nameofthefile.msh -c iso newnameofthefile.msh

, but it says that '-c' is not an option.

Still doesn't work.
milos is offline   Reply With Quote

Old   October 12, 2009, 12:07
Default
  #14
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by milos View Post
Yeah, I tried it several times. I hope the command should look like this:

dos2unix nameofthefile.msh

I also tried:

dos2unix nameofthefile.msh -c iso newnameofthefile.msh

, but it says that '-c' is not an option.

Still doesn't work.
Sorry for asking that. It was the only guess I had from that information. And as the other converter works it looks like you HAVE a volume-mesh (the absence of which throws a similar error message AFAIR)

Bernhard
gschaider is offline   Reply With Quote

Old   October 13, 2009, 05:00
Default
  #15
New Member
 
Milos Stanic
Join Date: Mar 2009
Location: Novi Sad, Serbia
Posts: 29
Rep Power: 8
milos is on a distinguished road
It is a volume mesh... Fortunately, it's not necessary for now to merge and refine different meshes in multiple volumes, but I would like to know how to overcome that problem for future situations.

Thnx for the effort. If anyone comes up with any ideas, please let me know.

Milos
milos is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 18:38
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31


All times are GMT -4. The time now is 01:59.