|
[Sponsors] |
August 13, 2009, 12:26 |
fluentMeshToFoam error
|
#1 |
New Member
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 17 |
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 |
|
August 13, 2009, 13:14 |
|
#2 | ||
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
- 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:
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 |
|||
August 17, 2009, 11:33 |
|
#3 |
New Member
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 17 |
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.
|
|
August 17, 2009, 11:35 |
|
#4 |
New Member
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 17 |
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.
|
|
August 17, 2009, 15:20 |
|
#5 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
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) 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" |
||
August 18, 2009, 09:41 |
|
#6 |
New Member
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 17 |
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.
|
|
August 19, 2009, 05:18 |
|
#7 | ||
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Quote:
Have you ever tried fluentMeshToFoam on the msh-file in the icoFoam/elbow-tutorial? |
|||
August 19, 2009, 09:16 |
|
#8 |
New Member
Adrian Stalnak
Join Date: Jul 2009
Posts: 18
Rep Power: 17 |
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.
|
|
August 19, 2009, 16:22 |
|
#9 |
Senior Member
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20 |
Just one more hint: For both converters meshes nedd to be saved in ASCII-Foramt, binary format is not supported.
Regards |
|
August 21, 2009, 10:42 |
|
#10 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
@bucksfan: could you post a small mesh to have a look at it? |
||
October 1, 2009, 09:26 |
|
#11 | |
New Member
Milos Stanic
Join Date: Mar 2009
Location: Novi Sad, Serbia
Posts: 29
Rep Power: 17 |
Quote:
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! |
||
October 9, 2009, 14:03 |
|
#12 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Bernhard |
||
October 12, 2009, 05:24 |
|
#13 |
New Member
Milos Stanic
Join Date: Mar 2009
Location: Novi Sad, Serbia
Posts: 29
Rep Power: 17 |
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. |
|
October 12, 2009, 13:07 |
|
#14 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Bernhard |
||
October 13, 2009, 06:00 |
|
#15 |
New Member
Milos Stanic
Join Date: Mar 2009
Location: Novi Sad, Serbia
Posts: 29
Rep Power: 17 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
error compiling modified applications | yvyan | OpenFOAM Programming & Development | 21 | March 1, 2016 05:53 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 08:24 |