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

Wedge Patch '*' is not planer and error when pimpleFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By wouter

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2016, 02:24
Default Wedge Patch '*' is not planer and error when pimpleFoam
  #1
New Member
 
Woo Hyeon Cho
Join Date: Jun 2016
Posts: 7
Rep Power: 10
jwh107 is on a distinguished road
Hello, recently I see the duct fan tutorials in youtube https://youtu.be/qTYAr8jgViM

I found it is very interesting and I want to use the same setting with tutorials but different mesh and geometry

I used terminal command gmsh to create mesh and gmshToFoam to convert it into openFoam format.

When I was doing gmshToFoam. I faced the first error. I attached txt file(Error when gmshToFoam.txt) that is copy of error text
Error when gmshToFoam.txt

But I think it is a minor problem so, I continue anyway.

I modify boundary file in my case and execute createBaffles command.

I faced long error. I attached this error.(Error when createBaffles.txt)
Error when createBaffles.txt

http://www.cfd-online.com/Forums/ope...ot-planar.html

I search about this kind of error and I think those error messages are not very serious. I think I can ignore and proceed to computation.

So, I execute pimpleFoam command anyway. At first my terminal showed long error message just like the one that when I execute createBaffles command.

But it run about a few seconds and crashed.
Error when pimpleFoam.txt

I don't know how to fix this error

The original tutorial case file link is below

https://github.com/lordvon/OpenFOAM_...ster/DuctedFan

This is my whole case file.

https://drive.google.com/file/d/0B2L...ew?usp=sharing

I really need your help and I really appreciate your help.

Thank you

Ps. I am using Gmsh 12.12.0, openFoam 4.0 and ubuntu 14.04 LTS
jwh107 is offline   Reply With Quote

Old   August 8, 2016, 09:30
Default
  #2
New Member
 
Woo Hyeon Cho
Join Date: Jun 2016
Posts: 7
Rep Power: 10
jwh107 is on a distinguished road
I did some mesh check with checkMesh command.

I think the mesh was a problem.

But, I don't think it is the only one.

Anyway, I will keep trying.

Thank You!
Quote:
--> FOAM Warning :
From function virtual void Foam::wedgePolyPatch::calcGeometry(Foam::PstreamBu ffers&)
in file meshes/polyMesh/polyPatches/constraint/wedge/wedgePolyPatch.C at line 69
Wedge patch 'wedge1' is not planar.
At local face at (14.3435 -1646.04 0.626253) the normal (-0.0436194 -3.09103e-17 0.999048) differs from the average normal (-0.0436195 -4.45833e-08 0.999048) by 2.40193e-14
Either correct the patch or split it into planar parts
--> FOAM Warning :
From function virtual void Foam::wedgePolyPatch::calcGeometry(Foam::PstreamBu ffers&)
in file meshes/polyMesh/polyPatches/constraint/wedge/wedgePolyPatch.C at line 69
Wedge patch 'wedge1' is not planar.
At local face at (10.6613 -277.657 0.465485) the normal (-0.0436194 -1.58485e-17 0.999048) differs from the average normal (-0.0436195 -4.45833e-08 0.999048) by 2.40193e-14
Either correct the patch or split it into planar parts
--> FOAM Warning :
From function virtual void Foam::wedgePolyPatch::calcGeometry(Foam::PstreamBu ffers&)
in file meshes/polyMesh/polyPatches/constraint/wedge/wedgePolyPatch.C at line 69
Wedge patch 'wedge1' is not planar.
At local face at (2.34513 -243.263 0.102391) the normal (-0.0436194 -1.28862e-17 0.999048) differs from the average normal (-0.0436195 -4.45833e-08 0.999048) by 2.40193e-14
Either correct the patch or split it into planar parts
--> FOAM Warning :
From function virtual void Foam::wedgePolyPatch::calcGeometry(Foam::PstreamBu ffers&)
in file meshes/polyMesh/polyPatches/constraint/wedge/wedgePolyPatch.C at line 69
Wedge patch 'wedge1' is not planar.
At local face at (7.14033 -271.508 0.311754) the normal (-0.0436194 -5.09843e-18 0.999048) differs from the average normal (-0.0436195 -4.45833e-08 0.999048) by 2.40193e-14
Either correct the patch or split it into planar parts
--> FOAM Warning :
From function virtual void Foam::wedgePolyPatch::calcGeometry(Foam::PstreamBu ffers&)
in file meshes/polyMesh/polyPatches/constraint/wedge/wedgePolyPatch.C at line 69
Wedge patch 'wedge1' is not planar.
At local face at (4.05214 -268.027 0.17692) the normal (-0.0436194 -1.11552e-17 0.999048) differs from the average normal (-0.0436195 -4.45833e-08 0.999048) by 2.40193e-14
Either correct the patch or split it into planar parts
Time = 0

Mesh stats
points: 24833
internal points: 0
faces: 85570
internal faces: 36272
cells: 24388
faces per cell: 4.99598
boundary patches: 8
point zones: 0
face zones: 2
cell zones: 1

Overall number of cells of each type:
hexahedra: 0
prisms: 24165
wedges: 0
pyramids: 124
tet wedges: 0
tetrahedra: 98
polyhedra: 1
Breakdown of polyhedra by number of faces:
faces number of cells
5 1

Checking topology...
Boundary definition OK.
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
wedge0 24388 12466 ok (non-closed singly connected)
baffle 38 77 ok (non-closed singly connected)
baffleother 38 77 ok (non-closed singly connected)
inlet 49 99 ok (non-closed singly connected)
outlet 49 99 ok (non-closed singly connected)
wedge1 24388 12466 ok (non-closed singly connected)
tunnel 49 100 ok (non-closed singly connected)
duct 299 598 ok (non-closed singly connected)

Checking geometry...
Overall domain bounding box (0 -2000 -87.2388) (1998.1 1500 87.2388)
Mesh has 2 geometric (non-empty/wedge) directions (1 1 0)
Mesh has 3 solution (non-empty) directions (1 1 1)
Wedge wedge0 with angle 2.49995 degrees
***Wedge patch wedge0 not planar. Point (0 679.463 0) is not in patch plane by 7.54793e-05 metre.
***Boundary openness (-6.441e-06 -1.91846e-06 -3.06122e-15) possible hole in boundary description.
***Open cells found, max cell openness: 1, number of open cells 1
<<Writing 1 non closed cells to set nonClosedCells
Minimum face area = 6.29552e-14. Maximum face area = 15955.1. Face area magnitudes OK.
Min volume = 1.08266e-12. Max volume = 470392. Total volume = 6.09304e+08. Cell volumes OK.
Mesh non-orthogonality Max: 68.7577 average: 7.51407
Non-orthogonality check OK.
***Error in face pyramids: 3 faces are incorrectly oriented.
<<Writing 3 faces with incorrect orientation to set wrongOrientedFaces
Max skewness = 1.55177 OK.
Coupled point location match (average 0) OK.

Failed 4 mesh checks.

End
jwh107 is offline   Reply With Quote

Old   August 9, 2016, 17:23
Default
  #3
Senior Member
 
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18
wouter is on a distinguished road
hello jwh107
I had simular problems and I could solve it by changing in controlDict the default writePrecision of 6 to 10 or higher.
hope this helps
Wouter
AMRBlack, jwh107 and RajNPatil like this.
wouter is offline   Reply With Quote

Old   August 11, 2016, 00:17
Default
  #4
New Member
 
Woo Hyeon Cho
Join Date: Jun 2016
Posts: 7
Rep Power: 10
jwh107 is on a distinguished road
Thanks for the reply.
The thing you told me is one of the way to solve that proplem.
I tried variety of solution as many as I can find on the internet.
Now, it worked and I don't have to saw that error again.
It is some kind of giving helpful information to everybody.
I will post variety of solution that I found on the internet.
When I have some free time to spare and get things orgarnized.

Thanks again.
jwh107 is offline   Reply With Quote

Reply

Tags
createbaffles, gmshtofoam problem, openfoam 4.0, wedge


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



All times are GMT -4. The time now is 13:16.