CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Mesh Utilities

AutoRefineMesh utility

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 10, 2007, 16:43
Default Hi there, was looking at th
  #1
pbo
Member
 
Patrick Bourdin
Join Date: Mar 2009
Posts: 40
Rep Power: 7
pbo is on a distinguished road
Hi there,

was looking at the autoRefineMeshDict example located in ~/OpenFOAM/OpenFOAM-1.2/applications/utilities/mesh/advanced/autoRefineMesh.
As far as I understood, one could generate a body-fitted, Cartesian mesh by using this utility.
It seems that the surface to be embedded in the mesh is declared in the dictionary file as a file with a .ftr extension. Is that format compulsory to work with autoRefineMesh? if yes, how are the surface grid data organised in such a file?

Cheers
pbo is offline   Reply With Quote

Old   February 12, 2007, 04:10
Default You can use any triSurface for
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 15
mattijs is on a distinguished road
You can use any triSurface format. Use 'surfaceConvert' to convert formats.
mattijs is offline   Reply With Quote

Old   February 13, 2007, 12:58
Default thanks for the hint Mattijs,
  #3
pbo
Member
 
Patrick Bourdin
Join Date: Mar 2009
Posts: 40
Rep Power: 7
pbo is on a distinguished road
thanks for the hint Mattijs,

could you enlighten me about the outsidePoints entry?
It's not clear to me what should be in that list, should it be all the points of the orignal mesh that lie outside the surface to be embedded?

Also, can autoRefineMesh remove the inside cells automatically (i tried to play with nCutLayers but was not successful) or is it better to use insideCells and cellSet for that purpose?

Last question: Is there any utility around to project the cut cells on the triSurface?

thanks again,

pbo
pbo is offline   Reply With Quote

Old   February 14, 2007, 03:20
Default outsidepoints: one or more poi
  #4
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 15
mattijs is on a distinguished road
outsidepoints: one or more points that determine the part of the mesh that will be kept. Any part of the mesh not connected to outsidepoints will be deleted (if nCutLayers>0)

You still want to specify the final set using selectCut/Inside/Outside.
mattijs is offline   Reply With Quote

Old   February 19, 2007, 08:23
Default Mattijs, In another thread,
  #5
pbo
Member
 
Patrick Bourdin
Join Date: Mar 2009
Posts: 40
Rep Power: 7
pbo is on a distinguished road
Mattijs,

In another thread, you were mentioning a utility called snapMesh:

Quote:
We haven't generated many meshes in house. Lots of blockMesh, some AC3D in combination with extrudeMesh (not trivial). There is some experimental undocumented hex-refinement stuff in meshing/advanced: autoRefineMesh, selectCells, snapMesh.
Cannot find it in meshing/advanced or anywhere else! Has it been removed from the OpenFOAM package?

pbo
pbo is offline   Reply With Quote

Old   February 20, 2007, 17:08
Default snapMesh was never in a state
  #6
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 15
mattijs is on a distinguished road
snapMesh was never in a state to be released. You could try doing something yourself e.g. with triSurfaceSearch.nearest and mesh.movePoints.
mattijs is offline   Reply With Quote

Old   March 8, 2007, 15:10
Default Hi Mattijs, A quick questio
  #7
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 697
Rep Power: 10
msrinath80 is on a distinguished road
Hi Mattijs,

A quick question. Will refineMesh refine 3D non-conformal meshes created using blockMesh?

Thanks!
msrinath80 is offline   Reply With Quote

Old   March 8, 2007, 15:18
Default As long as they're all hex. Yo
  #8
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 15
mattijs is on a distinguished road
As long as they're all hex. You might have a problem doing directed refinement though. Experiment is the advice.
mattijs is offline   Reply With Quote

Old   March 18, 2007, 03:08
Default Update: Doesn't work with non-
  #9
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 697
Rep Power: 10
msrinath80 is on a distinguished road
Update: Doesn't work with non-conformal meshes even if they are generated through blockMesh. I'm doubling the interval count manually for now.
msrinath80 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 04:48
Including a new utility in OF 13 alondono OpenFOAM Running, Solving & CFD 7 April 11, 2008 10:17
Utility question mrangitschdowcom OpenFOAM Post-Processing 0 September 5, 2007 12:22
AutoRefineMesh bastil OpenFOAM Mesh Utilities 6 May 1, 2007 17:14
FluentDataToFoam utility ali OpenFOAM Post-Processing 1 November 24, 2005 14:44


All times are GMT -4. The time now is 01:17.