|
[Sponsors] |
April 12, 2019, 06:57 |
Creating a block in a windtunnel
|
#1 |
New Member
Hasse Hansen
Join Date: Apr 2019
Posts: 1
Rep Power: 0 |
Hi everyone.
I am trying to build a straight wind tunnel with a block body in located in the bottom of the wind tunnel. However when I run blockMesh, I get the error: Code:
Create time Creating block mesh from "/home/hasse/OpenFOAM/hasse-6/run/BackWardsFacingStepChangeGeometry/system/blockMeshDict" Creating block edges No non-planar block faces defined Creating topology blocks Creating topology patches Creating block mesh topology --> FOAM FATAL ERROR: face 1 in patch 3 does not have neighbour cell face: 4(13 3 2 12) From function Foam::labelList Foam::polyMesh::facePatchFaceCells(const faceList&, const labelListList&, const faceListList&, Foam::label) const in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 118. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #2 Foam::polyMesh::facePatchFaceCells(Foam::List<Foam::face> const&, Foam::List<Foam::List<int> > const&, Foam::List<Foam::List<Foam::face> > const&, int) const at ??:? #3 Foam::polyMesh::setTopology(Foam::List<Foam::cellShape> 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>&) at ??:? #4 Foam::polyMesh::polyMesh(Foam::IOobject const&, Foam::Xfer<Foam::Field<Foam::Vector<double> > > const&, 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) at ??:? #5 Foam::blockMesh::createTopology(Foam::IOdictionary const&, Foam::word const&) at ??:? #6 Foam::blockMesh::blockMesh(Foam::IOdictionary const&, Foam::word const&) at ??:? #7 ? in "/opt/openfoam6/platforms/linux64GccDPInt32Opt/bin/blockMesh" #8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #9 ? in "/opt/openfoam6/platforms/linux64GccDPInt32Opt/bin/blockMesh" Aborted (core dumped) Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 0.001; vertices ( (0 0 -0.5) (0 250 -0.5) (250 0 -0.5) (250 50 -0.5) (250 250 -0.5) (300 0 -0.5) (300 50 -0.5) (300 250 -0.5) (1000 0 -0.5) (1000 250 -0.5) (0 0 0.5) (0 250 0.5) (250 0 0.5) (250 50 0.5) (250 250 0.5) (300 0 0.5) (300 50 0.5) (300 250 0.5) (1000 0 0.5) (1000 250 0.5) ); blocks ( hex (0 2 4 1 10 12 14 11) (50 100 1) simpleGrading (1 3 1) hex (3 6 7 4 13 16 17 14) (30 100 1) simpleGrading (1 3 1) hex (5 8 9 7 15 18 19 17) (50 100 1) simpleGrading (1 3 1) ); edges ( ); boundary ( inlet { type patch; faces ( (0 10 11 1) ); } outlet { type patch; faces ( (8 9 19 18) ); } upperWall { type wall; faces ( (1 4 14 11) (4 7 17 14) (7 9 19 17) ); } lowerWall { type wall; faces ( (0 10 12 2) (13 3 2 12) (13 3 6 16) (16 6 5 15) (15 5 8 18) ); } frontAndBack { type empty; faces ( (0 1 4 2) (3 4 7 6) (5 7 9 8) (14 11 10 12) (17 14 13 16) (19 17 15 18) ); } ); // ************************************************************************* // Can you give a hint or help to find the source of the error? I have tried to change the face mentioned in the error, but the error does not change. |
|
Tags |
block mesh, mesh generation problem, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] edges not aligned with or perpendicular to non-empty directions | ynos | OpenFOAM Meshing & Mesh Conversion | 6 | March 26, 2020 15:02 |
[ICEM] Replay not working properly - Creating the mesh for Free Block. | Wingman | ANSYS Meshing & Geometry | 4 | January 17, 2017 03:57 |
[blockMesh] Mixer mesh - negative volume problem | jadtwo | OpenFOAM Meshing & Mesh Conversion | 2 | November 6, 2014 16:37 |
[Commercial meshers] Icem Mesh to Foam | jphandrigan | OpenFOAM Meshing & Mesh Conversion | 4 | March 9, 2010 02:58 |
blockMesh: block with 6 vertexes | dani | OpenFOAM | 3 | June 25, 2009 13:13 |