View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000351OpenFOAM[All Projects] Bugpublic2011-12-07 14:122011-12-23 11:42
Reportersu_junwei 
Assigned Tomattijs 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version2.0.x 
Target VersionFixed in Version2.1.x 
Summary0000351: Different meaning of maxNonOrtho in snappyhexmesh
DescriptionIn motionSmoother, the maxNonOrtho is represented by angle, however, in meshRefinement::markFacesOnProblemCells, it is represented by is cos(angle).
In snappyHexMeshDict, the maxNonOrtho is given by angle (65 for instance)

in meshRefinementProblemCells.C:537
 
 maxNonOrtho = readScalar(motionDict.lookup("maxNonOrtho"));
should be changed to
 maxNonOrtho = cos(pi*readScalar(motionDict.lookup("maxNonOrtho")/180);

am I correct?
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000868)
mattijs (manager)
2011-12-23 11:42

You are fully right. Fixed in 21x in 011caf1b910bb77ca05402ff52497c13e1b67f4e

Thanks for spotting this.

- Issue History
Date Modified Username Field Change
2011-12-07 14:12 su_junwei New Issue
2011-12-23 11:42 mattijs Note Added: 0000868
2011-12-23 11:42 mattijs Status new => resolved
2011-12-23 11:42 mattijs Fixed in Version => 2.1.x
2011-12-23 11:42 mattijs Resolution open => fixed
2011-12-23 11:42 mattijs Assigned To => mattijs