|
[Sponsors] |
March 9, 2006, 08:32 |
Well, I have written the code
|
#41 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Well, I have written the code which reads the Star couples and creates the proper cells. This is a part of the starToFoam converter and everything should just work.
If you really want to do us a favour, you can dump the faces raw because I'm sure Harpoon needs to mess about with the native format to create Star couples in the first place. The easies mesh format I can imagine would be: 1) list of vertices 2) list of faces in terms of vertices; I don't care if they are polygons 3) there's options, whichever is easier for you: - list of cells in terms of faces, i.e. all faces that belong to a cell, or - "left" and "right" cell for each faces (for boundary ones, only one is required). If you can provide this info, I cna take it from there. Regards, Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
March 21, 2006, 08:49 |
The Fluent export would be the
|
#42 |
New Member
Richard Bardwell
Join Date: Mar 2009
Posts: 9
Rep Power: 17 |
The Fluent export would be the most useful.
It is probably quicker to finish off the FOAM export I started. Can I send you some files to test? If so, what email address should I use? |
|
March 21, 2006, 08:54 |
No probs - if needed, I will a
|
#43 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
No probs - if needed, I will add the stuff into the Fluent export as well. The best E-mail is h dot jasak at wikki dot co dot uk.
Thanks, Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
March 23, 2006, 11:12 |
Thanks to Hrvoje checking our
|
#44 |
New Member
Richard Bardwell
Join Date: Mar 2009
Posts: 9
Rep Power: 17 |
Thanks to Hrvoje checking our meshes, the next release of Harpoon will have a OpenFoam direct export. This will be available in the next couple of weeks to download from www.sharc.co.uk
|
|
March 28, 2006, 08:49 |
Hi, Richard,
Could you ple
|
#45 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 |
Hi, Richard,
Could you please post here when the new release of Harpoon with OpenFOAM export is available? I am interested in trying it. Thanks! Pei |
|
March 30, 2006, 03:40 |
Pei
Will do. I have run som
|
#46 |
New Member
Richard Bardwell
Join Date: Mar 2009
Posts: 9
Rep Power: 17 |
Pei
Will do. I have run some tests on it and it looks ok but would need more testing. Version will not be ready until end of next week at the earliest Richard |
|
April 12, 2006, 04:49 |
All
Version v2.0(e) is now
|
#47 |
New Member
Richard Bardwell
Join Date: Mar 2009
Posts: 9
Rep Power: 17 |
All
Version v2.0(e) is now available for download. Run with the command line option -foam to allow OpenFoam export Richard |
|
April 13, 2006, 17:08 |
Hi, Richard,
Can you explai
|
#48 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 |
Hi, Richard,
Can you explain how to export OpenFOAM using command line option? I am using Windows version and I cannot find a window for entering commands. Thanks! Pei |
|
April 13, 2006, 19:10 |
Just start the executable: "ha
|
#49 |
Member
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17 |
Just start the executable: "harpoon -foam"
|
|
April 20, 2006, 22:47 |
Hi, Richard,
I encountered
|
#50 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 |
Hi, Richard,
I encountered a couple of problems when trying out Harpoon. The most serious one is that, after exporting the mesh to OpenFOAM format, these files (boundary/cells/points/faces) are not usable. When I tried to open the files, I got "this file is binary...". This occurred to both the 32 bit windows version and the 64 bit Linux version. I am wondering how this can be resolved. Pei |
|
April 21, 2006, 04:20 |
Harpoon is not ready for OpenF
|
#51 |
Member
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17 |
Harpoon is not ready for OpenFoam 1.3. But with OpenFoam 1.2 it should work!
|
|
April 21, 2006, 06:58 |
Whats wrong with binary files?
|
#52 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 |
Whats wrong with binary files? What does checkMesh say?
The OF 1.3 mesh constructors are backward compatible with 1.2 formats so there should be no issue. |
|
April 21, 2006, 07:08 |
I have tested the new Harpoon
|
#53 |
Member
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17 |
I have tested the new Harpoon release and there was always the same problem with OF 1.3 (same failure as described above). With OF 1.2 all works fine.
So it has definitly something to do with the version of OF and/or the way how the meshes are created in Harpoon so OF is able to read them. |
|
April 21, 2006, 11:42 |
Could you mail me a small exam
|
#54 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 |
Could you mail me a small example mesh from harpoon please?
|
|
May 17, 2006, 09:27 |
I have found out why the harpo
|
#55 |
Senior Member
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21 |
I have found out why the harpoon exported mesh does not work under OF1.3.
The boundary file has been written in DOS format and the handling of the DOS characters have changed between 1.2 and 1.3. To fix the problem execute the following command: dos2unix -n[list=1] <newboundaryfile> This works on the test case I received. Could someone please confirm the fix. |
|
June 19, 2006, 09:12 |
The problem is probably that y
|
#56 |
New Member
Richard Bardwell
Join Date: Mar 2009
Posts: 9
Rep Power: 17 |
The problem is probably that you are using the single precision version. Harpoon exports the data in double precision
|
|
June 19, 2006, 09:20 |
Use the ASCII export. Should b
|
#57 |
New Member
Richard Bardwell
Join Date: Mar 2009
Posts: 9
Rep Power: 17 |
Use the ASCII export. Should be fine
|
|
June 19, 2006, 10:03 |
the harpoon export works fine
|
#58 |
Member
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17 |
the harpoon export works fine with OF1.2 and OF1.3 but as Eugene has already mentioned one have to convert the boundary file (ASCII) from the dos to unix format!
I think the following 2 options were very useful in order to use harpoon with OpenFOAM: - boundary file in unix format (instead of dos) - save the exported files as boundary, cells, faces, points and not as xxx.boundary etc. |
|
March 25, 2008, 19:38 |
I am trying to use Harpoon as
|
#59 |
Senior Member
Alexandre Pereira
Join Date: Mar 2009
Posts: 155
Rep Power: 17 |
I am trying to use Harpoon as a mesher for OpenFOAM... i am now using OF 1.4.1 under Ubuntu 7.10 32 bits...
Anyone has experience running Harpoon unde Linux x32 Kernel 2.6.x? I can start the gui... and i can mesh geometries, but once i try to export in any format, OpenFoam, Fluent, CFX5, shell states that it cannot get Global nears... and no export file is created... Any hint on what might be happening? Thanks for your time Alex |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error with reactingFoam | BakedAlmonds | OpenFOAM Running, Solving & CFD | 4 | June 22, 2016 03:21 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |