Transform : symmetrize a configuration

Cassiopée tutorials


This tutorial demonstrates how to get a full configuration case from a symmetric case with respect to a plane, keeping solution, boundary conditions and connectivity.



Half cylinder.



Symmetrize half a cylinder case with respect to y=0 plane.


To get a full configuration from a symmetric case according to a plane x=a (resp. y=a, z=a), we first symmetrize the mesh using the function T.symetrize.
The generated blocks are generally ordered in an indirect way. To get this right, we use T.reorder. Finally, the BCSymmetryPlane boundary condition is removed and replaced by match boundary conditions using X.connectMatch.
As a result, a full configuration with solution and correct boundary conditions is obtained.

[Download python script].



Return to the tutorials page.