View Issue Details

IDProjectCategoryView StatusLast Update
0000091OpenFOAMBugpublic2014-04-22 15:13
Reporterdhora Assigned Touser4 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSOtherOS Version(please specify)
Summary0000091: 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:

PERIODIC
{
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.

Relationships

has duplicate 0000092 resolveduser4 Wrong wall distance in conjunction with cyclic patches 

Activities

dhora

2010-11-26 10:05

reporter   ~0000142

Couldn't upload case due to APPLICATION ERROR #401 ???

user4

2010-11-26 14:40

  ~0000143

We were just updating the Mantis site so that might have caused your upload problem. We'll check.

Can repeat your problem with the transformations. Need to check all before pushing a fix.

user4

2010-12-01 10:56

  ~0000148

I've pushed a fix to 17x (9d7fa9f3e0d8972ad0c5d31190d939a4556503b4).

We hadn't noticed this bug since usually testing with symmetric geometries.

Many thanks,

Mattijs

user4

2014-04-22 15:13

  ~0003021

Fixed in 1.7.x.

Re-open if still a problem.

Issue History

Date Modified Username Field Change
2010-11-25 16:22 dhora New Issue
2010-11-26 10:05 dhora Note Added: 0000142
2010-11-26 14:40 user4 Note Added: 0000143
2010-12-01 10:56 user4 Note Added: 0000148
2010-12-08 12:49 user4 Relationship added has duplicate 0000092
2010-12-16 10:14 user2 Status new => closed
2010-12-16 10:14 user2 Assigned To => user4
2010-12-16 10:14 user2 Resolution open => fixed
2014-04-22 15:13 user4 Note Added: 0003021
2014-04-22 15:13 user4 Status closed => resolved
2014-04-22 15:13 user4 Fixed in Version => Other