|
[Sponsors] |
December 7, 2024, 22:36 |
blockMesh
|
#1 |
New Member
Aruj Srivastava
Join Date: Oct 2024
Posts: 1
Rep Power: 0 |
Can someone tell me how to better the mesh for my c-type domain in blockMesh. As I am new to this and still not understanding how to make the mesh better for my tandem airfoil configuration. Like how to get better results for orthogonality, aspect ratio, skewness or is there something else that I should know about?
blockMeshDict /*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 9 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices //trying to make a curve //C = chord lenght of the main airfoil //15C downstream //lateral 20C //have to take a reference from some paper ( (0 -0.2 -10) //0 (15 -0.2 -10) //1 //back (15 0.2 -10) //2 //back (0 0.2 -10) //3 (0 -0.2 10) //4 (15 -0.2 10) //5 //back (15 0.2 10) //6 //back (0 0.2 10) //7 ); blocks //simpleGrading 1st point: ratio of 1st to last ( hex (0 1 2 3 4 5 6 7) (40 1 40) simpleGrading ( ( (0.2 0.4 1) (0.6 0.3 0.25) (0.2 0.4 1) ) 1 ( (0.2 0.4 1) (0.6 0.3 0.25) (0.2 0.4 1) ) ) ); edges ( //arc reasoning where v1 = the vertex of arc start and || v2= is the vertex of arc end. // arc v1 v2 ((the distance away from the edge you want to make an arc) (same as the vertice as it the extrude point) (midpoint of the edge)) arc 0 4 (-10 -0.2 0) arc 3 7 (-10 0.2 0) ); boundary ( back { type patch; faces ( (3 7 6 2) ); } front { type patch; faces ( (1 5 4 0) ); } inlet { type patch; inGroups (freestream); faces ( (0 4 7 3) (4 5 6 7) (0 3 2 1) ); } outlet { type patch; inGroups (freestream); faces ( (2 6 5 1) ); } ); // ************************************************** *********************** // |
|
Tags |
blockmesh simplegrading, blockmeshdict block mesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with blockMesh | yoshiyagi | OpenFOAM Pre-Processing | 2 | November 7, 2022 06:49 |
[blockMesh] Problem with running blockMesh | yoshiyagi | OpenFOAM Meshing & Mesh Conversion | 3 | November 3, 2022 00:49 |
[blockMesh] OpenFOAM blockMesh bus error | BRH | OpenFOAM Meshing & Mesh Conversion | 0 | April 12, 2021 12:02 |
[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 |