|
[Sponsors] |
Incorrect initial temperature during parallel operation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 2, 2021, 11:50 |
Incorrect initial temperature during parallel operation
|
#1 |
New Member
Join Date: Aug 2020
Posts: 7
Rep Power: 6 |
Hi foamers,
I programed a user defined solvor based on openfoam4.0, it can successfully run on single-core processors. But when I try to run it by parallel muti-core processors, the initial temperature became 0 K(it should be 270K). For some reasons, I cannot upload my tutorials and the source code of the solver. It is a multi-region tutorial. I separate solution domain by decomposeParDict. I run "decomposePar" to separate the whole domain and run "decomposePar -allRegions" to separate different regions. The decomposeParDict is /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // numberOfSubdomains 4; //numberOfSubdomains= nx*ny*nz preserveFaceZones (iFaces); method simple; simpleCoeffs { n (1 1 4); delta 0.001; } hierarchicalCoeffs { n (1 1 1); delta 0.001; order xyz; } metisCoeffs { processorWeights ( 1 1 ); } manualCoeffs { dataFile ""; } distributed no; roots ( ); // ************************************************** *********************** // Can anyone provide me with some solutions? Thank you very much! |
|
August 3, 2021, 06:37 |
error message
|
#2 |
New Member
Join Date: Aug 2020
Posts: 7
Rep Power: 6 |
The error message is as follows.The value of TcathodeFluid is true but the calue of TanodeFluid is wrong(it should be the same as the TcathodeFluid ).And in serial, it is true.
Starting time loop Time = 0.0001 TanodeFluid min mean max = 0 0 0 TcathodeFluid min mean max = 250.15 250.15 250.15 [0] [1] #[2] #0 [3] #0 0 Foam::error:rintStack(Foam::Ostream&)Foam::error :rintStack(Foam::Ostream&)Foam::error:rintStac k(Foam::Ostream&)#0 Foam::error:rintStack(Foam::Ostream&) at ??:? [0] #1 Foam::sigFpe::sigHandler(int) at ??:? [2] #1 Foam::sigFpe::sigHandler(int) at ??:? [1] #1 Foam::sigFpe::sigHandler(int) at ??:? [3] #1 Foam::sigFpe::sigHandler(int) at ??:? [0] #2 ? at ??:? [2] #2 ? at ??:? [1] #2 ? at ??:? [3] #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" in "/lib/x86_64-linux-gnu/libc.so.6" [2] #3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&)[1] #3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/lib/x86_64-linux-gnu/libc.so.6" [3] #3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/lib/x86_64-linux-gnu/libc.so.6" [0] #3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ??:? [1] #4 at ??:? [2] #4 at ??:? [3] #4 ? at ??:? [0] #4 ??? at /opt/openfoam4/src/OpenFOAM/lnInclude/tmpI.H:232 [2] #5 at /opt/openfoam4/src/OpenFOAM/lnInclude/tmpI.H:232 [1] #5 ?? at /opt/openfoam4/src/OpenFOAM/lnInclude/tmpI.H:232 [3] #5 ? at ~/OpenFOAM/tutorials/pemfccoldstartModel-4.0.0/pemfccoldstartSolver/applications/../src/physicalProperties/rhoFuel.H:21 (discriminator 35) [2] #6 __libc_start_main at /opt/openfoam4/src/OpenFOAM/lnInclude/tmpI.H:232 [0] #5 at ~/OpenFOAM/tutorials/pemfccoldstartModel-4.0.0/pemfccoldstartSolver/applications/../src/physicalProperties/rhoFuel.H:21 (discriminator 35) [1] #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" [2] #7 ?? in "/lib/x86_64-linux-gnu/libc.so.6" [1] #7 ? at ??:? [dyfluid:08651] *** Process received signal *** [dyfluid:08651] Signal: Floating point exception (8) [dyfluid:08651] Signal code: (-6) [dyfluid:08651] Failing at address: 0x3e8000021cb [dyfluid:08651] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x354a0)[0x7ff8abd0c4a0] [dyfluid:08651] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7ff8abd0c418] [dyfluid:08651] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x354a0)[0x7ff8abd0c4a0] [dyfluid:08651] [ 3] /opt/openfoam4/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam6divideERNS_5FieldIdEERKNS_ 5UListIdEES6_+0x125)[0x7ff8ad149135] [dyfluid:08651] [ 4] pemfccoldstartSolver[0x4db042] [dyfluid:08651] [ 5] pemfccoldstartSolver[0x4392e6] [dyfluid:08651] [ 6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7ff8abcf7830] [dyfluid:08651] [ 7] pemfccoldstartSolver[0x4722c9] [dyfluid:08651] *** End of error message *** at ??:? [dyfluid:08650] *** Process received signal *** [dyfluid:08650] Signal: Floating point exception (8) [dyfluid:08650] Signal code: (-6) [dyfluid:08650] Failing at address: 0x3e8000021ca [dyfluid:08650] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x354a0)[0x7fbac5f574a0] [dyfluid:08650] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7fbac5f57418] [dyfluid:08650] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x354a0)[0x7fbac5f574a0] [dyfluid:08650] [ 3] /opt/openfoam4/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam6divideERNS_5FieldIdEERKNS_ 5UListIdEES6_+0x125)[0x7fbac7394135] [dyfluid:08650] [ 4] pemfccoldstartSolver[0x4db042] [dyfluid:08650] [ 5] pemfccoldstartSolver[0x4392e6] [dyfluid:08650] [ 6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fbac5f42830] [dyfluid:08650] [ 7] pemfccoldstartSolver[0x4722c9] [dyfluid:08650] *** End of error message *** at ~/OpenFOAM/tutorials/pemfccoldstartModel-4.0.0/pemfccoldstartSolver/applications/../src/physicalProperties/rhoFuel.H:21 (discriminator 35) [3] #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" [3] #7 ? at ??:? [dyfluid:08652] *** Process received signal *** [dyfluid:08652] Signal: Floating point exception (8) [dyfluid:08652] Signal code: (-6) [dyfluid:08652] Failing at address: 0x3e8000021cc [dyfluid:08652] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x354a0)[0x7f8eec8ca4a0] [dyfluid:08652] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f8eec8ca418] [dyfluid:08652] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x354a0)[0x7f8eec8ca4a0] [dyfluid:08652] [ 3] /opt/openfoam4/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam6divideERNS_5FieldIdEERKNS_ 5UListIdEES6_+0x125)[0x7f8eedd07135] [dyfluid:08652] [ 4] pemfccoldstartSolver[0x4db042] [dyfluid:08652] [ 5] pemfccoldstartSolver[0x4392e6] [dyfluid:08652] [ 6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f8eec8b5830] [dyfluid:08652] [ 7] pemfccoldstartSolver[0x4722c9] [dyfluid:08652] *** End of error message *** at ~/OpenFOAM/tutorials/pemfccoldstartModel-4.0.0/pemfccoldstartSolver/applications/../src/physicalProperties/rhoFuel.H:21 (discriminator 35) [0] #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" [0] #7 ? at ??:? [dyfluid:08649] *** Process received signal *** [dyfluid:08649] Signal: Floating point exception (8) [dyfluid:08649] Signal code: (-6) [dyfluid:08649] Failing at address: 0x3e8000021c9 [dyfluid:08649] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x354a0)[0x7f0449efd4a0] [dyfluid:08649] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f0449efd418] [dyfluid:08649] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x354a0)[0x7f0449efd4a0] [dyfluid:08649] [ 3] /opt/openfoam4/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam6divideERNS_5FieldIdEERKNS_ 5UListIdEES6_+0x125)[0x7f044b33a135] [dyfluid:08649] [ 4] pemfccoldstartSolver[0x4db042] [dyfluid:08649] [ 5] pemfccoldstartSolver[0x4392e6] [dyfluid:08649] [ 6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f0449ee8830] [dyfluid:08649] [ 7] pemfccoldstartSolver[0x4722c9] [dyfluid:08649] *** End of error message *** -------------------------------------------------------------------------- mpirun noticed that process rank 2 with PID 8651 on node dyfluid exited on signal 8 (Floating point exception). -------------------------------------------------------------------------- |
|
Tags |
parallel |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Segmentation fault when using reactingFOAM for Fluids | Tommy Floessner | OpenFOAM Running, Solving & CFD | 4 | April 22, 2018 13:30 |
Cannot run the code properly: very large time step continuity error | crst15 | OpenFOAM Running, Solving & CFD | 9 | December 14, 2014 19:17 |
Unstabil Simulation with chtMultiRegionFoam | mbay101 | OpenFOAM Running, Solving & CFD | 13 | December 28, 2013 14:12 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 07:37 |