Difference between revisions of "ECPMixerGgiFvMesh2D"

From OpenFOAMWiki
(Post-processing the case)
Line 56: Line 56:
 
  ./Allclean
 
  ./Allclean
  
'''This deletes all the data that have been calculated from the post-processing, so be sure that you do not want to save anything from the previous calculation before cleaning up the post-processing'''
+
'''This deletes all the data that have been calculated from the post-processing, so be sure that you do not want to save anything from the previous calculation before cleaning up the post-processing.'''

Revision as of 14:46, 18 June 2010

Back to the previous page


1 Mesh setup

The mesh was generated with ICEM-HEXA and exported in the Fluent mesh format. The mesh is generated in two parts: impeller and diffuser, which can be seen in Figure 1.

Ercoftac pump.png

Figure 1: rotor mesh (in blue) and stator mesh (in red)

This 2D mesh has 93886 hexahedra cells.

To learn more about doing a 2D simulation, see HowTo: 2D simulations


2 Running the case

This case is computed using the GGI interface between the impeller and the diffuser.

Follow these steps to run the case from scratch:

First make sure that you have the following installed:

  • A recent revision of OpenFOAM-1.5-dev
  • libOpenFOAMTurbo.so (needed for the inlet boundary condition)
  • the solver turbDyMFoam compiled
  • The boundary condition turboWallFixedValue compiled
  • libsimpleFunctionObjects.so (or comment out the trackDictionaryContent function from ECPMixerGgiFvMesh2D/system/controlDict)
  • libsampling.so (or comment out the ggiCheck function from ECPMixerGgiFvMesh2D/system/controlDict)
cd $FOAM_RUN/ercoftacCentrifugalPump/cases/MRFSimpleFoam/ECPMixerGgiFvMesh2D

The method of parallel computing should be used in this case, the first step is to decompose the domain using the decomposePar utility as following:

decomposePar >& log_decomposePar&

After the decomposePar finished, the parallel running in this case comes as following:

mpirun -np 16 turbDyMFoam -parallel >& log_turbDyMFoam&

After this case has been run in parallel, it can be reconstructed performed by the reconstructPar utility as the following command:

reconstructPar >& log_reconstructPar&

3 Post-processing the case

The post-processing is automatized, and can be executed by doing:

cd $FOAM_RUN/ercoftacCentrifugalPump/cases/MRFSimpleFoam/ECPMixerGgiFvMesh2D/postProcessing
./Allrun >& log_Allrun&

Likewise, if needed, the post-processing can be cleaned up by doing

 cd $FOAM_RUN/ercoftacCentrifugalPump/cases/MRFSimpleFoam/ECPMixerGgiFvMesh2D/postProcessing
./Allclean

This deletes all the data that have been calculated from the post-processing, so be sure that you do not want to save anything from the previous calculation before cleaning up the post-processing.