2 2

Next: Model setting without an Up: Alternative formulation Previous: Alternative formulation   Contents   Index

Completing Model

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

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

Remove existing meshes:

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

Copy new meshes:

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

Check new meshes:

1 3 checkMesh -region rotor
1 3 checkMesh -region stator
1 3 checkMesh -region solid

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

1 3 paraFoam -touchAll
1 3 paraFoam -region rotor &

 
viewas1All

Figure: Axial stage – complete model view.

Figure: Axial stage – stator-rotor mixing plane.