View Issue Details

IDProjectCategoryView StatusLast Update
0000351OpenFOAMBugpublic2011-12-23 11:42
Reporteruser38Assigned Touser4 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
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.

Activities

user4

2011-12-23 11:42

  ~0000868

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 user38 New Issue
2011-12-23 11:42 user4 Note Added: 0000868
2011-12-23 11:42 user4 Status new => resolved
2011-12-23 11:42 user4 Fixed in Version => 2.1.x
2011-12-23 11:42 user4 Resolution open => fixed
2011-12-23 11:42 user4 Assigned To => user4