fluentMeshToFoam error
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 |
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 |
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 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.
|
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) Quote:
|
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. :(
|
Quote:
Quote:
Quote:
|
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.
|
Just one more hint: For both converters meshes nedd to be saved in ASCII-Foramt, binary format is not supported.
Regards |
Quote:
@bucksfan: could you post a small mesh to have a look at it? |
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! |
Quote:
Bernhard |
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. |
Quote:
Bernhard |
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 |
All times are GMT -4. The time now is 23:09. |