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

[Other] Mesh created using Matlab

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 2, 2016, 20:55
Default Mesh created using Matlab
  #1
Member
 
Zhifang Hu
Join Date: Sep 2015
Location: Brisbane
Posts: 54
Rep Power: 11
ce73stargazer is on a distinguished road
Hi there

I wrote some matlab codes to help me creating mesh for OpenFOAM, however, it does not work very well at this point. I am wondering if anyone could give me some suggestions based the errors showed on checkMesh.log (see below)

Quote:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.1 |
| \\ / A nd | Web: http://www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 3.1-1dd681f6e943
Exec : checkMesh
Date : Jun 01 2016
Time : 11:35:51
Host : ubuntu14.04
PID : 8716
CtrlDict : /home/zhifang/foam/foam-extend-3.1/etc/controlDict
Case : /home/zhifang/OpenFoamTests/FoamExtendTests/OLAFoam/baseWaveFlume
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

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

Create polyMesh for time = 0


From function void polyMesh::initMesh()
in file meshes/polyMesh/polyMeshInitMesh.C at line 81
Truncating neighbour list at 7 for backward compatibility
Time = 0

Mesh stats
all points: 24
live points: 24
all faces: 29
live faces: 29
internal faces: 7
cells: 6
boundary patches: 6
point zones: 0
face zones: 0
cell zones: 0

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

Checking topology...
Boundary definition 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 Area [m^2] Surface topology
front 6 12 20 ok (non-closed singly connected)
back 6 12 20 ok (non-closed singly connected)
inlet 3 8 0.3 ok (non-closed singly connected)
beach 3 8 0.3 ok (non-closed singly connected)
atmosphere 2 6 0.06 ok (non-closed singly connected)
bottom 2 6 0.06 ok (non-closed singly connected)

Checking geometry...
This is a 2-D mesh
Overall domain bounding box (0 -0.015 -5) (2 0.015 5)
Mesh (non-empty, non-wedge) directions (1 0 1)
Mesh (non-empty) directions (1 0 1)
Mesh (non-empty, non-wedge) dimensions 2
All edges aligned with or perpendicular to non-empty directions.
Boundary openness (0 0 0) Threshold = 1e-06 OK.
***High aspect ratio cells found, Max aspect ratio: 1.72667e+10, number of cells 6 Threshold = 1000
Writing 6 cells with high aspect ratio to set highAspectRatioCells
Minumum face area = 0.03. Maximum face area = 5. Face area magnitudes OK.
***Zero or negative cell volume detected. Minimum negative volume: -0.15, Number of negative volume cells: 6
Writing 6 zero volume cells to set zeroVolumeCells
Mesh non-orthogonality Max: 180 average: 180 Threshold = 70
***Number of non-orthogonality errors: 7.
Writing 7 non-orthogonal faces to set nonOrthoFaces
***Error in face pyramids: 36 faces are incorrectly oriented.
Writing 29 faces with incorrect orientation to set wrongOrientedFaces
Max skewness = 3.33429e-14 OK.

Failed 4 mesh checks.

End

Last edited by ce73stargazer; June 3, 2016 at 01:44.
ce73stargazer 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
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
[ICEM] Problem making structural mesh on a surface froztbear ANSYS Meshing & Geometry 1 November 10, 2011 09:52
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 19:10


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