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

[blockMesh] Submerged deck in wave tank blockMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 4, 2019, 14:09
Default Submerged deck in wave tank blockMesh
  #1
New Member
 
Conor
Join Date: Dec 2019
Location: University of Dundee
Posts: 2
Rep Power: 0
Cjyowen is on a distinguished road
Hello,
I have created a blockMesh for a submerged deck within a wave tank, for use with waves2Foam, and it is coming up with an error,

--> FOAM FATAL ERROR:
face 0 in patch 2 does not have neighbour cell face: 4(3 19 23 7)

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

After looking over the blockMesh, it is the "object" that is causing issues. the blockMesh is,

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

convertToMeters 1;

vertices
(
//lower case front
( 0 -0.6 0 ) //0
( 8 -0.6 0 ) //1
( 12 -0.6 0 ) //2
( 20 -0.6 0 ) //3
//mid1 case front
( 0 -0.3 0 ) //4
( 8 -0.3 0 ) //5
( 12 -0.3 0 ) //6
( 20 -0.3 0 ) //7
//mid2 case front
( 0 -0.25 0 ) //8
( 8 -0.25 0 ) //9
( 12 -0.25 0 ) //10
( 20 -0.25 0 ) //11
//top case front
( 0 0.4 0 ) //12
( 8 0.4 0 ) //13
( 12 0.4 0 ) //14
( 20 0.4 0 ) //15
//lower case back
( 0 -0.6 0.1 ) //16
( 8 -0.6 0.1 ) //17
( 12 -0.6 0.1 ) //18
( 20 -0.6 0.1 ) //19
//mid1 case back
( 0 -0.3 0.1 ) //20
( 8 -0.3 0.1 ) //21
( 12 -0.3 0.1 ) //22
( 20 -0.3 0.1 ) //23
//mid2 case back
( 0 -0.25 0.1 ) //24
( 8 -0.25 0.1 ) //25
( 12 -0.25 0.1 ) //26
( 20 -0.25 0.1 ) //27
//top case back
( 0 0.4 0.1 ) //28
( 8 0.4 0.1 ) //29
( 12 0.4 0.1 ) //30
( 20 0.4 0.1 ) //31
);

blocks
(
hex (0 1 5 4 16 17 21 20) ( 50 60 1 ) simpleGrading (1 1 1)
hex (1 2 6 5 17 18 22 21) ( 50 60 1 ) simpleGrading (1 1 1)
hex (2 3 11 10 18 19 27 26) ( 50 60 1 ) simpleGrading (1 1 1)
hex (4 5 9 8 20 21 25 24) ( 50 60 1 ) simpleGrading (1 1 1)
hex (6 7 11 10 22 23 27 26) ( 50 60 1 ) simpleGrading (1 1 1)
hex (8 9 13 12 24 25 29 28) ( 50 60 1 ) simpleGrading (1 1 1)
hex (9 10 14 13 25 26 30 29) ( 50 60 1 ) simpleGrading (1 1 1)
hex (10 11 15 14 26 27 31 30) ( 50 60 1 ) simpleGrading (1 1 1)



);

edges
(
);

patches
(
patch inlet
(
(0 4 20 16)
(4 8 24 20)
(8 12 28 24)
)
wall bottom
(
(0 1 17 16)
(1 2 18 17)
(2 3 19 18)
)
patch outlet
(
(3 19 23 7)
(7 23 27 11)
(11 27 31 15)
)

patch atmosphere
(
(12 13 29 28)
(13 14 30 29)
(14 15 31 30)
)

wall object
(
(5 6 22 21)
(6 10 26 22)
(10 9 25 26)
(9 5 21 25)
)

empty frontBack
(
(0 1 5 4)
(4 5 9 8)
(8 9 13 12)
(1 2 6 5)
(5 6 10 9)
(9 10 14 13)
(2 3 7 6)
(6 7 11 10)
(10 11 15 14)

(16 17 21 20)
(20 21 25 24)
(24 25 29 28)
(17 18 22 21)
(21 22 26 25)
(25 26 30 29)
(18 19 23 22)
(22 23 27 26)
(26 27 31 30)
)
);

mergePatchPairs
(
);
Cjyowen is offline   Reply With Quote

Old   December 4, 2019, 17:13
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
HPE is on a distinguished road
Are you using v1.5? a.k.a. the version before Justin Bieber was born.

could you also please attach the complete blockMesh log file?
HPE is offline   Reply With Quote

Old   December 5, 2019, 06:05
Default
  #3
New Member
 
Conor
Join Date: Dec 2019
Location: University of Dundee
Posts: 2
Rep Power: 0
Cjyowen is on a distinguished road
Quote:
Originally Posted by HPE View Post
Are you using v1.5? a.k.a. the version before Justin Bieber was born.

could you also please attach the complete blockMesh log file?
You're a fan of the JB too
I am a university student and this is the versions recommended by my lecturer.

no log file is created when running blockMesh in the terminal, but the full message is as follows;

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 4.1
Exec : blockMesh
Date : Dec 05 2019
Time : 11:01:43
Host : "conor-U"
PID : 2991
Case : /home/conor-u/OpenFOAM/conor-u-4.1/applications/utilities/waves2Foam/tutorials/Case/waveFlume
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Creating block mesh from
"/home/conor-u/OpenFOAM/conor-u-4.1/applications/utilities/waves2Foam/tutorials/Case/waveFlume/constant/polyMesh/blockMeshDict"
Creating curved edges
Creating topology blocks
Creating topology patches

Reading patches section

Creating block mesh topology

Reading physicalType from existing boundary file

Default patch type set to empty


--> FOAM FATAL ERROR:
face 0 in patch 2 does not have neighbour cell face: 4(3 19 23 7)

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

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 Foam:olyMesh::facePatchFaceCells(Foam::List<Foam ::face> const&, Foam::List<Foam::List<int> > const&, Foam::List<Foam::List<Foam::face> > const&, int) const at ??:?
#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>&) at ??:?
#4 Foam:olyMesh:olyMesh(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 ? at ??:?
#8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9 ? at ??:?
Aborted (core dumped)
Cjyowen 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
Pressure for wave height in an Water Wave Tank Cluain CFX 8 December 6, 2021 03:58
Simulating numerical wave tank and calculating wave load on vertical cylinder Amit B FLUENT 0 July 27, 2019 09:56
interFoam wave propagation and explosion of Courant number and residuals ChiaraViola OpenFOAM Running, Solving & CFD 1 June 26, 2019 05:36
WAVE TANK star-ccm+ . wave height dampens. WHY? muhsin STAR-CCM+ 3 October 9, 2012 13:24
active wave absorb(about wave tank) zhaochuangang ANSYS 0 September 22, 2010 02:29


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