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

[Other] Super simple mesh, Failed mesh check

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2017, 15:39
Default Super simple mesh, Failed mesh check
  #1
New Member
 
Marius Lang
Join Date: Sep 2017
Posts: 19
Rep Power: 9
Ursmooth is on a distinguished road
Hello I want to make a O grid mesh with a cylinder in the middel, the O grid is made up by 4 parts. I am trying to make the first part, but I get a failed mesh check, can somebody help me? And explain whats going wrong?





/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

vertices
(

(0 10 -0.5) //0
(0 1 -0.5) //1
(1 0 -0.5) //2
(10 0 -0.5) //3

(0 10 0.5) //4
(0 1 0.5) //5
(1 0 0.5) //6
(10 0 0.5) //7



);

blocks
(

hex (2 3 0 1 6 7 4 5) (5 5 1) simpleGrading (1 1 1)


);

edges
(

);
patches
(
);

mergePatchPairs
(
);

// ************************************************** *********************** //
Attached Images
File Type: jpg Screen Shot 2017-10-15 at 20.37.37.jpg (160.2 KB, 7 views)
Ursmooth is offline   Reply With Quote

Old   October 15, 2017, 22:23
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 16
Antimony is on a distinguished road
Hi,

Your mesh, at least from the checkMesh log, is perfectly fine.

The "errors" that you see are because you have not defined any patches in the blockMeshDict. As a result, for the moment, OF does not know what type of simulation yours is going to be - 1D, 2D or 3D

Once you define the different patches in blockMeshDict (including giving them a type), you will see that this "error" goes away.

Hope this helps.

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   October 16, 2017, 05:58
Default
  #3
New Member
 
Marius Lang
Join Date: Sep 2017
Posts: 19
Rep Power: 9
Ursmooth is on a distinguished road
Thank you Antimony!
Ursmooth 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
Foam::error::printStack(Foam::Ostream&) with simpleFoam -parallel U.Golling OpenFOAM Running, Solving & CFD 52 September 23, 2023 04:35
Mesh check failed: 1 cells have only wall faces. sugar678513 FLUENT 1 May 5, 2022 19:13
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
[ICEM] mesh check failed RAJ KIRAN ANSYS Meshing & Geometry 6 January 24, 2013 02:05
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01


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