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

[mesh manipulation] AutoRefineMesh utility

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2007, 15:43
Default AutoRefineMesh utility
  #1
pbo
Member
 
Patrick Bourdin
Join Date: Mar 2009
Posts: 40
Rep Power: 17
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, 03:10
Default You can use any triSurface for
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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, 11:58
Default thanks for the hint Mattijs,
  #3
pbo
Member
 
Patrick Bourdin
Join Date: Mar 2009
Posts: 40
Rep Power: 17
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, 02:20
Default outsidepoints: one or more poi
  #4
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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, 07:23
Default Mattijs, In another thread,
  #5
pbo
Member
 
Patrick Bourdin
Join Date: Mar 2009
Posts: 40
Rep Power: 17
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, 16:08
Default snapMesh was never in a state
  #6
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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, 14: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: 703
Rep Power: 21
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, 14:18
Default As long as they're all hex. Yo
  #8
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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, 01: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: 703
Rep Power: 21
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 Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 02:36
Noise postprocessing utility setup RFlamm OpenFOAM Post-Processing 5 July 30, 2018 10:06
wallHeatFlux Calculation wrt utility version ahmet OpenFOAM Post-Processing 1 December 18, 2016 19:45
[mesh manipulation] mirrorMesh utility preserving regions zfaraday OpenFOAM Meshing & Mesh Conversion 1 November 7, 2016 21:51
Something doens't work with wallHeatFlux utility or externalWallHeatFluxTemperat BC!! zfaraday OpenFOAM Post-Processing 0 February 5, 2015 16:47


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