onera / Cassiopee

CFD pre- and post-processing python modules
https://onera.github.io/Cassiopee/
GNU Lesser General Public License v3.0
19 stars 12 forks source link

Potential bug in test case Apps/IBMrotation_t1 #123

Closed vincentcasseau closed 1 month ago

vincentcasseau commented 2 months ago

Hello,

EDIT: After commit 50a3154 (see #88), the following regression occurs

The dimension of the Base nodes CARTESIAN_NEARBODY and CARTESIAN_OFFBODY differ in i4 and i8. The case dimension is set to be dimPb = 2. In i4, I get: [3, 3] In i8, I get: [2, 3]

It may have something to do with the function Generator.IBM.generateIBMMeshPara.

Thanks, Vincent

antjost commented 1 month ago

Hello, You are right. It is in Generator.IBM.generateIBMMeshPara around line 825 (see below). The T._addkplane(t) changes the dimensions of the zones and base from [2,3] to [3,3] in i4. Will discuss with @benoit128 to see if he has an idea of what could be the root cause of this unexpected behavior between the different compîling options.

image

vincentcasseau commented 1 month ago

After review, the new results are the correct ones and the ref has been updated.