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

AutoRefineMesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 29, 2007, 09:37
Default Hi, so far I did not use to
  #1
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
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, 09:28
Default ParaView cannot display polys
  #2
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12
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, 15:47
Default I expected that. I saw OpenDX
  #3
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
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, 17:31
Default If you look at the patches (v.
  #4
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
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, 07:00
Default Thanks for this, Mattijs. How
  #5
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
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, 08:24
Default use foamToVTK, it writes separ
  #6
Senior Member
 
Markus Hartinger
Join Date: Mar 2009
Posts: 102
Rep Power: 8
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, 16:14
Default The cellSets are to select par
  #7
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
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

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
Incorrect labelList initialization in autoRefineMesh 7islands OpenFOAM Bugs 1 August 8, 2008 03:48
AutoRefineMesh utility pbo OpenFOAM Mesh Utilities 8 March 18, 2007 02:08


All times are GMT -4. The time now is 15:31.