ECPMixerGgiFvMesh2D

From OpenFOAMWiki
Revision as of 15:22, 18 June 2010 by Shashax (Talk | contribs)

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.

4 Results

In the following sections some typical results are presented. Note that the case is of type 'frozen rotor', which means that the equations are solved in multiple frames of reference, that the impeller blades and diffuser blades are fixed with respect or each other, and that the results are steady.

4.1 General results

Movie showing unsteady results: Media:2D_U_p.gif

U color new.jpg

Figure 2: Velocity magnitude of the MRFSimpleFoam/ECPMixerGgiFvMesh2D test case

P color new.jpg

Figure 3: Static pressure of the MRFSimpleFoam/ECPMixerGgiFvMesh2D test case