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

FvMesh Generation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 23, 2006, 09:53
Default Good day, We've been workin
  #1
New Member
 
Juan Fernando Duque Lombana.
Join Date: Mar 2009
Posts: 14
Rep Power: 17
juanduque is on a distinguished road
Good day,

We've been working for a while in mesh generation & adaptation to openFoam fvMesh structure; Right now, we have a compact set of points and cells ready to be loaded into a fvMesh, but the problem is detecting the "faces" needed for the constructor. Does anyone knows if there's any openFoam function that can help us with that job?

Thanks in advance!
juanduque is offline   Reply With Quote

Old   August 23, 2006, 12:24
Default 1. The easiest method would b
  #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
1.
The easiest method would be to write your meshes in one of the "standard" formats (cfx,fluent,star-cd, etc) and use the existing utilities.

2.
The next easiest is to choose one of the converters that is closest to your format and adapt it for your needs.

Either way, digging though the source of the mesh conversion utilites should help you.
olesen is offline   Reply With Quote

Old   August 23, 2006, 12:49
Default I assume your mesh is defined
  #3
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
I assume your mesh is defined only interms of cell shapes and points, i.e. is it a fully hex/prism/tet mesh?

If so, there is a polyMesh constructor that can build this type of mesh. You still need faces for the boundaries though.
eugene is offline   Reply With Quote

Old   August 23, 2006, 14:30
Default Thank you both for your quick
  #4
New Member
 
Juan Fernando Duque Lombana.
Join Date: Mar 2009
Posts: 14
Rep Power: 17
juanduque is on a distinguished road
Thank you both for your quick answer!

The thing is that right now I have the mesh info in memory (only info about points and cell shapes) but no "face" connectivity info; The mesh is made up of tets and voxels, and I've been looking inside the netgen neutral and ccm24 converters to see how do they obtain the face connectivity info. time is precious here, so writing it to another existant format is almost unthinkable, because that's exactly the kind of operations we're trying to minimize.

Any ideas-suggestions?

Thanks!
juanduque is offline   Reply With Quote

Old   August 24, 2006, 04:33
Default ccm uses a faced based mesh so
  #5
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
ccm uses a faced based mesh so no use searching there. Try the starToFoam converter, I think it does almost exactly what you want (and more).
eugene 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
[Technical] FvMesh henry OpenFOAM Meshing & Mesh Conversion 4 February 10, 2018 12:38
Mapping fields from fvMesh to tetPolyMesh hannes OpenFOAM Running, Solving & CFD 2 August 28, 2008 05:42
Grid Generation ambroz Main CFD Forum 1 January 11, 2007 03:16
[Technical] Tets Hex fvMesh juanduque OpenFOAM Meshing & Mesh Conversion 4 October 12, 2006 11:06
Grid Generation aurel Main CFD Forum 6 October 3, 2005 09:31


All times are GMT -4. The time now is 02:58.