CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

mesh vertices/edges in openFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 24, 2010, 21:15
Default mesh vertices/edges in openFOAM
  #1
New Member
 
Join Date: Jun 2010
Posts: 2
Rep Power: 0
nedc is on a distinguished road
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
nedc is offline   Reply With Quote

Old   June 25, 2010, 06:41
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by nedc View Post
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.
You should look at the corresponding section of the user guide (http://www.openfoam.com/docs/user/mesh-description.php), it provides what you are looking for.

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
olesen is offline   Reply With Quote

Old   June 26, 2010, 11:19
Default
  #3
New Member
 
Join Date: Jun 2010
Posts: 2
Rep Power: 0
nedc is on a distinguished road
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
nedc is offline   Reply With Quote

Reply


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


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


All times are GMT -4. The time now is 18:46.