CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [mesh manipulation] Strange results after using refineMesh on radial 2D-Mesh (https://www.cfd-online.com/Forums/openfoam-meshing/127881-strange-results-after-using-refinemesh-radial-2d-mesh.html)

Zarchias December 24, 2013 11:25

Strange results after using refineMesh on radial 2D-Mesh
 
1 Attachment(s)
Hello cfd-online,

I've been using refineMesh to refine a radial mesh (two concentric cirkels with cells radially extending in between) created in ICEM using an O-grid. The results are satisfactory, except when the cells are angled at approximately 45 degrees (and again at 135, 225 and 315).
At these angles refineMesh returns this strange division of instead of dividing it allong the edges it just divides it horizontally/vertically.

Attachment 27549

Something I've noticed is that this angle is right in the middle between my two global directions I've put in refineMeshDict. Upon changing these directions to a different orthogonal set, the strange behaviour shifts to a new position.

The settings in refineMeshDict are the following:

set c0;
coordinateSystem global;

globalCoeffs
{
tan1 (1 0 0);
tan2 (0 1 0);
}

patchLocalCoeffs
{
patch outside; // Normal direction is facenormal of zero'th face of patch
tan1 (1 0 0);
}

directions
(
tan1
tan2
);

useHexTopology true;
geometricCut false;
writeMesh false;


Has any of you encountered this before? And if so, how did you deal with it?

Thanks in advance!

Steve

lukasf October 30, 2018 10:57

I am having the same issues 5 years later. Are there any ideas?


I think some information can be found here:
https://www.cfd-online.com/Forums/openfoam-meshing/148175-refine-3d-mesh-resulting-pure-hex-mesh.html



The user "mturcios777" gives some interesting info.


Here https://www.cfd-online.com/Forums/op...ere-added.html I am trying to solve a similiar issue.


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