CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Face define with 3 points, hex. (https://www.cfd-online.com/Forums/openfoam-solving/149310-face-define-3-points-hex.html)

rietis March 2, 2015 07:12

Face define with 3 points, hex.
 
Hello everyone.

I am trying to define a wall with 3 points.

With blockMesh I used for every block hex like this:

hex (0 0 1 2 3 3 4 5) (5 5 5) simpleGradient (1 1 1)

And then I defined the wall like this :

(0 2 1 0)

The problem I get is with the checkMesh. It shows several errors :

Code:

/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.3.0                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : 2.3.0-f5222ca19ce6
Exec  : checkMesh
Date  : Mar 02 2015
Time  : 14:09:29
Host  : "raitis-VirtualBox"
PID    : 8752
Case  : /home/raitis/OpenFOAM/raitis-2.3.0/run/tutorials/incompressible/taskOne
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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

Create polyMesh for time = 0

Time = 0

Mesh stats
    points:          8025
    faces:            20950
    internal faces:  18000
    cells:            6500
    faces per cell:  5.99231
    boundary patches: 5
    point zones:      0
    face zones:      0
    cell zones:      0

Overall number of cells of each type:
    hexahedra:    6450
    prisms:        50
    wedges:        0
    pyramids:      0
    tet wedges:    0
    tetrahedra:    0
    polyhedra:    0

Checking topology...
    Boundary definition OK.
 ***Total number of faces on empty patches is not divisible by the number of cells in the mesh. Hence this mesh is not 1D or 2D.
    Cell to face addressing OK.
    Point usage OK.
    Upper triangular ordering OK.
    Face vertices OK.
    Number of regions: 1 (OK).

Checking patch topology for multiply connected surfaces...
    Patch              Faces    Points  Surface topology                 
    fixedWalls          450      507      ok (non-closed singly connected) 
    roof                0        0        ok (empty)                       
    inlet              0        0        ok (empty)                       
    outlet              0        0        ok (empty)                       
    defaultFaces        2500    2553    ok (non-closed singly connected) 

Checking geometry...
    Overall domain bounding box (0 0 -2.36813) (5.62 0.8 1.51)
    Mesh (non-empty, non-wedge) directions (0 0 0)
    Mesh (non-empty) directions (0 0 0)
 ***Number of edges not aligned with or perpendicular to non-empty directions: 1375
  <<Writing 1441 points on non-aligned edges to set nonAlignedEdges
 ***Boundary openness (0.0249084 -8.46057e-17 -1.07283e-17) possible hole in boundary description.
 ***Open cells found, max cell openness: 1, number of open cells 100
  <<Writing 100 non closed cells to set nonClosedCells
    Minimum face area = 0.00032. Maximum face area = 0.215973.  Face area magnitudes OK.
 ***Zero or negative cell volume detected.  Minimum negative volume: -0.0050624, Number of negative volume cells: 3500
  <<Writing 3500 zero volume cells to set zeroVolumeCells
    Mesh non-orthogonality Max: 180 average: 93.8989
 ***Number of non-orthogonality errors: 9625.
  <<Writing 9625 non-orthogonal faces to set nonOrthoFaces
 ***Error in face pyramids: 20850 faces are incorrectly oriented.
  <<Writing 11225 faces with incorrect orientation to set wrongOrientedFaces
    Max skewness = 3.0427 OK.
    Coupled point location match (average 0) OK.

Failed 6 mesh checks.

End

Is there anything I can do if there is another hex region defined on this and another on both on it's sides?

Cheers
Raitis

rietis March 4, 2015 07:42

I solved it, the problem was not well defined blocks for block mesh. One part of the mesh where defined with different direction than the other.


All times are GMT -4. The time now is 14:59.