|
[Sponsors] |
June 11, 2018, 03:36 |
Meshing problem in openfoam
|
#1 |
New Member
Qusai
Join Date: Feb 2018
Posts: 5
Rep Power: 8 |
Hi.I am new to openfoam so i apologise if this is a trivial problem.I cant seem to figure out why my mesh looks like this and isnt uniform for both the blocks.I have attached the mesh image.Here is my blockmesh file:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 0.001; vertices ( (0 0 0) (5.3041 5.3041 0) (10.61 10.61 0) (-5.3041 5.3041 0) (-10.61 10.61 0) (0 0 300) (5.3041 5.3041 300) (10.61 10.61 300) (-5.3041 5.3041 300) (-10.61 10.61 300) ); blocks ( hex (0 1 3 3 5 6 8 8) (50 50 100) simpleGrading (1 1 1) hex (1 2 4 3 6 7 9 8) (50 50 100) simpleGrading (1 1 1) ); edges ( arc 2 4 (0 15 0) arc 7 9 (0 15 300) ); boundary ( ); mergePatchPairs ( ); // ************************************************** *********************** // |
|
June 11, 2018, 04:34 |
|
#2 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Hi!
Your blocking is bad. If it is a pipe try to use one wedge block. You can find more about it here: https://cfd.direct/openfoam/user-guide/blockmesh/ |
|
June 11, 2018, 05:39 |
|
#3 |
New Member
Qusai
Join Date: Feb 2018
Posts: 5
Rep Power: 8 |
Thank you for the reply sir.I initially tried using a single wedge block.However i was not able to get the curve on the top edge even after a lot of tries.I defined the arc in the edge section too.Can you guide me how to get the curve edge usign a single wedge block.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting Started with OpenFOAM | wyldckat | OpenFOAM | 25 | August 14, 2022 13:55 |
OpenFOAM course for beginners | Jibran | OpenFOAM Announcements from Other Sources | 2 | November 4, 2019 08:51 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 03:18 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 05:59 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 14:25 |