|
[Sponsors] |
November 9, 2011, 07:31 |
GGI in Parallel error
|
#1 |
Member
任芸
Join Date: Jun 2009
Posts: 75
Rep Power: 17 |
hi, foamers,
I am simulating the pump inner flow with MRFSimpleFOAM (OpenFOAM-1.5-dev) on my PC successfully. Currently, I am experiencing some difficulties with parallelising my own GGI case on the HPC with MRFSimpleFOAM (OpenFOAM-1.5-dev),and I need your help. As far as I was aware the GGI should work in parallel as long as the setBatch in system are defined before using the decomposePar utility. I put the following instructions in setBatchDict: faceSet interfacesuc_zone new patchToFace interfacesuc faceSet interfaceimp1_zone new patchToFace interfaceimp1 faceSet interfacevol1_zone new patchToFace interfacevol1 faceSet interfaceckyc_zone new patchToFace interfaceckyc quit where, my boundary are: wall { type wall; nFaces 88020; startFace 2294747; } wallhgb { type wall; nFaces 28584; startFace 2382767; } wallqgb { type wall; nFaces 28448; startFace 2411351; } interafcevol1 { type ggi; shadowPatch interfaceckyc; bridgeOverlap false; zone interfacevol1_zone; nFaces 1446; startFace 2439799; } interfacevol { type ggi; shadowPatch interfaceimp; bridgeOverlap false; zone interfacevol_zone; nFaces 22196; startFace 2441245; } interfacesuc { type ggi; shadowPatch interfaceimp1; bridgeOverlap false; zone interfacesuc_zone; nFaces 2368; startFace 2463441; } interfaceimp1 { type ggi; shadowPatch interfacesuc; bridgeOverlap false; zone interfaceimp1_zone; nFaces 1120; startFace 2465809; } interfaceimp { type ggi; shadowPatch interfacevol; bridgeOverlap false; zone interfaceimp_zone; nFaces 8680; startFace 2466929; } interfaceckyc { type ggi; shadowPatch interafcevol1; bridgeOverlap false; zone interfaceckyc_zone; nFaces 748; startFace 2475609; } wallimp4 { type wall; nFaces 2226; startFace 2476357; } wallimp3 { type wall; nFaces 2238; startFace 2478583; } wallimp2 { type wall; nFaces 2226; startFace 2480821; } wallimp1 { type wall; nFaces 2262; startFace 2483047; } outlet { type patch; nFaces 748; startFace 2485309; } inlet { type patch; nFaces 3468; startFace 2486057; } ) and then, I using the following commands: setSet -batch setBatch there is a error on the screen: Create timeCreate polyMesh for time = 0Time:0 cells:1196068 faces:2489525 points:249609 patches:15 Reading commands from file "setBatch" Cannot open file "setBatch" From function setSet in file setSet.C at line 749.FOAM exiting Does anyone know the reasons for this? regards, Yun Ren Jiangsu University, China |
|
November 9, 2011, 22:56 |
|
#2 |
Member
任芸
Join Date: Jun 2009
Posts: 75
Rep Power: 17 |
I have solved this problem by moving the setBatch file in the case folder from system folder. After typing:
setSet -batch setBatch setsToZones -noFlipMap I can see 4 more new faceZones in constant/polyMesh/sets was created, which are interfacesuc_zone,interfaceimp1_zone,interfacevol1 _zone,interfaceckyc_zone Further, my system/decomposeParDict contains the following: numberOfSubdomains 4; method simple; simpleCoeffs { n (2 2 1); delta 0.001; } globalFaceZones(interfacesuc_zone interfaceimp1_zone interfacevol1_zone interfaceckyc_zone); hierarchicalCoeffs { n (1 1 1); delta 0.001; order xyz; } metisCoeffs { processorWeights ( 1 1 1 1 ); } manualCoeffs { dataFile ""; } distributed no; roots ( ); //************************************************** *********************** // then , processor0,processor1,processor2,processor3 were presented in my case folder. Until now, I think everything runs OK. However, when I run this case in parallel by typing: mpirun -np 4 MRFSimpleFoam -parallel there is an error, here are: see the attachment I don't know if there is another codes i should add into my case,does anyone help me? appreciate, Yun Ren Jiangsu University, China Last edited by renyun0511; April 20, 2013 at 05:11. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
nonNewtonian viscosity model | mhassani | OpenFOAM Programming & Development | 5 | January 7, 2013 10:27 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 07:42 |
attach/detach (valve opening/closing) | phsieh2005 | OpenFOAM Running, Solving & CFD | 2 | March 21, 2009 06:18 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |