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

[mesh manipulation] AutoRefineMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2007, 10:37
Default AutoRefineMesh
  #1
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Hi,

so far I did not use to much of the meshing Tools from Foam, only solvers. Now I found autoRefineMEsh after looking around a bit today.

I think it is very interestign. I used blockmesh to generate a course bounding box hexa mesh and did autoRefinement afterwards. But I am not sure what it exactly did. CheckMesh gives me Hexas and Polys afterwards, but Paraview shows more or less Tetrahedrals. Is there som example or additional documentation about it?

Basti
bastil is offline   Reply With Quote

Old   April 30, 2007, 10:28
Default ParaView cannot display polys
  #2
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
ParaView cannot display polys properly, so decomposes them into tetras for display purposes.
eugene is offline   Reply With Quote

Old   April 30, 2007, 16:47
Default I expected that. I saw OpenDX
  #3
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
I expected that. I saw OpenDX is able to display the mesh properly?
What I am wondering: Is the mesh body fitted? Or is body-fitting possible with some of the Options which I dont understand?
bastil is offline   Reply With Quote

Old   April 30, 2007, 18:31
Default If you look at the patches (v.
  #4
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
If you look at the patches (v.s. the internal mesh) you'll see the outside polyhedra correctly.

OpenDX has the same problem (and uses a similar decomposition) but can display the edges of the mesh correctly

The mesh is not body fitted and there is no option to do so.
mattijs is offline   Reply With Quote

Old   May 1, 2007, 08:00
Default Thanks for this, Mattijs. How
  #5
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Thanks for this, Mattijs. How can I look a the patches in paraview?

So what are the following options good for:

With them I dont see a difference, I always get three cell sets:
selectCut
selectInside
selectOutside

I thought this was for body fitting but whats it good for?
geometricCut false;
UseHexTopology yes;


Thanks Basti
bastil is offline   Reply With Quote

Old   May 1, 2007, 09:24
Default use foamToVTK, it writes separ
  #6
Senior Member
 
Markus Hartinger
Join Date: Mar 2009
Posts: 102
Rep Power: 17
hartinger is on a distinguished road
use foamToVTK, it writes separate files for each patch. use paraview to see the vtk-files
hartinger is offline   Reply With Quote

Old   May 1, 2007, 17:14
Default The cellSets are to select par
  #7
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
The cellSets are to select part of the mesh. Use subsetMesh.

The default refinement method is to cut with a plane through the cell centre (geometricCut=true). For pure hexes (i.e. cells with 8 vertices and 6 quad faces) it can do a topological cut (UseHexTopology=true) since for hexes the concept of a direction actually makes sense.
mattijs 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
[Other] AutoRefineMesh Friendly OpenFOAM Meshing & Mesh Conversion 0 October 17, 2017 16:03
[Other] autoRefineMesh mikeP OpenFOAM Meshing & Mesh Conversion 0 March 7, 2013 07:06
[CAD formats] Recommended way of generating mesh from cad Tobias Prousa (Prousa) OpenFOAM Meshing & Mesh Conversion 24 March 19, 2009 20:31
Incorrect labelList initialization in autoRefineMesh 7islands OpenFOAM Bugs 1 August 8, 2008 04:48
[mesh manipulation] AutoRefineMesh utility pbo OpenFOAM Meshing & Mesh Conversion 8 March 18, 2007 02:08


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