CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM

mesh vertices/edges in openFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 24, 2010, 22: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, 07:41
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 17
olesen will become famous soon enough
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, 12: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

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Unstructure Meshing Around Imported Plot3D Structured Mesh ICEM kawamatt2 ANSYS Meshing & Geometry 17 December 20, 2011 12:45
engrid -> save as .stl with boundarie codes Zymon enGrid 31 August 29, 2011 14:40
Error converting Gmsh mesh to OpenFOAM format Martin_ OpenFOAM Meshing & Mesh Conversion 3 December 9, 2009 10:35
Near Wall treatments in openfoam with refined mesh spwater OpenFOAM 2 October 26, 2009 22:57
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 17 August 22, 2009 04:59


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