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

inward-pointing faces error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 3, 2023, 15:35
Default inward-pointing faces error
  #1
New Member
 
anon
Join Date: Jan 2023
Posts: 1
Rep Power: 0
cizzxr is on a distinguished road
I've been tasked to simulate taylor couette flow between two concentric cylinders that are rotating, however I'm struggling to get the blockmesh file to work - Its giving me an error saying my faces are pointing inwards but I'm not sure why - I've double checked all the points and it should be fine.

Please see the attached blockmesh below:


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

convertToMeters 0.1;

vertices
(
(3 0 0)
(3 3 0)
(6 0 0)
(6 6 0)
(3 0 -0.1)
(3 3 -0.1)
(6 0 -0.1)
(6 6 -0.1)
);

blocks
(
wedge (0 1 2 3 4 5 6 7) (20 20 1) simpleGrading (1 1 1)
);

edges
(
arc 0 1 (0 0 0)
arc 2 3 (0 0 0)
arc 4 5 (0 0 -0.1)
arc 6 7 (0 0 -0.1)
);

boundary
(

topSide
{
type empty;
faces
(
(0 1 3 2) // this is the top side
);
}

bottomSide
{
type empty;

faces
(


(4 5 7 6) // this is the bottom side
);
}

movingWall1
{
type wall;
faces
(
(0 1 5 4)

);
}

movingWall2
{
type wall;
faces
(
(3 7 6 2)

);
}

leftwedge
{
type wedge;
faces
(
(1 3 7 5)

);
}

rightwedge
{
type wedge;
faces
(
(0 2 6 4)

);
}

);

mergePatchPairs
(
);

// ************************************************** *********************** //
cizzxr 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
Decomposing meshes Tobi OpenFOAM Pre-Processing 22 February 24, 2023 09:23
[snappyHexMesh] snappyHexMesh does not detect highly skewed faces? ptpacheco OpenFOAM Meshing & Mesh Conversion 1 January 4, 2022 12:37
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
[Other] Mesh Importing Problem cuteapathy ANSYS Meshing & Geometry 2 June 24, 2017 05:29
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 18:44


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