CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

snappyHexmesh

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AtoHM

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 9, 2023, 04:14
Default snappyHexmesh
  #1
Senior Member
 
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 7
saeed jamshidi is on a distinguished road
Hi there,
I want to simulate flow over cylinder in openfoam, so i have faced with error along using snappyHexMesh. I have attached my procedures as well as snappyhexmesh code. please helpe me at this matter.
Thank you.


******************************
myfoam@DESKTOP-TK3D7CI:~$ cd OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder2D
myfoam@DESKTOP-TK3D7CI:~/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder2D$ blockMesh
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : _6e1fca0e-20220610 OPENFOAM=2112 patch=220610 version=2112
Arch : "LSB;label=32;scalar=64"
Exec : blockMesh
Date : Aug 09 2023
Time : 11:35:59
Host : DESKTOP-TK3D7CI
PID : 1293
I/O : uncollated
Case : /home/myfoam/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder2D
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations

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

Creating block mesh from "system/blockMeshDict"
Creating block edges
No non-planar block faces defined
Creating topology blocks

Creating topology patches - from boundary section

Creating block mesh topology
--> FOAM Warning :
From void Foam::polyMesh::setTopology(const cellShapeList&, const faceListList&, const wordList&, Foam::labelList&, Foam::labelList&, Foam::label&, Foam::label&, Foam::cellList&)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 369
Trying to specify a boundary face 4(0 4 5 1) on the face on cell 0 which is either an internal face or already belongs to some other patch. This is face 0 of patch 5 named bottom.

Check topology

Basic statistics
Number of internal faces : 0
Number of boundary faces : 7
Number of defined boundary faces : 7
Number of undefined boundary faces : 0
Checking patch -> block consistency

Creating block offsets
Creating merge list (topological search)...
Deleting polyMesh directory "constant/polyMesh"

Creating polyMesh from blockMesh
Creating patches
Creating cells
Creating points with scale (1 1 1)
Block 0 cell size :
i : 0.03645899863251528 .. 0.04375079835901829
j : 0.02734424897438648 .. 0.03281309876926375
k : 0.6 .. 0.6

--> FOAM Warning :
From void Foam::polyMesh::setTopology(const cellShapeList&, const faceListList&, const wordList&, Foam::labelList&, Foam::labelList&, Foam::label&, Foam::label&, Foam::cellList&)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 369
Trying to specify a boundary face 4(0 1 442 441) on the face on cell 0 which is either an internal face or already belongs to some other patch. This is face 0 of patch 5 named bottom.

There are no merge patch pairs

Writing polyMesh with 0 cellZones
----------------
Mesh Information
----------------
boundingBox: (-0.2 -0.3 -0.3000000000000001) (0.6000000000000001 0.3 0.3000000000000001)
nPoints: 882
nCells: 400
nFaces: 1660
nInternalFaces: 760
----------------
Patches
----------------
patch 0 (start: 760 size: 20) name: inlet
patch 1 (start: 780 size: 20) name: outlet
patch 2 (start: 800 size: 20) name: cylinder
patch 3 (start: 820 size: 800) name: frontAndBack
patch 4 (start: 1620 size: 20) name: top
patch 5 (start: 1640 size: 20) name: bottom

End

myfoam@DESKTOP-TK3D7CI:~/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder2D$ snappyHexMesh
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2112 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : _6e1fca0e-20220610 OPENFOAM=2112 patch=220610 version=2112
Arch : "LSB;label=32;scalar=64"
Exec : snappyHexMesh
Date : Aug 09 2023
Time : 11:36:08
Host : DESKTOP-TK3D7CI
PID : 1294
I/O : uncollated
Case : /home/myfoam/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder2D
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 0

Read mesh in = 0 s

Overall mesh bounding box : (-0.2 -0.3 -0.3000000000000001) (0.6000000000000001 0.3 0.3000000000000001)
Relative tolerance : 1e-06
Absolute matching distance : 1.16619037896906e-06

Reading refinement surfaces.
Read refinement surfaces in = 0 s

Reading refinement shells.
Read refinement shells in = 0 s

Setting refinement level of surface to be consistent with shells.
Checked shell refinement in = 0 s

Reading features.
Read features in = 0 s


Determining initial surface intersections
-----------------------------------------

Edge intersection testing:
Number of edges : 1660
Number of edges to retest : 0
Number of intersected edges : 0
Edge intersection testing:
Number of edges : 1660
Number of edges to retest : 1660
Number of intersected edges : 10
Calculated surface intersections in = 0 s

Initial mesh : cells:400 faces:1660 points:882
Cells per refinement level:
0 400


--> FOAM FATAL IO ERROR: (openfoam-2112 patch=220610)
Entry 'allowFreeStandingZoneFaces' not found in dictionary "/home/myfoam/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder2D/system/snappyHexMeshDict.castellatedMeshControls"


file: system/snappyHexMeshDict.castellatedMeshControls at line 37.

From bool Foam::dictionary::readEntry(const Foam::word&, T&, Foam::keyType::option, bool) const [with T = bool]
in file /usr/src/packages/BUILD/src/OpenFOAM/lnInclude/dictionaryTemplates.C at line 322.

FOAM exiting

myfoam@DESKTOP-TK3D7CI:~/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder2D$
Attached Files
File Type: txt snappyHexMeshDict.txt (2.3 KB, 2 views)
saeed jamshidi is offline   Reply With Quote

Old   August 9, 2023, 04:20
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 646
Rep Power: 12
AtoHM is on a distinguished road
Its missing the keyword as stated:


Code:
--> FOAM FATAL IO ERROR: (openfoam-2112 patch=220610)
Entry 'allowFreeStandingZoneFaces' not found in dictionary  "/home/myfoam/OpenFOAM-sims/tutorials/incompressible/pimpleFoam/laminar/cylinder2D/system/snappyHexMeshDict.castellatedMeshControls"
Look into a template to locate the keyword and add it in your snappyHexMeshDict.
Yann likes this.
AtoHM 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
[CAD formats] Creating waterproof STL using snappyHexMesh or salome Tobi OpenFOAM Meshing & Mesh Conversion 58 May 13, 2020 06:01
[snappyHexMesh] Running snappyHexMesh in parallel - optimizing peterhess OpenFOAM Meshing & Mesh Conversion 2 January 3, 2018 02:54
[snappyHexMesh] Tutorial crashes: snappyHexMesh floating point exception. jasv OpenFOAM Meshing & Mesh Conversion 4 May 10, 2016 02:55
Strange Results With snappyHexMesh calebamiles OpenFOAM Running, Solving & CFD 0 August 14, 2011 16:02
[snappyHexMesh] stitchMesh and snappyHexMesh gdbaldw OpenFOAM Meshing & Mesh Conversion 0 December 23, 2009 02:09


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