CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Meshing problem in openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2018, 03:36
Default Meshing problem in openfoam
  #1
New Member
 
Qusai
Join Date: Feb 2018
Posts: 5
Rep Power: 8
qusaimn is on a distinguished road
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
(
);

// ************************************************** *********************** //
Attached Images
File Type: jpeg mesh.jpeg (174.2 KB, 18 views)
qusaimn is offline   Reply With Quote

Old   June 11, 2018, 04:34
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
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/
simrego is offline   Reply With Quote

Old   June 11, 2018, 05:39
Default
  #3
New Member
 
Qusai
Join Date: Feb 2018
Posts: 5
Rep Power: 8
qusaimn is on a distinguished road
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.
qusaimn is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 03:30.