|
[Sponsors] |
February 10, 2007, 16:43 |
AutoRefineMesh utility
|
#1 |
Member
Patrick Bourdin
Join Date: Mar 2009
Posts: 40
Rep Power: 17 |
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 |
|
February 12, 2007, 04:10 |
You can use any triSurface for
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
You can use any triSurface format. Use 'surfaceConvert' to convert formats.
|
|
February 13, 2007, 12:58 |
thanks for the hint Mattijs,
|
#3 |
Member
Patrick Bourdin
Join Date: Mar 2009
Posts: 40
Rep Power: 17 |
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 |
|
February 14, 2007, 03:20 |
outsidepoints: one or more poi
|
#4 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
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. |
|
February 19, 2007, 08:23 |
Mattijs,
In another thread,
|
#5 | |
Member
Patrick Bourdin
Join Date: Mar 2009
Posts: 40
Rep Power: 17 |
Mattijs,
In another thread, you were mentioning a utility called snapMesh: Quote:
pbo |
||
February 20, 2007, 17:08 |
snapMesh was never in a state
|
#6 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
snapMesh was never in a state to be released. You could try doing something yourself e.g. with triSurfaceSearch.nearest and mesh.movePoints.
|
|
March 8, 2007, 15:10 |
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 |
Hi Mattijs,
A quick question. Will refineMesh refine 3D non-conformal meshes created using blockMesh? Thanks! |
|
March 8, 2007, 15:18 |
As long as they're all hex. Yo
|
#8 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
As long as they're all hex. You might have a problem doing directed refinement though. Experiment is the advice.
|
|
March 18, 2007, 02:08 |
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 |
Update: Doesn't work with non-conformal meshes even if they are generated through blockMesh. I'm doubling the interval count manually for now.
|
|
|
|
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 03:36 |
Noise postprocessing utility setup | RFlamm | OpenFOAM Post-Processing | 5 | July 30, 2018 11:06 |
wallHeatFlux Calculation wrt utility version | ahmet | OpenFOAM Post-Processing | 1 | December 18, 2016 20:45 |
[mesh manipulation] mirrorMesh utility preserving regions | zfaraday | OpenFOAM Meshing & Mesh Conversion | 1 | November 7, 2016 22:51 |
Something doens't work with wallHeatFlux utility or externalWallHeatFluxTemperat BC!! | zfaraday | OpenFOAM Post-Processing | 0 | February 5, 2015 17:47 |