AutoRefineMesh utility
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 |
You can use any triSurface for
You can use any triSurface format. Use 'surfaceConvert' to convert formats.
|
thanks for the hint Mattijs,
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 |
outsidepoints: one or more poi
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,
In another thread,
Mattijs,
In another thread, you were mentioning a utility called snapMesh: Quote:
pbo |
snapMesh was never in a state
snapMesh was never in a state to be released. You could try doing something yourself e.g. with triSurfaceSearch.nearest and mesh.movePoints.
|
Hi Mattijs,
A quick questio
Hi Mattijs,
A quick question. Will refineMesh refine 3D non-conformal meshes created using blockMesh? Thanks! |
As long as they're all hex. Yo
As long as they're all hex. You might have a problem doing directed refinement though. Experiment is the advice.
|
Update: Doesn't work with non-
Update: Doesn't work with non-conformal meshes even if they are generated through blockMesh. I'm doubling the interval count manually for now.
|
All times are GMT -4. The time now is 20:16. |