|
[Sponsors] |
October 8, 2019, 11:04 |
blockMesh with "open" cell/face
|
#1 |
New Member
Frederik Meyer
Join Date: Oct 2019
Posts: 1
Rep Power: 0 |
Dear all,
I am currently working on making simulations around an Ellipse. I have come to notice that there is one cell that is not looking like the others (see attached file). It looks like it does not exist and it "flickers" when the camera view angle is turned. The goal is of course to make this cell appear as all adjacent cells. If you require any further details please do not hesitate to contact me! (the code below shows the blockMeshDict used. Please note that the number of interpolation points in the splines have been reduced by a factor of 10 to reduce the length of the code showcased here. Therefore, should you try to open the blockMeshDict file yourself, it will not look very pretty... but the problem is still present) Code:
/*--------------------------------*- C++ -*----------------------------------*\\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Website: https://openfoam.org | | \\ / A nd | Version: 7.0 | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 7.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 0.01; vertices ( (-1.414214e+00 1.414214e+00 -5.000000e-01) // 0 (7.071068e-01 7.071068e-01 -5.000000e-01) // 1 (1.414214e+00 -1.414214e+00 -5.000000e-01) // 2 (-7.071068e-01 -7.071068e-01 -5.000000e-01) // 3 (-5.656854e+00 5.656854e+00 -5.000000e-01) // 4 (2.828427e+00 2.828427e+00 -5.000000e-01) // 5 (5.656854e+00 -5.656854e+00 -5.000000e-01) // 6 (-2.828427e+00 -2.828427e+00 -5.000000e-01) // 7 (-1.131371e+01 1.131371e+01 -5.000000e-01) // 8 (1.131371e+01 1.131371e+01 -5.000000e-01) // 9 (1.131371e+01 -1.131371e+01 -5.000000e-01) // 10 (-1.131371e+01 -1.131371e+01 -5.000000e-01) // 11 (-4.000000e+01 4.000000e+01 -5.000000e-01) // 12 (4.000000e+01 4.000000e+01 -5.000000e-01) // 13 (4.000000e+01 -4.000000e+01 -5.000000e-01) // 14 (-4.000000e+01 -4.000000e+01 -5.000000e-01) // 15 (-1.414214e+00 1.414214e+00 5.000000e-01) // 16 (7.071068e-01 7.071068e-01 5.000000e-01) // 17 (1.414214e+00 -1.414214e+00 5.000000e-01) // 18 (-7.071068e-01 -7.071068e-01 5.000000e-01) // 19 (-5.656854e+00 5.656854e+00 5.000000e-01) // 20 (2.828427e+00 2.828427e+00 5.000000e-01) // 21 (5.656854e+00 -5.656854e+00 5.000000e-01) // 22 (-2.828427e+00 -2.828427e+00 5.000000e-01) // 23 (-1.131371e+01 1.131371e+01 5.000000e-01) // 24 (1.131371e+01 1.131371e+01 5.000000e-01) // 25 (1.131371e+01 -1.131371e+01 5.000000e-01) // 26 (-1.131371e+01 -1.131371e+01 5.000000e-01) // 27 (-4.000000e+01 4.000000e+01 5.000000e-01) // 28 (4.000000e+01 4.000000e+01 5.000000e-01) // 29 (4.000000e+01 -4.000000e+01 5.000000e-01) // 30 (-4.000000e+01 -4.000000e+01 5.000000e-01) // 31 ); blocks ( hex (0 1 5 4 16 17 21 20) (30 30 1) simpleGrading (1 10 1) hex (1 2 6 5 17 18 22 21) (30 30 1) simpleGrading (1 10 1) hex (2 3 7 6 18 19 23 22) (30 30 1) simpleGrading (1 10 1) hex (3 0 4 7 19 16 20 23) (30 30 1) simpleGrading (1 10 1) hex (4 5 9 8 20 21 25 24) (30 30 1) simpleGrading (1 5 1) hex (5 6 10 9 21 22 26 25) (30 30 1) simpleGrading (1 5 1) hex (6 7 11 10 22 23 27 26) (30 30 1) simpleGrading (1 5 1) hex (7 4 8 11 23 20 24 27) (30 30 1) simpleGrading (1 5 1) hex (8 9 13 12 24 25 29 28) (30 15 1) simpleGrading (1 10 1) hex (9 10 14 13 25 26 30 29) (30 15 1) simpleGrading (1 10 1) hex (10 11 15 14 26 27 31 30) (30 15 1) simpleGrading (1 10 1) hex (11 8 12 15 27 24 28 31) (30 15 1) simpleGrading (1 10 1) ); edges ( spline 0 1 ( (-1.13465754511 1.56172213102 -0.5) (-0.800527338599 1.57112336468 -0.5) (-0.485825016826 1.49521565623 -0.5) (-0.219241592473 1.38423693656 -0.5) (7.74534642908e-17 1.26491106407 -0.5) (0.181743171901 1.14748122687 -0.5) (0.336082764952 1.03435639282 -0.5) (0.471176428351 0.924735808228 -0.5) ) spline 1 2 ( (0.816545051357 0.593254705843 -0.5) (0.924735808228 0.471176428351 -0.5) (1.03435639282 0.336082764952 -0.5) (1.14748122687 0.181743171901 -0.5) (1.26491106407 0.0 -0.5) (1.38423693656 -0.219241592473 -0.5) (1.49521565623 -0.485825016826 -0.5) (1.57112336468 -0.800527338599 -0.5) ) spline 2 3 ( (1.13465754511 -1.56172213102 -0.5) (0.800527338599 -1.57112336468 -0.5) (0.485825016826 -1.49521565623 -0.5) (0.219241592473 -1.38423693656 -0.5) (7.74534642908e-17 -1.26491106407 -0.5) (-0.181743171901 -1.14748122687 -0.5) (-0.336082764952 -1.03435639282 -0.5) (-0.471176428351 -0.924735808228 -0.5) ) spline 3 0 ( (-0.816545051357 -0.593254705843 -0.5) (-0.924735808228 -0.471176428351 -0.5) (-1.03435639282 -0.336082764952 -0.5) (-1.14748122687 -0.181743171901 -0.5) (-1.26491106407 -1.54906928582e-16 -0.5) (-1.38423693656 0.219241592473 -0.5) (-1.49521565623 0.485825016826 -0.5) (-1.57112336468 0.800527338599 -0.5) ) spline 16 17 ( (-1.13465754511 1.56172213102 0.5) (-0.800527338599 1.57112336468 0.5) (-0.485825016826 1.49521565623 0.5) (-0.219241592473 1.38423693656 0.5) (7.74534642908e-17 1.26491106407 0.5) (0.181743171901 1.14748122687 0.5) (0.336082764952 1.03435639282 0.5) (0.471176428351 0.924735808228 0.5) ) spline 17 18 ( (0.816545051357 0.593254705843 0.5) (0.924735808228 0.471176428351 0.5) (1.03435639282 0.336082764952 0.5) (1.14748122687 0.181743171901 0.5) (1.26491106407 0.0 0.5) (1.38423693656 -0.219241592473 0.5) (1.49521565623 -0.485825016826 0.5) (1.57112336468 -0.800527338599 0.5) ) spline 18 19 ( (1.13465754511 -1.56172213102 0.5) (0.800527338599 -1.57112336468 0.5) (0.485825016826 -1.49521565623 0.5) (0.219241592473 -1.38423693656 0.5) (7.74534642908e-17 -1.26491106407 0.5) (-0.181743171901 -1.14748122687 0.5) (-0.336082764952 -1.03435639282 0.5) (-0.471176428351 -0.924735808228 0.5) ) spline 19 16 ( (-0.816545051357 -0.593254705843 0.5) (-0.924735808228 -0.471176428351 0.5) (-1.03435639282 -0.336082764952 0.5) (-1.14748122687 -0.181743171901 0.5) (-1.26491106407 -1.54906928582e-16 0.5) (-1.38423693656 0.219241592473 0.5) (-1.49521565623 0.485825016826 0.5) (-1.57112336468 0.800527338599 0.5) ) spline 4 5 ( (-4.53863018045 6.24688852408 -0.5) (-3.2021093544 6.28449345872 -0.5) (-1.9433000673 5.98086262493 -0.5) (-0.876966369892 5.53694774622 -0.5) (3.09813857163e-16 5.05964425627 -0.5) (0.726972687604 4.58992490749 -0.5) (1.34433105981 4.13742557128 -0.5) (1.8847057134 3.69894323291 -0.5) ) spline 5 6 ( (3.26618020543 2.37301882337 -0.5) (3.69894323291 1.8847057134 -0.5) (4.13742557128 1.34433105981 -0.5) (4.58992490749 0.726972687604 -0.5) (5.05964425627 0.0 -0.5) (5.53694774622 -0.876966369892 -0.5) (5.98086262493 -1.9433000673 -0.5) (6.28449345872 -3.2021093544 -0.5) ) spline 6 7 ( (4.53863018045 -6.24688852408 -0.5) (3.2021093544 -6.28449345872 -0.5) (1.9433000673 -5.98086262493 -0.5) (0.876966369892 -5.53694774622 -0.5) (3.09813857163e-16 -5.05964425627 -0.5) (-0.726972687604 -4.58992490749 -0.5) (-1.34433105981 -4.13742557128 -0.5) (-1.8847057134 -3.69894323291 -0.5) ) spline 7 4 ( (-3.26618020543 -2.37301882337 -0.5) (-3.69894323291 -1.8847057134 -0.5) (-4.13742557128 -1.34433105981 -0.5) (-4.58992490749 -0.726972687604 -0.5) (-5.05964425627 -6.19627714326e-16 -0.5) (-5.53694774622 0.876966369892 -0.5) (-5.98086262493 1.9433000673 -0.5) (-6.28449345872 3.2021093544 -0.5) ) spline 20 21 ( (-4.53863018045 6.24688852408 0.5) (-3.2021093544 6.28449345872 0.5) (-1.9433000673 5.98086262493 0.5) (-0.876966369892 5.53694774622 0.5) (3.09813857163e-16 5.05964425627 0.5) (0.726972687604 4.58992490749 0.5) (1.34433105981 4.13742557128 0.5) (1.8847057134 3.69894323291 0.5) ) spline 21 22 ( (3.26618020543 2.37301882337 0.5) (3.69894323291 1.8847057134 0.5) (4.13742557128 1.34433105981 0.5) (4.58992490749 0.726972687604 0.5) (5.05964425627 0.0 0.5) (5.53694774622 -0.876966369892 0.5) (5.98086262493 -1.9433000673 0.5) (6.28449345872 -3.2021093544 0.5) ) spline 22 23 ( (4.53863018045 -6.24688852408 0.5) (3.2021093544 -6.28449345872 0.5) (1.9433000673 -5.98086262493 0.5) (0.876966369892 -5.53694774622 0.5) (3.09813857163e-16 -5.05964425627 0.5) (-0.726972687604 -4.58992490749 0.5) (-1.34433105981 -4.13742557128 0.5) (-1.8847057134 -3.69894323291 0.5) ) spline 23 20 ( (-3.26618020543 -2.37301882337 0.5) (-3.69894323291 -1.8847057134 0.5) (-4.13742557128 -1.34433105981 0.5) (-4.58992490749 -0.726972687604 0.5) (-5.05964425627 -6.19627714326e-16 0.5) (-5.53694774622 0.876966369892 0.5) (-5.98086262493 1.9433000673 0.5) (-6.28449345872 3.2021093544 0.5) ) arc 8 9 (9.79717439318e-16 16.0 -0.5) arc 9 10 (16.0 0.0 -0.5) arc 10 11 (9.79717439318e-16 -16.0 -0.5) arc 11 8 (-16.0 -1.95943487864e-15 -0.5) arc 24 25 (9.79717439318e-16 16.0 0.5) arc 25 26 (16.0 0.0 0.5) arc 26 27 (9.79717439318e-16 -16.0 0.5) arc 27 24 (-16.0 -1.95943487864e-15 0.5) ); boundary ( Top { type patch; faces ( (13 12 28 29) ); } Right { type patch; faces ( (14 13 29 30) ); } Bottom { type patch; faces ( (15 14 30 31) ); } Left { type patch; faces ( (12 15 31 28) ); } ellipse { type wall; faces ( (1 0 16 17) (2 1 17 18) (3 2 18 19) (0 3 19 16) ); } ); mergePatchPairs ( ); |
|
Tags |
blockmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] blockMesh issue on openfoam6 startup - ubuntu 16.04 | bjdarrer | OpenFOAM Installation | 7 | August 25, 2020 20:15 |
Is Playstation 3 cluster suitable for CFD work | hsieh | OpenFOAM | 9 | August 16, 2015 15:53 |
[blockMesh] set of xyz data in blockMesh | psk | OpenFOAM Meshing & Mesh Conversion | 12 | August 27, 2013 09:37 |
Blockmesh cavity error message | tonitoney | OpenFOAM Installation | 2 | March 17, 2008 12:59 |