https://linen.dev logo
Hey what is wrong with this mesh file? /*--------...
# programming
b
Hey what is wrong with this mesh file? /*--------------------------------- C++ -----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2312 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // scale 1.0; vertices ( (0.000000 -1.000000 0.000000) // 0 (-1.000000 -2.000000 0.000000) // 1 (0.000000 -2.000000 0.000000) // 2 (-1.000000 -1.000000 0.000000) // 3 (-0.500000 16.000000 0.000000) // 4 (-50.500000 -1.000000 0.000000) // 5 (-4.500000 26.000000 0.000000) // 6 (-50.500000 26.000000 0.000000) // 7 (29.500000 -1.000000 0.000000) // 8 (-0.500000 491.000000 0.000000) // 9 (29.500000 491.000000 0.000000) // 10 ); blocks ( hex (0 1 2 3 4 5 6 7) (10 10 1) simpleGrading (1 1 1) hex (4 5 6 7 8 9 10 11) (10 10 1) simpleGrading (1 1 1) ); edges ( // No curved edges in the .obj file, leave empty. ); boundary ( inlet { type patch; faces ( (0 1 2 3) ); } outlet { type patch; faces ( (8 9 10 11) ); } walls { type wall; faces ( (0 3 7 4) (1 2 6 5) (3 2 6 7) ); } frontAndBack { type empty; faces ( (0 1 5 4) (2 3 7 6) ); } );