April 10, 2020, 05:32
|
checkMesh error after createBafflesDict
|
#1
|
Member
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 7
|
Dear all,
1. I have created a 2D hemispherical mesh using blockMeshDict. The mesh is perfect and checkMesh works fine.
2. I wanted an internal face with Boundary condition so as to solve internal incompressible flow. For this, I created faceZone using topoSet.
3. After topoSet, I used createbafflesDict file to create Boundary face on that internal face.
Once the baffle is created, I ran checkMesh -allTopology -allGeomety. In this case, I am encountering an error and the simulation blows up without running even for a single iteration.
4. I tried to address the error but could not been able to. I would like to know what wrong did I go through and how to overcome it.
I have attached the image of the originated baffle in paraview and also the error in checkMesh along with baffle file.
Baffle file
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object createBafflesDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
internalFacesOnly true;
// Baffles to create.
baffles
{
baffleFaces
{
//- Use surface to select faces and orientation.
type faceZone;
zoneName tumor;
//- Optional flip
flip false;
// Generate patchGroup baffle1 with two patches:
// - baffle1_master
// - baffle1_slave
patchPairs
{
type wall;
patchFields
{
p
{
type zeroGradient;
// value uniform 0;
}
T
{
type zeroGradient;
// value uniform 30;
}
U
{
type noSlip;
}
}
}
}
}
// ************************************************** *********************** //
|
CheckMesh error:
Quote:
Create time
Create polyMesh for time = 0
Enabling all (cell, face, edge, point) topology checks.
Enabling all geometry checks.
Time = 0
Mesh stats
points: 12212
internal points: 0
edges: 30416
internal edges: 5791
internal edges using one boundary point: 0
internal edges using two boundary points: 5791
faces: 24423
internal faces: 11767
cells: 6050
faces per cell: 5.981818
boundary patches: 5
point zones: 0
face zones: 2
cell zones: 0
Overall number of cells of each type:
hexahedra: 5940
prisms: 110
wedges: 0
pyramids: 0
tet wedges: 0
tetrahedra: 0
polyhedra: 0
Checking topology...
Boundary definition OK.
Cell to face addressing OK.
Point usage OK.
Upper triangular ordering OK.
Face vertices OK.
Topological cell zip-up check OK.
Number of identical duplicate faces (baffle faces): 168
Face-face connectivity OK.
<<Writing 336 faces with non-standard edge connectivity to set edgeFaces
<<Writing 74 cells with zero or one non-boundary face to set oneInternalFaceCells
<<Writing 14 cells with two non-boundary faces to set twoInternalFacesCells
*Number of regions: 75
The mesh has multiple regions which are not connected by any face.
<<Writing region information to "0/cellToRegion"
<<Writing region 0 (point connected) with 5976 cells to cellSet region0
<<Writing region 1 (point connected) with 1 cells to cellSet region1
<<Writing region 2 (point connected) with 1 cells to cellSet region2
<<Writing region 3 (point connected) with 1 cells to cellSet region3
<<Writing region 4 (point connected) with 1 cells to cellSet region4
<<Writing region 5 (point connected) with 1 cells to cellSet region5
<<Writing region 6 (point connected) with 1 cells to cellSet region6
<<Writing region 7 (point connected) with 1 cells to cellSet region7
<<Writing region 8 (point connected) with 1 cells to cellSet region8
<<Writing region 9 (point connected) with 1 cells to cellSet region9
<<Writing region 10 (point connected) with 1 cells to cellSet region10
<<Writing region 11 (point connected) with 1 cells to cellSet region11
<<Writing region 12 (point connected) with 1 cells to cellSet region12
<<Writing region 13 (point connected) with 1 cells to cellSet region13
<<Writing region 14 (point connected) with 1 cells to cellSet region14
<<Writing region 15 (point connected) with 1 cells to cellSet region15
<<Writing region 16 (point connected) with 1 cells to cellSet region16
<<Writing region 17 (point connected) with 1 cells to cellSet region17
<<Writing region 18 (point connected) with 1 cells to cellSet region18
<<Writing region 19 (point connected) with 1 cells to cellSet region19
<<Writing region 20 (point connected) with 1 cells to cellSet region20
<<Writing region 21 (point connected) with 1 cells to cellSet region21
<<Writing region 22 (point connected) with 1 cells to cellSet region22
<<Writing region 23 (point connected) with 1 cells to cellSet region23
<<Writing region 24 (point connected) with 1 cells to cellSet region24
<<Writing region 25 (point connected) with 1 cells to cellSet region25
<<Writing region 26 (point connected) with 1 cells to cellSet region26
<<Writing region 27 (point connected) with 1 cells to cellSet region27
<<Writing region 28 (point connected) with 1 cells to cellSet region28
<<Writing region 29 (point connected) with 1 cells to cellSet region29
<<Writing region 30 (point connected) with 1 cells to cellSet region30
<<Writing region 31 (point connected) with 1 cells to cellSet region31
<<Writing region 32 (point connected) with 1 cells to cellSet region32
<<Writing region 33 (point connected) with 1 cells to cellSet region33
<<Writing region 34 (point connected) with 1 cells to cellSet region34
<<Writing region 35 (point connected) with 1 cells to cellSet region35
<<Writing region 36 (point connected) with 1 cells to cellSet region36
<<Writing region 37 (point connected) with 1 cells to cellSet region37
<<Writing region 38 (point connected) with 1 cells to cellSet region38
<<Writing region 39 (point connected) with 1 cells to cellSet region39
<<Writing region 40 (point connected) with 1 cells to cellSet region40
<<Writing region 41 (point connected) with 1 cells to cellSet region41
<<Writing region 42 (point connected) with 1 cells to cellSet region42
<<Writing region 43 (point connected) with 1 cells to cellSet region43
<<Writing region 44 (point connected) with 1 cells to cellSet region44
<<Writing region 45 (point connected) with 1 cells to cellSet region45
<<Writing region 46 (point connected) with 1 cells to cellSet region46
<<Writing region 47 (point connected) with 1 cells to cellSet region47
<<Writing region 48 (point connected) with 1 cells to cellSet region48
<<Writing region 49 (point connected) with 1 cells to cellSet region49
<<Writing region 50 (point connected) with 1 cells to cellSet region50
<<Writing region 51 (point connected) with 1 cells to cellSet region51
<<Writing region 52 (point connected) with 1 cells to cellSet region52
<<Writing region 53 (point connected) with 1 cells to cellSet region53
<<Writing region 54 (point connected) with 1 cells to cellSet region54
<<Writing region 55 (point connected) with 1 cells to cellSet region55
<<Writing region 56 (point connected) with 1 cells to cellSet region56
<<Writing region 57 (point connected) with 1 cells to cellSet region57
<<Writing region 58 (point connected) with 1 cells to cellSet region58
<<Writing region 59 (point connected) with 1 cells to cellSet region59
<<Writing region 60 (point connected) with 1 cells to cellSet region60
<<Writing region 61 (point connected) with 1 cells to cellSet region61
<<Writing region 62 (point connected) with 1 cells to cellSet region62
<<Writing region 63 (point connected) with 1 cells to cellSet region63
<<Writing region 64 (point connected) with 1 cells to cellSet region64
<<Writing region 65 (point connected) with 1 cells to cellSet region65
<<Writing region 66 (point connected) with 1 cells to cellSet region66
<<Writing region 67 (point connected) with 1 cells to cellSet region67
<<Writing region 68 (point connected) with 1 cells to cellSet region68
<<Writing region 69 (point connected) with 1 cells to cellSet region69
<<Writing region 70 (point connected) with 1 cells to cellSet region70
<<Writing region 71 (point connected) with 1 cells to cellSet region71
<<Writing region 72 (point connected) with 1 cells to cellSet region72
<<Writing region 73 (point connected) with 1 cells to cellSet region73
<<Writing region 74 (point connected) with 1 cells to cellSet region74
<<Writing 190 points that are in multiple regions to set multiRegionPoints
Checking patch topology for multiply connected surfaces...
Patch Faces Points Surface topology Bounding box
thoraic_wall 110 222 ok (non-closed singly connected) (-0.072 0 0) (0.072 0 0.0001)
circumference 110 222 ok (non-closed singly connected) (-0.072 0 0) (0.072 0.072 0.0001)
defaultFaces 12100 12212 ok (non-closed singly connected) (-0.072 0 0) (0.072 0.072 0.0001)
baffleFaces_master 168 190 multiply connected (shared edge) (-0.005274956 0.02469587 0) (0.005274956 0.03534545 0.0001)
baffleFaces_slave 168 190 multiply connected (shared edge) (-0.005274956 0.02469587 0) (0.005274956 0.03534545 0.0001)
<<Writing 162 conflicting points to set nonManifoldPoints
Checking geometry...
Overall domain bounding box (-0.072 0 0) (0.072 0.072 0.0001)
Mesh has 2 geometric (non-empty/wedge) directions (1 1 0)
Mesh has 2 solution (non-empty) directions (1 1 0)
All edges aligned with or perpendicular to non-empty directions.
Boundary openness (-5.990301e-19 -4.457513e-19 -4.126497e-16) OK.
Max cell openness = 3.714356e-16 OK.
Max aspect ratio = 35.48007 OK.
Minimum face area = 3.695646e-09. Maximum face area = 2.632407e-06. Face area magnitudes OK.
Min volume = 2.375442e-12. Max volume = 2.632407e-10. Total volume = 7.950608e-07. Cell volumes OK.
Mesh non-orthogonality Max: 2.464961 average: 1.481004
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 0.333079 OK.
Coupled point location match (average 0) OK.
Face tets OK.
Min/max edge length = 3.695646e-05 0.002032627 OK.
All angles in faces OK.
Face flatness (1 = flat, 0 = butterfly) : min = 1 average = 1
All face flatness OK.
Cell determinant (wellposedness) : minimum: 0 average: 3.001984
***Cells with small determinant (< 0.001) found, number of cells: 74
<<Writing 74 under-determined cells to set underdeterminedCells
Concave cell check OK.
Face interpolation weight : minimum: 0.3749997 average: 0.4959417
Face interpolation weight check OK.
Face volume ratio : minimum: 0.3333317 average: 0.9628942
Face volume ratio check OK.
Failed 1 mesh checks.
End
|
Regards,
Sunag R A.
Last edited by sunagra27; April 10, 2020 at 05:40.
Reason: File attachement
|
|
|