CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Native Meshers: snappyHexMesh and Others (http://www.cfd-online.com/Forums/openfoam-meshing-snappyhexmesh/)
-   -   An extremely simple cube mesh made by snappy,failed. (http://www.cfd-online.com/Forums/openfoam-meshing-snappyhexmesh/117766-extremely-simple-cube-mesh-made-snappy-failed.html)

sharonyue May 14, 2013 22:03

An extremely simple cube mesh made by snappy,failed.
 
3 Attachment(s)
Hi guys,

Recently I found a simple problem in snappy that is it cannot get smooth edge on a cube in which edges are not parallel to the axis.no matter how I set the parameters.for example: in snap control. I even set it like this:
Code:

snapControls
{
  //- Number of patch smoothing iterations before finding correspondence
    //  to surface
    nSmoothPatch 15;

    //- Relative distance for points to be attracted by surface feature point
    //  or edge. True distance is this factor times local
    //  maximum edge length.
    tolerance 4;

    //- Number of mesh displacement relaxation iterations.
    nSolveIter 400;

    //- Maximum number of snapping relaxation iterations. Should stop
    //  before upon reaching a correct mesh.
    nRelaxIter 5;
    nFeatureSnapIter 50;
    implicitFeatureSnap true;
}

but it didnot change anything.

but if the cube's edge is parallel with the x,y,z axis.snappy can get absolutely fine mesh on condition that DONT run snap part.if run the snap part.it can get a smooth edge but which is not a cube.

Back to the cube's edge is not parallel to the axis.How can I get the fine mesh?

sharonyue May 14, 2013 22:25

Sorry guys, I figure it out. There is nothing in my emesh~.


All times are GMT -4. The time now is 13:38.