ENH: Updated AMI tutorial case

This commit is contained in:
andy
2011-09-08 16:05:50 +01:00
parent b4c0893361
commit 7b431d720f
2 changed files with 181 additions and 141 deletions

View File

@ -728,9 +728,12 @@ edges
arc R7t R0t evert(4, 7, Zt)
);
patches
boundary
(
wall rotor
rotor
{
type wall;
faces
(
quad2D(r0, r1)
quad2D(r1, r2s)
@ -752,9 +755,13 @@ patches
quad2D(r6, rb6)
quad2D(r6s, rb6)
)
);
}
wall stator
stator
{
type wall;
faces
(
quad2D(R0, R1s)
quad2D(R1, R2)
@ -776,10 +783,22 @@ patches
quad2D(R7, Rb7)
quad2D(R7s, Rb7)
)
);
}
// cyclicAMI AMI1
patch AMI1
AMI1
{
type cyclicAMI;
neighbourPatch AMI2;
transform noOrdering;
surface
{
type searchableCylinder; // none
point1 (0 0 -1);
point2 (0 0 1);
radius 0.5;
}
faces
(
quad2D(ri1, ri0)
quad2D(ri2, ri1)
@ -789,10 +808,22 @@ patches
quad2D(ri6, ri5)
quad2D(ri7, ri6)
quad2D(ri0, ri7)
)
);
}
// cyclicAMI AMI2
patch AMI2
AMI2
{
type cyclicAMI;
neighbourPatch AMI1;
transform noOrdering;
surface
{
type searchableCylinder; // none
point1 (0 0 -1);
point2 (0 0 1);
radius 0.5;
}
faces
(
quad2D(ris1, ris0)
quad2D(ris2, ris1)
@ -802,9 +833,13 @@ patches
quad2D(ris6, ris5)
quad2D(ris7, ris6)
quad2D(ris0, ris7)
)
);
}
empty front
front
{
type empty;
faces
(
frontQuad(r0, r1, rb1, rb0)
frontQuad(r1, r2s, rb2, rb1)
@ -838,9 +873,13 @@ patches
frontQuad(Rb5, Rb6, R6, R5)
frontQuad(Rb6, Rb7, R7s, R6)
frontQuad(Rb7, Rb0, R0, R7)
)
);
}
empty back
back
{
type empty;
faces
(
backQuad(r0, r1, rb1, rb0)
backQuad(r1, r2s, rb2, rb1)
@ -874,7 +913,8 @@ patches
backQuad(Rb5, Rb6, R6, R5)
backQuad(Rb6, Rb7, R7s, R6)
backQuad(Rb7, Rb0, R0, R7)
)
);
}
);
// ************************************************************************* //

View File

@ -39,7 +39,7 @@ FoamFile
transform noOrdering;
surface
{
type searchableCylinder; // none
type searchableCylinder;
point1 ( 0 0 -1 );
point2 ( 0 0 1 );
radius 0.5;
@ -55,7 +55,7 @@ FoamFile
transform noOrdering;
surface
{
type searchableCylinder; // none
type searchableCylinder;
point1 ( 0 0 -1 );
point2 ( 0 0 1 );
radius 0.5;