안녕하세요. 6월 사용자교육에 참석했던 현종우입니다.
제가 수중글라이더 강제운동에 관심이 있어서 홈페이지에 있는 예제파일을 돌려보았습니다.
처음 RA 예제를 할 때 버전이 안맞아서 약간의 수정이 필요하다는 조언을 들었습니다.
RA의 경우에는 문제 없이 계산이 완료되었고 결과도 pdf에 제시된 것과 같게 나왔습니다.
PMM 예제도 수정이 필요했었습니다. 아래는 수정한 내용입니다.
변경내용===================================================================
1. 0/epsilon,k,p,U,phi,nut : torpedo(or new_torpedo) -> new_new_torpedo
2. fvScheme : dev -> dev2
3. controlDict : rhoname -> rho
4. turbulence Properties : RASModel -> RAS, 하단에 RAS 정보 입력
5. decomposeParDict : simple -> scotch
===========================================================================
위와 같이 바꾸고 decomposePar 후 'pyFoamPlotRunner.py mpirun -np 4 pimpleDyMFoam -parallel'로 실행을 하였는데
1초까지 계산을 수행한 후 에러 메세지가 나왔습니다. 내용은 아래와 같습니다.
에러내용====================================================================================================
[0]
[2]
[2]
[2] --> FOAM FATAL IO ERROR:
[2] wrong token type - expected Scalar, found on line 0 the word 'nan'
[2]
[2] file: /home/hyeon/OpenFOAM/hyeon-4.1/run/Pmm/processor2/system/data.solverPerformance.p at line 0.
[3]
[3]
[3] --> FOAM FATAL IO ERROR:
[3] wrong token type - expected Scalar, found on line 0 the word 'nan'
[3]
[3] file: /home/hyeon/OpenFOAM/hyeon-4.1/run/Pmm/processor3/system/data.solverPerformance.p at line 0.
[3]
[3] From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&)
[3] in file lnInclude/Scalar.C at line 93[1]
[1]
[1] --> FOAM FATAL IO ERROR:
[1] wrong token type - expected Scalar, found on line 0 the word 'nan'
[1]
[1] file: /home/hyeon/OpenFOAM/hyeon-4.1/run/Pmm/processor1/system/data.solverPerformance.p at line 0.
[1]
[1] From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&)
[1] in file lnInclude/Scalar.C at line 93.
[1]
FOAM parallel run exiting
[1]
[0]
[0] --> FOAM FATAL IO ERROR:
[0] wrong token type - expected Scalar, found on line 0 the word 'nan'
[0]
[0] file: /home/hyeon/OpenFOAM/hyeon-4.1/run/Pmm/processor0/system/data.solverPerformance.p at line 0.
[0]
[0] From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&)
[0] in file lnInclude/Scalar.C at line 93.
[0]
FOAM parallel run exiting
[0]
[2]
[2] From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&)
[2] in file lnInclude/Scalar.C at line 93.
[2]
FOAM parallel run exiting
[2]
.
[3]
FOAM parallel run exiting
[3]
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 2 in communicator MPI_COMM_WORLD
with errorcode 1.
NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
[hyeon-desktop:31464] 3 more processes have sent help message help-mpi-api.txt / mpi-abort
[hyeon-desktop:31464] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
Killing PID 31463
PyFoam WARNING on line 271 of file /usr/local/lib/python2.7/dist-packages/PyFoam-0.6.6-py2.7.egg/PyFoam/Execution/FoamThread.py : Process 31463 was already dead
Getting LinuxMem: [Errno 2] No such file or directory: '/proc/31463/status'
==========================================================================================================
병렬계산에 문제가 있나싶어 그냥 pimpleDyMFoam으로 돌려보았는데도 동일한 에러가 나왔습니다.
에러내용==================================================================================================
--> FOAM FATAL IO ERROR:
wrong token type - expected Scalar, found on line 9 the word 'nan'
file: /home/hyeon/OpenFOAM/hyeon-4.1/run/Pmm/system/data.solverPerformance.p at line 9.
From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&)
in file lnInclude/Scalar.C at line 93.
FOAM exiting
==========================================================================================================
위에 제시된 경로에는 data라는 파일이 없었습니다. 어떻게 문제를 파악하고 해결해야 할지 몰라서 여쭤보려고 합니다.
다른 곳에서 더 바꿔야 하는게 있는지요....
|