View Issue Details

IDProjectCategoryView StatusLast Update
0000092OpenFOAMBugpublic2011-07-28 15:39
Reporterdhora Assigned Touser4 
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version10.04
Summary0000092: Wrong wall distance in conjunction with cyclic patches
DescriptionThe wall distance is sometimes not calculated correctly when cyclic patches are present in OpenFOAM 1.7.x (and 1.5-dev). I will describe it for 1.5-dev as the definable rotationaAngle in 1.5-dev could help to find the root of the problem.

I could reproduce this problem on several similar meshes but unfortunately not with a simple mesh generated with blockMesh. The geometry is the inlet section (straight pipe) of a case with rotational periodicity, in this case 360°/7. I converted the mesh with fluentMeshToFoam from a fluent mesh file. It doesn't help to use fluent3DMeshTofoam. checkMesh doesn't report any problem. The settings of the cyclic patch are:

type cyclic;
nFaces 3120;
startFace 236890;
featureCos 0.9;
transform rotational;
rotationCentre (0 0 0);
rotationAxis (0 0 1);
rotationAngle -51.42857;

This setup gives a "correct" Urel, k, omega and pressure but the wall distance is wrong. OpenFOAM-1.7.x, 1.6.x and 1.5-dev produce the same results.

If the rotationAngle is changed to 51.42857, the simulation does not converge due to the wrong transformation of the velocity vectors at the cyclic patches. The big surprise is that the wall distance seems to be correct in this case.
Steps To ReproduceCalculate wall distance with yPlusRAS for the attached case.
TagsNo tags attached.


duplicate of 0000091 resolveduser4 Wrong wall distance in conjunction with cyclic patches 



2011-07-28 15:39


Fixed in 1.7.x 9d7fa9f3e0d8972ad0c5d31190d939a4556503b4

Issue History

Date Modified Username Field Change
2010-11-25 16:23 dhora New Issue
2010-12-08 12:49 user4 Relationship added duplicate of 0000091
2011-01-04 11:25 user2 Assigned To => user4
2011-01-04 11:25 user2 Status new => assigned
2011-07-28 15:39 user2 Note Added: 0000597
2011-07-28 15:39 user2 Status assigned => resolved
2011-07-28 15:39 user2 Resolution open => fixed