Completing Model

When the meshes are finished, the test case directory is created:

 cd $WM_PROJECT_USER_DIR/run
 mkdir -p turbomachinery-CFD/as1/
 cd turbomachinery-CFD/as1/
 cp -r $WM_PROJECT_INST_DIR/Turbomachinery-CFD-XX.XX/
/tutorials/as1/*     ./

Remove existing meshes:

 rm -rf constant/rotor/polyMesh/ constant/solid/polyMesh/ constant/stator/polyMesh/

Copy new meshes:

 cp -r ../meshFactory/as1/rotor/constant/polyMesh/ constant/rotor/polyMesh
 cp -r ../meshFactory/as1/stator/constant/polyMesh/ constant/stator/polyMesh
 cp -r ../meshFactory/as1/solid/constant/polyMesh/ constant/solid/polyMesh

Check new meshes:

 checkMesh -region rotor
 checkMesh -region stator
 checkMesh -region solid

Create .OpenFOAM files and view the complete model (view rotor region first, then open remaining model regions by ctrl+o):

 paraFoam -touchAll
 paraFoam -region rotor &

 

Figure: Axial stage – complete model view.

Figure: Axial stage – stator-rotor mixing plane.