2 2

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

Completing the 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/c1/
1 3 cd turbomachinery-CFD/c1/
1 3 cp -r $WM_PROJECT_INST_DIR/Turbomachinery-CFD-XX.XX/
/tutorials/c1/*     ./

Remove existing meshes:

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

Copy new meshes:

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

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 &

viewc1All

Figure: Complete model view