View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000552 | OpenFOAM | Bug | public | 2012-06-11 14:09 | 2012-06-12 09:18 |
Reporter | nogenmyr | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | CentOS | OS Version | 5 |
Summary | 0000552: snappyHexMesh ignores refining on ring-formed feature lines... | ||||
Description | If an eMesh file contains a ring formed feature line (i.e. without start or end), snappyHexMesh will ignore the refinement level specified for it. It will still snap to it, however. If the user simply edits the eMesh file such that one point in the ring is duplicated and the ring is made discontinious, snappyHexMesh will both refine according to snappyHexMeshDict and snap to it. | ||||
Steps To Reproduce | The attached case is a setup for meshing inside of a simple cylinder. 1. Untaring and running blockMesh and snappyHexMesh will give a snapped mesh, but without refinement level 2 as specified: """ Marked for refinement due to explicit features : 0 cells. """ 2. Now, removing output dirs 1&2 and altering line 32&33 in snappyHexMeshDict and rerunning snappyHexMesh will give expected results: """ Marked for refinement due to explicit features : 160 cells. """ | ||||
Tags | No tags attached. | ||||
|
|
|
Forgot to add. This was also discussed here http://www.cfd-online.com/Forums/openfoam-meshing-snappyhexmesh/101369-snappyhexmesh-refuses-refine-certain-edges.html |
|
Interesting problem. snappyHexMesh uses tracking along feature edges to find out the cells the edge is going through. To avoid starting too many tracks it only seeds points with != 2 (feature) edges connected to it and this is your problem. Either 'break' the track or have an additional feature edge at a point. |
|
Thanks for the feedback! I had a look at the code, and I see why you need to reduce the number of seeds. I was thinking that maybe one could keep track of which feature edges that were tracked. Then, after the loop one could check if there are edges which were not visited. If there is, one could select a random point belonging to those edges and do more tracking. It is also possible like you say to just break the loops. However, the user is in little control of the formation of eMesh files if he for instance uses the surfaceFeatureExtract tool. Great mesher, else! |
|
Fixed in 0d67705b13eb7566914d9c2713feaec3e16b6fc1. It keeps count of the edgeMeshes that will not get visited. (can only be ring shaped ones). You'll still not get uniform refinement though (well you do but then it gets deleted since it is not inside the final mesh) but that is another issue. Thanks for reporting. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-06-11 14:09 | nogenmyr | New Issue | |
2012-06-11 14:09 | nogenmyr | File Added: testCase.tar.gz | |
2012-06-11 14:16 | nogenmyr | Note Added: 0001376 | |
2012-06-11 14:29 |
|
Note Added: 0001377 | |
2012-06-12 07:54 | nogenmyr | Note Added: 0001383 | |
2012-06-12 09:18 |
|
Note Added: 0001386 | |
2012-06-12 09:18 |
|
Status | new => resolved |
2012-06-12 09:18 |
|
Fixed in Version | => 2.1.x |
2012-06-12 09:18 |
|
Resolution | open => fixed |
2012-06-12 09:18 |
|
Assigned To | => user4 |