|
[Sponsors] |
June 24, 2010, 21:15 |
mesh vertices/edges in openFOAM
|
#1 |
New Member
Join Date: Jun 2010
Posts: 2
Rep Power: 0 |
Hi all, first post here. Thanks for the good work and comments from everyone.
My question about openFOAM: If I only have the cell centers, face centers and face area normal vectors (with the necessary owner and neighbor information), can I make openFOAM to work with it? The more precise question I believe is then: where does openFOAM require the use of vertices (besides calculating face areas and normals) and edges? I am digging through the c++ source guide, but following the inheritance and call relations gets difficult quite quickly. Just to put the question in context, as a start I am not expecting to use all the features of FOAM. I would like to start with simpleFoam or density-based compressible flow solvers like aeroFoam or rhoCentralFoam for steady state problems with some turbulence models. Your help is much appreciated! Thanks! Best, Ned |
|
June 25, 2010, 06:41 |
|
#2 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40 |
Quote:
It might be easier for you to use one of the existing conversion utilities for your mesh. A non-exhaustive list is provided in the user guide: http://www.openfoam.com/docs/user/mesh-conversion.php For a more complete list, look in the applications/utilities/mesh/conversion/ directory for something usable, or for something that you can use as a base for your own converter. http://foam.sourceforge.net/doc/Doxy...2fc5fcade.html |
||
June 26, 2010, 11:19 |
|
#3 |
New Member
Join Date: Jun 2010
Posts: 2
Rep Power: 0 |
Hi Oleson,
Thanks for the reply. However I think you misunderstood my question. I am not looking to convert some mesh format to OpenFOAM format. What I want to do is to modify the source code so that I ONLY have to input cell center, face center and owner / neighbor information without any edges and vertices. Something along the line of this. Could someone please provide some pointers as to how infiltrated into the code the functions that use points and edges? Is it possible to adapt make the changes relatively painlessly? Best, Ned |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Near Wall treatments in openfoam with refined mesh | spwater | OpenFOAM | 3 | June 1, 2015 05:34 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
[ICEM] Unstructure Meshing Around Imported Plot3D Structured Mesh ICEM | kawamatt2 | ANSYS Meshing & Geometry | 17 | December 20, 2011 11:45 |
engrid -> save as .stl with boundarie codes | Zymon | enGrid | 31 | August 29, 2011 13:40 |
[Gmsh] Error converting Gmsh mesh to OpenFOAM format | Martin_ | OpenFOAM Meshing & Mesh Conversion | 3 | December 9, 2009 09:35 |