Sliding Mesh 不能进行并行计算
-
非常感谢您的回复。
Log如下:uqjqi@uqjqi:~/Desktop/work/18_09_2016_Stage$ mpirun -np 2 transonicMRFDyMFoam -parallel /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 3.0 | | \\ / A nd | Web: http://www.extend-project.de | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 3.0-7a7445ead09d Exec : transonicMRFDyMFoam -parallel Date : Sep 18 2016 Time : 15:39:52 Host : uqjqi PID : 16913 CtrlDict : /home/uqjqi/foam/foam-extend-3.0/etc/controlDict Case : /home/uqjqi/Desktop/work/18_09_2016_Stage nProcs : 2 Slaves : 1 ( uqjqi.16914 ) Pstream initialized with: floatTransfer : 0 nProcsSimpleSum : 0 commsType : blocking SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create dynamic mesh for time = 5.839112e-07 Selecting dynamicFvMesh turboFvMesh Initializing the GGI interpolator between master/shadow patches: OF_symmetry_00/OF_symmetry_03 Initializing the GGI interpolator between master/shadow patches: OF_symmetry_10/OF_symmetry_11 Turbomachine Mixer mesh: origin: (0 0 0) axis : (0 0 1) Reading thermophysical properties Selecting thermodynamics package hPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>> Allocating field rho Reading field U Reading/calculating face flux field phi Creating MRF model Creating turbulence model Selecting turbulence model type RASModel Selecting RAS turbulence model SpalartAllmaras SpalartAllmarasCoeffs { alphaNut 1.5; Cb1 0.1355; Cb2 0.622; Cw2 0.3; Cw3 2; Cv1 7.1; Cv2 5; sigmaNut 0.66666; kappa 0.41; Prt 1; } Create Riemann solver Allocating field rhoU Allocating field rhoE Allocating physDeltaT list for RK and Dual-Time Stepping Starting time loop [uqjqi:16913] *** Process received signal *** [uqjqi:16913] Signal: Floating point exception (8) [uqjqi:16913] Signal code: (-6) [uqjqi:16913] Failing at address: 0x3e800004211 [uqjqi:16913] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x354a0) [0x7f2fddcd84a0] [uqjqi:16913] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7f2fddcd8418] [uqjqi:16913] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x354a0) [0x7f2fddcd84a0] [uqjqi:16913] [ 3] /home/uqjqi/foam/foam-extend-3.0/lib/linux64GccDPOpt/libfoam.so(_ZN4Foam6divideERNS_5FieldIdEERKNS_5UListIdEES6_+0xe6) [0x7f2fdf297896] [uqjqi:16913] [ 4] /home/uqjqi/foam/foam-extend-3.0/lib/linux64GccDPOpt/libcompressibleRASModels.so(_ZN4Foam6divideINS_12fvPatchFieldENS_7volMeshEEEvRNS_14GeometricFieldIdT_T0_EERKS6_S9_+0xb7) [0x7f2fe2a32947] [uqjqi:16913] [ 5] /home/uqjqi/foam/uqjqi-3.0/lib/linux64GccDPOpt/libDensityBasedSolvers.so(+0x8e357) [0x7f2fdfd69357] [uqjqi:16913] [ 6] /home/uqjqi/foam/uqjqi-3.0/lib/linux64GccDPOpt/libDensityBasedSolvers.so(_ZN4Foam13localTimeStep6updateEdNS_6SwitchE+0x67d) [0x7f2fdfd6a62d] [uqjqi:16913] [ 7] transonicMRFDyMFoam() [0x429720] [uqjqi:16913] [ 8] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f2fddcc3830] [uqjqi:16913] [ 9] transonicMRFDyMFoam() [0x42ec69] [uqjqi:16913] *** End of error message *** -------------------------------------------------------------------------- mpirun noticed that process rank 0 with PID 16913 on node uqjqi exited on signal 8 (Floating point exception). --------------------------------------------------------------------------
-
感谢东岳大神回复。
transonicMRFDyMFoam我用它来计算一个叶轮的Stage,如果用rhoPimpleDymFoam的话,第二个solver是否支持MRF呢?如果不支持MRF我怕用DyM的时候,不用设定转子内流体本身的转动。
不知道在这种情况下rhoPimpleDyMFoam是否适用?如果在超算上运行,log 如下:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 3.0 | | \\ / A nd | Web: http://www.extend-project.de | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 3.0-7a7445ead09d Exec : transonicMRFDyMFoam -parallel Date : Sep 19 2016 Time : 10:03:26 Host : goliath.labs.eait.uq.edu.au PID : 140425 CtrlDict : /home/Staff/uqjqi/foam/foam-extend-3.0/etc/controlDict Case : /home/Staff/uqjqi/work/18_09_2016_Stage nProcs : 2 Slaves : 1 ( goliath.labs.eait.uq.edu.au.140426 ) Pstream initialized with: floatTransfer : 0 nProcsSimpleSum : 0 commsType : blocking SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create dynamic mesh for time = 7.386619e-06 Selecting dynamicFvMesh turboFvMesh Initializing the GGI interpolator between master/shadow patches: OF_symmetry_00/OF_symmetry_03 Initializing the GGI interpolator between master/shadow patches: OF_symmetry_10/OF_symmetry_11 Turbomachine Mixer mesh: origin: (0 0 0) axis : (0 0 1) Reading thermophysical properties Selecting thermodynamics package hPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>> Allocating field rho Reading field U Reading/calculating face flux field phi Creating MRF model Creating turbulence model Selecting turbulence model type RASModel Selecting RAS turbulence model SpalartAllmaras SpalartAllmarasCoeffs { alphaNut 1.5; Cb1 0.1355; Cb2 0.622; Cw2 0.3; Cw3 2; Cv1 7.1; Cv2 5; sigmaNut 0.66666; kappa 0.41; Prt 1; } Create Riemann solver Allocating field rhoU Allocating field rhoE Allocating physDeltaT list for RK and Dual-Time Stepping Starting time loop Moving Cell Zone Name: cellRegion1 rpm: -150600 Moving Cell Zone Name: cellRegion0 rpm: 0 Time = 7.386896e-06 [0] [0] [0] --> FOAM FATAL IO ERROR: [0] error in IOstream "IOstream" for operation operator>>(Istream&, List<T>&) : reading first token [0] [0] file: IOstream at line 0. [0] [0] From function IOstream::fatalCheck(const char*) const [0] in file db/IOstreams/IOstreams/IOstream.C at line 108. [0] FOAM parallel run exiting
曾经我的电脑也可以做出这个错误,后来就不知道怎么也做不出这个错误来了。
电脑安装的是Ubuntu 16.04系统。非常感谢!
Janry -
@ahujeffery
没有什么区别,ggi
是foam-extend
的名字,AMI
是OpenFOAM
的名字。