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

[blockMesh] BlockMesh - Challenging my first puzzle: 1 x 0 for it...

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2023, 06:23
Default BlockMesh - Challenging my first puzzle: 1 x 0 for it...
  #1
New Member
 
Raphael
Join Date: Jul 2023
Posts: 1
Rep Power: 0
raphael.moreira is on a distinguished road
Hey guys
I need help to solve the following problem according to the diagram of the attached image.
Could you help me solve this exercise so that I can better understand where I'm going wrong?



Thank you in advance



____________________________________

FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

scale 0.1;

vertices
(
(0 0 0)
(10 0 0)
(10 4 0)
(0 4 0)
(12 4 0)
(12 2 0)
(14 0 0)
(24 0 0)
(24 4 0)
(14 4 0)
(0 0 1)
(10 0 1)
(10 4 1)
(0 4 1)
(12 4 1)
(12 2 1)
(14 0 1)
(24 0 1)
(24 4 1)
(14 4 1)
);

blocks
(
hex (0 1 2 3 10 11 12 13) (20 20 20) simpleGrading (1 1 1)
hex (1 5 4 2 11 15 14 12) (20 20 20) simpleGrading (1 1 1)
hex (5 6 9 4 15 16 19 14) (20 20 20) simpleGrading (1 1 1)
hex (6 7 8 9 16 17 18 19) (20 20 20) simpleGrading (1 1 1)
);

edges
(
arc 1 5 (10.585786 1.414214 0)
arc 11 15 (10.585786 1.414214 1)
arc 5 6 (13.414214 1.414214 0)
arc 15 16 (13.414214 1.414214 1)

);

boundary
(
movingWall
{
type wall;
faces
(
(3 13 12 2)
(2 12 14 4)
(4 14 19 9)
(9 19 18 8)
);
}
fixedWalls
{
type wall;
faces
(
(0 10 13 3)
(0 1 11 10)
(1 5 15 11)
(5 6 16 15)
(6 7 17 16)
(7 8 18 17)
);
}
frontAndBack
{
type empty;
faces
(
(0 3 2 1)
(10 11 12 13)
(1 2 4 5)
(11 15 14 12)
(2 4 9 6)
(15 16 19 14)
(6 9 8 7)
(16 17 18 19)
);
}
);

____________________________________

Result...
..


--> FOAM FATAL ERROR: (openfoam-2306)
face 4 in patch 2 vertices 4((10 4 0) (12 4 0) (14 4 0) (14 0 0)) does not have neighbour cell face: 4(2 4 9 6)

From Foam::labelList Foam:olyMesh::facePatchFaceCells(const faceList&, const labelListList&, const faceListList&, Foam::label) const
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 119.

FOAM aborting

[stack trace]
=============
#1 Foam::error::simpleExit(int, bool) in ~/OpenFOAM/OpenFOAM-v2306/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
#2 Foam:olyMesh::facePatchFaceCells(Foam::List<Foam ::face> const&, Foam::List<Foam::List<int> > const&, Foam::List<Foam::List<Foam::face> > const&, int) const in ~/OpenFOAM/OpenFOAM-v2306/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
#3 Foam:olyMesh::setTopology(Foam::List<Foam::cellS hape> const&, Foam::List<Foam::List<Foam::face> > const&, Foam::List<Foam::word> const&, Foam::List<int>&, Foam::List<int>&, int&, int&, Foam::List<Foam::cell>&) in ~/OpenFOAM/OpenFOAM-v2306/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
#4 Foam:olyMesh:olyMesh(Foam::IOobject const&, Foam::Field<Foam::Vector<double> >&&, Foam::List<Foam::cellShape> const&, Foam::List<Foam::List<Foam::face> > const&, Foam::List<Foam::word> const&, Foam::PtrList<Foam::dictionary> const&, Foam::word const&, Foam::word const&, bool) in ~/OpenFOAM/OpenFOAM-v2306/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
#5 Foam::blockMesh::createTopology(Foam::IOdictionary const&, Foam::word const&) in ~/OpenFOAM/OpenFOAM-v2306/platforms/linux64GccDPInt32Opt/lib/libblockMesh.so
#6 Foam::blockMesh::blockMesh(Foam::IOdictionary const&, Foam::word const&, Foam::blockMesh::mergeStrategy, int) in ~/OpenFOAM/OpenFOAM-v2306/platforms/linux64GccDPInt32Opt/lib/libblockMesh.so
#7 ? in ~/OpenFOAM/OpenFOAM-v2306/platforms/linux64GccDPInt32Opt/bin/blockMesh
#8 ? in /lib/x86_64-linux-gnu/libc.so.6
#9 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
#10 ? in ~/OpenFOAM/OpenFOAM-v2306/platforms/linux64GccDPInt32Opt/bin/blockMesh
=============
Abortado (imagem do núcleo gravada)
Attached Images
File Type: png lesson5b.png (19.3 KB, 5 views)
raphael.moreira 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
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
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 15:53
[blockMesh] set of xyz data in blockMesh psk OpenFOAM Meshing & Mesh Conversion 12 August 27, 2013 09:37


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