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

CheckMesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 8, 2008, 12:36
Default (1) if we change blockMeshDict
  #1
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 9
maka is on a distinguished road
(1) if we change blockMeshDict to: (see the end of the message)
(2) run blockMesh and then checkMesh
(3) we get from checkMesh:
Mesh non-orthogonality Max: 45 average: 36.4151
(4) I expected :
Mesh non-orthogonality Max: 45 average: (2/3)*45=30.
since 1/3 of the mesh hax non-othogonality=0 (faces normal to z directions).

--------------------------
convertToMeters 0.1;

vertices
(
(0 0 0)
(1 0 0)
(2 1 0)
(1 1 0)
(0 0 1)
(1 0 1)
(2 1 1)
(1 1 1)
);

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

...
maka is offline   Reply With Quote

Old   August 8, 2008, 12:37
Default case: cavity; V 1.3;
  #2
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 9
maka is on a distinguished road
case: cavity; V 1.3;
maka is offline   Reply With Quote

Old   August 11, 2008, 05:13
Default You are right - to avoid the e
  #3
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
You are right - to avoid the expensive acos we determine the average in-product, not angle, and only when output convert it into an angle. See primitiveMeshCheck.C::checkFaceOrthogonality.
mattijs is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CheckMesh error after fluent3DToFoam luca_phi OpenFOAM Mesh Utilities 0 September 17, 2008 03:41
Segmentation fault when using checkMesh skabilan OpenFOAM Pre-Processing 4 June 5, 2008 17:15
Warning from checkMesh is this serious hsieh OpenFOAM Running, Solving & CFD 8 January 22, 2008 23:12
CheckMesh for mesh quality gdbaldw OpenFOAM Meshing & Mesh Conversion 2 October 18, 2007 00:11
CheckMesh in OF 13 dev 01_05_2007 fra76 OpenFOAM Running, Solving & CFD 5 June 14, 2007 14:16


All times are GMT -4. The time now is 03:54.