|
[Sponsors] |
March 24, 2024, 06:43 |
Please helpme with this problem
|
#1 |
New Member
John Philip
Join Date: Mar 2024
Posts: 3
Rep Power: 2 |
Below is my code
/*--------------------------------*- 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; vertices ( (0 0 0) //0 (10 0 0) //1 (14 0 0) //2 (24 0 0) //3 (24 4 0) //4 (0 4 0) //5 (0 0 1) //6 (10 0 1) //7 (14 0 1) //8 (24 0 1) //9 (24 4 1) //10 (0 4 1) //11 ); blocks ( //hex (0 1 2 3 4 5 6 7 8 9 10, 11) (20 20 1) simpleGrading (1 1 1) ); edges ( arc 1 2 (12 2 0) arc 7 8 (12 2 1) ); boundary ( /*movingWall { type wall; faces ( (3 7 6 2) ); } fixedWalls { type wall; faces ( (0 4 7 3) (2 6 5 1) (1 5 4 0) ); } frontAndBack { type empty; faces ( (0 3 2 1) (4 5 6 7) ); } */ ); // ************************************************** *********************** // |
|
March 24, 2024, 14:19 |
check your vertex locations
|
#2 |
New Member
Amirreza
Join Date: Mar 2020
Posts: 17
Rep Power: 6 |
Hi dear
Your blockMeshDict file is not correct and lots of errors exist. I solved the errors and generate your desired geometry but the boundaries and spacing might not be ideal and you should revise them based on your problem. The attachment can be implemented correctly but as I mentioned before, boundaries should be defined properly. best regards Amirreza |
|
March 25, 2024, 03:54 |
Thank you
|
#3 |
New Member
John Philip
Join Date: Mar 2024
Posts: 3
Rep Power: 2 |
Thank you
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2-7.0.1 on ubuntu 18.04 | hyunko | SU2 Installation | 7 | March 16, 2020 04:37 |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 04:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 05:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |