View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003436 | OpenFOAM | Bug | public | 2020-01-24 14:17 | 2020-11-21 20:01 |
Reporter | shadowfax | Assigned To | henry | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Platform | Linux | OS | Ubuntu | OS Version | 19.10 |
Product Version | dev | ||||
Summary | 0003436: buoyantPimpleFoam: hotRoom tutorial crash | ||||
Description | Hello, Running hotRoom tutorial with buoyantPimpleFoam solver results in Foam::error::printStack(Foam::Ostream&) error. The problem seems to be related to setField utility as the temperature field is modified incorrectly. The bousinesq version of this tutorial runs but the result is wrong due the incorrect setField modification. This has been tested on clean compile OpenFOAM-dev: commit f550db1a5f9a6bd348207d29679eed23bf80c785 (HEAD -> master, origin/master, origin/HEAD) Author: Will Bainbridge <http://cfd.direct> Date: Tue Jan 21 15:44:57 2020 +0000 Scotch: Upgrade to 6.0.9 This is to resolve a bug in the ptscotch rebalancing of the LES motorBike mesh when running with the new coupled patch ordering | ||||
Steps To Reproduce | 1- Navigate to the hotRoom tutorial case directory. 2- Run the case using the provided Allrun script. | ||||
Tags | No tags attached. | ||||
|
log.buoyantPimpleFoam (2,582 bytes)
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: dev \\/ M anipulation | \*---------------------------------------------------------------------------*/ Build : dev-f550db1a5f9a Exec : buoyantPimpleFoam Date : Jan 24 2020 Time : 17:38:34 Host : "Rivendell" PID : 29350 I/O : uncollated Case : /home/shadowfax/OpenFOAM/shadowfax-dev/run/tutorials/heatTransfer/buoyantPimpleFoam/hotRoom nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 PIMPLE: No convergence criteria found PIMPLE: Operating solver in transient mode with 1 outer corrector PIMPLE: Operating solver in PISO mode Reading thermophysical properties Selecting thermodynamics package { type heRhoThermo; mixture pureMixture; transport const; thermo hConst; equationOfState perfectGas; specie specie; energy sensibleEnthalpy; } #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::heRhoThermo<Foam::rhoThermo, Foam::pureMixture<Foam::constTransport<Foam::species::thermo<Foam::hConstThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > >::calculate() at ??:? #4 Foam::rhoThermo::addfvMeshConstructorToTable<Foam::heRhoThermo<Foam::rhoThermo, Foam::pureMixture<Foam::constTransport<Foam::species::thermo<Foam::hConstThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > > >::New(Foam::fvMesh const&, Foam::word const&) at ??:? #5 Foam::autoPtr<Foam::rhoThermo> Foam::basicThermo::New<Foam::rhoThermo>(Foam::fvMesh const&, Foam::word const&) at ??:? #6 Foam::rhoThermo::New(Foam::fvMesh const&, Foam::word const&) at ??:? #7 ? in "/home/shadowfax/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt64Opt/bin/buoyantPimpleFoam" #8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #9 ? in "/home/shadowfax/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt64Opt/bin/buoyantPimpleFoam" Floating point exception (core dumped) log.setFields (1,306 bytes)
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: dev \\/ M anipulation | \*---------------------------------------------------------------------------*/ Build : dev-f550db1a5f9a Exec : setFields Date : Jan 24 2020 Time : 17:38:34 Host : "Rivendell" PID : 29349 I/O : uncollated Case : /home/shadowfax/OpenFOAM/shadowfax-dev/run/tutorials/heatTransfer/buoyantPimpleFoam/hotRoom nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading setFieldsDict Setting field default values Setting internal values of volScalarField T Setting field region values Adding faces with centre within boxes 1((4.5 -1000 4.5) (5.5 1e-05 5.5)) Setting patchField values of volScalarField T On patch floor set 4 values End T (2,678 bytes)
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: dev \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField uniform 300; boundaryField { floor { type fixedValue; value nonuniform List<scalar> 400 ( 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 1.4822e-323 1.4822e-323 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 1.4822e-323 1.4822e-323 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 300 ) ; } ceiling { type fixedValue; value uniform 300; } fixedWalls { type zeroGradient; } } // ************************************************************************* // |
|
We are unable to reproduce this problem on either of the OSs we use: OpenSuSE or Ubuntu with any version of gcc we support or Clang. Maybe you have old versions of your own or other libraries which ldd is loading. |
|
Well I'm currently using Ubuntu 19.10 with gcc-9, can you confirm whether this configuration is supported or not? The same issue happens with OpenFOAM.com version compiled with gcc-8. Both versions are clean compiled to avoid any conflict. Would you please provide the gcc version that you are currently using on your system? Also I have attached the build log. log.make (13,000 bytes)
Compiling enabled on 4 cores Allwmake /home/shadowfax/OpenFOAM/OpenFOAM-dev make: Nothing to be done for 'all'. ======================================== Start ThirdParty Allwmake ======================================== ======================================== Build MPI libraries if required ======================================== Build Scotch decomposition library scotch_6.0.9 /home/shadowfax/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt64/scotch_6.0.9 scotch header in /home/shadowfax/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt64/scotch_6.0.9/include scotch libs in /home/shadowfax/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt64/lib ======================================== Build PTScotch decomposition library scotch_6.0.9 (uses MPI) /home/shadowfax/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt64/scotch_6.0.9 ptscotch header in /home/shadowfax/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt64/scotch_6.0.9/include/openmpi-system ptscotch libs in /home/shadowfax/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt64/lib/openmpi-system ======================================== Build Metis decomposition metis header in /home/shadowfax/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt64/metis-5.1.0/include metis libs in /home/shadowfax/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt64/lib ======================================== Build CGAL using system CGAL ======================================== Done ThirdParty Allwmake ======================================== Allwmake src same version as previous build Allwmake src/Pstream wmake dummy wmake mpi Allwmake libo src/OSspecific/POSIX found <sys/inotify.h> -- enabling inotify for file monitoring. wmake libo . wmake OpenFOAM wmake fileFormats wmake surfMesh wmake triSurface wmake meshTools Allwmake src/dummyThirdParty wmake scotchDecomp wmake ptscotchDecomp wmake metisDecomp wmake MGridGen wmake finiteVolume wmake lagrangian/basic wmake lagrangian/distributionModels wmake genericPatchFields wmake mesh/extrudeModel wmake dynamicMesh wmake dynamicFvMesh wmake topoChangerFvMesh wmake conversion wmake sampling Allwmake src/parallel Allwmake src/parallel/decompose using SCOTCH_ARCH_PATH=/home/shadowfax/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt64/scotch_6.0.9 wmake scotchDecomp wmake ptscotchDecomp wmake ptscotchDecomp Allwmake src/parallel/decompose/metisDecomp using METIS_ARCH_PATH=/home/shadowfax/OpenFOAM/ThirdParty-dev/platforms/linux64GccDPInt64/metis-5.1.0 wmake decompositionMethods wmake decompose Allwmake src/parallel/reconstruct wmake reconstruct wmake distributed wmake ODE wmake randomProcesses Allwmake src/transportModels wmake twoPhaseMixture wmake interfaceProperties wmake twoPhaseProperties wmake incompressible wmake compressible wmake immiscibleIncompressibleTwoPhaseMixture Allwmake src/thermophysicalModels wmake specie wmake thermophysicalProperties wmake basic wmake reactionThermo wmake laminarFlameSpeed wmake chemistryModel wmake barotropicCompressibilityModel wmake SLGThermo wmake solidThermo Allwmake src/TurbulenceModels wmake turbulenceModels wmake incompressible wmake compressible wmake radiationModels wmake combustionModels Allwmake src/regionModels wmake regionModel wmake surfaceFilmModels wmake surfaceFilmModels/derivedFvPatchFields/wallFunctions wmake thermalBaffleModels Allwmake src/lagrangian wmake distributionModels wmake basic wmake solidParticle wmake intermediate wmake turbulence wmake spray wmake DSMC wmake coalCombustion Allwmake src/lagrangian/molecularDynamics wmake potential wmake molecularMeasurements wmake molecule Allwmake src/mesh wmake snappyHexMesh wmake blockMesh wmake extrudeModel Allwmake src/renumber skipping zoltanRenumber wmake renumberMethods Allwmake src/fvAgglomerationMethods wmake pairPatchAgglomeration wmake fvMotionSolver wmake engine wmake fvOptions Allwmake src/functionObjects wmake field wmake forces wmake lagrangian wmake utilities wmake solvers wmake sixDoFRigidBodyMotion wmake sixDoFRigidBodyState wmake rigidBodyDynamics wmake rigidBodyMeshMotion wmake rigidBodyState wmake specieTransfer wmake atmosphericModels wmake waves Allwmake applications wmake solvers wmake basic wmake combustion wmake compressible wmake discreteMethods wmake chemFoam wmake dsmc wmake laplacianFoam wmake rhoCentralFoam Allwmake applications/solvers/compressible/rhoCentralFoam wmake dsmcFoam wmake BCs wmake potentialFoam wmake coldEngineFoam wmake molecularDynamics wmake mdEquilibrationFoam wmake scalarTransportFoam wmake fireFoam wmake mdFoam wmake rhoPimpleFoam wmake DNS wmake PDRFoam wmake dnsFoam wmake laminarFlameSpeed wmake reactingFoam wmake SCOPE wmake PDRModels wmake rhoReactingBuoyantFoam wmake dragModels wmake rhoSimpleFoam wmake basic wmake rhoPorousSimpleFoam wmake PDRDragModel wmake turbulence wmake PDRkEpsilon wmake XiEqModels wmake basicXiSubXiEq wmake XiGModels wmake basicXiSubG wmake XiModels wmake algebraic wmake fixed wmake transport wmake XiFoam wmake XiEqModels wmake XiEngineFoam wmake Gulder wmake rhoReactingFoam wmake instabilityXiEq wmake SCOPEBlendXiEq wmake SCOPEXiEq wmake XiEqModel wmake XiGModels wmake instabilityG wmake KTS wmake XiGModel wmake XiModel wmake electromagnetics wmake electrostaticFoam wmake financial wmake financialFoam wmake heatTransfer wmake buoyantPimpleFoam wmake buoyantSimpleFoam wmake magneticFoam wmake mhdFoam wmake chtMultiRegionFoam wmake incompressible wmake fluid wmake include wmake adjointShapeOptimizationFoam wmake solid wmake adjointOutletPressure wmake adjointOutletVelocity wmake thermoFoam wmake boundaryFoam wmake icoFoam wmake lagrangian wmake multiphase wmake coalChemistryFoam wmake cavitatingFoam wmake DPMFoam Allwmake applications/solvers/lagrangian/DPMFoam wmake DPMTurbulenceModels wmake nonNewtonianIcoFoam wmake compressibleInterFoam wmake compressibleMultiphaseInterFoam Allwmake applications/solvers/multiphase/compressibleInterFoam Allwmake applications/solvers/multiphase/compressibleMultiphaseInterFoam wmake twoPhaseMixtureThermo wmake multiphaseMixtureThermo wmake pimpleFoam wmake SRFPimpleFoam wmake surfaceTensionModels wmake MPPICFoam wmake pisoFoam wmake VoFphaseCompressibleTurbulenceModels wmake driftFluxFoam Allwmake applications/solvers/multiphase/driftFluxFoam wmake mixtureViscosityModels wmake icoUncoupledKinematicParcelFoam wmake shallowWaterFoam wmake reactingParcelFoam wmake simpleReactingParcelFoam wmake relativeVelocityModels wmake simpleFoam wmake porousSimpleFoam wmake compressibleInterFilmFoam wmake SRFSimpleFoam wmake sprayFoam wmake engineFoam wmake uncoupledKinematicParcelFoam wmake interFoam wmake interMixingFoam wmake immiscibleIncompressibleThreePhaseMixture wmake incompressibleThreePhaseMixture wmake threePhaseInterfaceProperties wmake interPhaseChangeFoam Allwmake applications/solvers/multiphase/interPhaseChangeFoam wmake phaseChangeTwoPhaseMixtures wmake multiphaseEulerFoam Allwmake applications/solvers/multiphase/multiphaseEulerFoam wmake multiphaseSystem wmake multiphaseInterFoam Allwmake applications/solvers/multiphase/multiphaseInterFoam wmake multiphaseMixture wmake stressAnalysis wmake interfacialModels wmake solidDisplacementFoam Allwmake applications/solvers/stressAnalysis/solidDisplacementFoam wmake solidDisplacementThermo wmake potentialFreeSurfaceFoam wmake reactingEulerFoam Allwmake applications/solvers/multiphase/reactingEulerFoam wmake phaseSystems wmake twoLiquidMixingFoam wmake solidEquilibriumDisplacementFoam wmake twoPhaseEulerFoam Allwmake applications/solvers/multiphase/twoPhaseEulerFoam wmake twoPhaseSystem wmake VoF wmake interfacialModels wmake interfacialModels wmake interfacialCompositionModels wmake phaseCompressibleTurbulenceModels wmake derivedFvPatchFields Allwmake applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam wmake twoPhaseSystem wmake twoPhaseCompressibleTurbulenceModels Allwmake applications/solvers/multiphase/reactingEulerFoam/reactingMultiphaseEulerFoam wmake multiphaseSystem wmake multiphaseCompressibleTurbulenceModels wmake functionObjects wmake utilities wmake mesh wmake miscellaneous wmake parallelProcessing wmake postProcessing wmake decomposePar wmake advanced wmake foamDictionary wmake dataConversion wmake autoRefineMesh wmake foamDataToFluent wmake foamFormatConvert wmake reconstructPar wmake collapseEdges wmake foamToEnsight wmake foamListTimes wmake combinePatchFaces wmake reconstructParMesh wmake foamToEnsightParts wmake patchSummary wmake modifyMesh wmake redistributePar wmake foamToGMV wmake foamToTecplot360 Allwmake applications/utilities/postProcessing/dataConversion/foamToTecplot360 wmake graphics wmake PDRMesh wmake ensightFoamReader Allwmake applications/utilities/postProcessing/graphics/ensightFoamReader wmake PVReaders Allwmake applications/utilities/postProcessing/graphics/PVReaders wmake vtkPVblockMesh wmake foamToTetDualMesh wmake refineHexMesh wmake foamToVTK Allwmake applications/utilities/postProcessing/dataConversion/foamToVTK wmake foamToVTK wmake smapToFoam wmake vtkPVFoam wmake refinementLevel wmake preProcessing wmake applyBoundaryLayer wmake refineWallLayer wmake boxTurb wmake changeDictionary -- Configuring done wmake removeFaces -- Generating done -- Build files have been written to: /home/shadowfax/OpenFOAM/OpenFOAM-dev/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/Make/linux64GccDPInt64Opt [ 9%] Built target PVblockMeshReader_SMHierarchy wmake createExternalCoupledPatchGeometry wmake surface wmake surfaceAdd [100%] Built target PVblockMeshReader_SM wmake selectCells wmake dsmcInitialise wmake surfaceAutoPatch -- Configuring done wmake splitCells -- Generating done -- Build files have been written to: /home/shadowfax/OpenFOAM/OpenFOAM-dev/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/Make/linux64GccDPInt64Opt [ 9%] Built target PVFoamReader_SMHierarchy wmake engineSwirl wmake surfaceBooleanFeatures wmake conversion wmake ansysToFoam [100%] Built target PVFoamReader_SM wmake lagrangian wmake particleTracks wmake surfaceCheck wmake faceAgglomerate wmake cfx4ToFoam wmake steadyParticleTracks wmake surfaceClean wmake foamSetupCHT wmake datToFoam wmake miscellaneous wmake engineCompRatio wmake foamUpgradeCyclics wmake surfaceCoarsen wmake bunnylod wmake fluent3DMeshToFoam wmake pdfPlot wmake mapFields wmake surfaceConvert wmake fluentMeshToFoam wmake postChannel wmake surfaceFeatureConvert wmake mapFieldsPar wmake foamMeshToFluent wmake temporalInterpolate wmake surfaceFeatures wmake mdInitialise wmake foamToStarMesh wmake noise wmake surfaceFind wmake setFields wmake foamToSurface wmake postProcess wmake surfaceHookUp wmake setWaves wmake gambitToFoam wmake gmshToFoam wmake gmsh wmake surfaceInertia wmake viewFactorsGen wmake generation Allwmake applications/utilities/mesh/generation wmake blockMesh wmake ideasUnvToFoam wmake unv wmake surfaceLambdaMuSmooth wmake wallFunctionTable Allwmake applications/utilities/preProcessing/wallFunctionTable wmake tabulatedWallFunction wmake extrude wmake extrudeMesh wmake extrudedMesh wmake kivaToFoam wmake surfaceMeshConvert wmake extrudeToRegionMesh wmake mshToFoam wmake testFiles wmake surfaceMeshConvertTesting wmake extrude2DMesh Allwmake applications/utilities/mesh/generation/extrude2DMesh wmake extrude2DMesh wmake netgenNeutralToFoam wmake manipulation wmake attachMesh wmake surfaceMeshExport wmake plot3dToFoam wmake autoPatch wmake surfaceMeshImport wmake sammToFoam wmake checkMesh wmake snappyHexMesh wmake surfaceMeshInfo wmake star3ToFoam Allwmake applications/utilities/mesh/generation/foamyMesh wmake createBaffles wmake conformalVoronoiMesh wmake surfaceMeshTriangulate wmake faceSelection wmake star4ToFoam wmake surfaceOrient wmake createPatch wmake tetgenToFoam wmake conformalVoronoi2DMesh wmake surfacePointMerge wmake deformedGeom wmake vtkUnstructuredToFoam wmake surfaceRedistributePar wmake foamyQuadMesh wmake flattenMesh wmake writeMeshObj wmake surfaceRefineRedGreen wmake insideCells wmake foamyHexMesh wmake surfaceSplitByPatch wmake surfaceSplitByTopology wmake mergeMeshes wmake surfaceSplitNonManifolds wmake test wmake surfaceSubset wmake thermophysical wmake adiabaticFlameT wmake mergeOrSplitBaffles wmake surfaceToPatch wmake chemkinToFoam wmake chemkinReader wmake surfaceTransformPoints wmake mirrorMesh wmake moveDynamicMesh wmake equilibriumCO wmake equilibriumFlameT wmake mixtureAdiabaticFlameT wmake moveEngineMesh wmake moveMesh wmake objToVTK wmake orientFaceZone wmake polyDualMesh wmake refineMesh wmake renumberMesh Allwmake applications/utilities/mesh/manipulation/renumberMesh wmake rotateMesh wmake setSet Allwmake applications/utilities/mesh/manipulation/setSet found <readline/readline.h> -- enabling readline support. wmake setsToZones wmake singleCellMesh wmake splitMesh wmake splitMeshRegions wmake stitchMesh wmake subsetMesh wmake topoSet wmake transformPoints wmake zipUpMesh |
|
> Well I'm currently using Ubuntu 19.10 with gcc-9, can you confirm whether this configuration is supported or not? Yes > Would you please provide the gcc version that you are currently using on your system? Generally I am using the system compiler on OpenSuSE Tumbleweed which is currently gcc-9.1.1 but also test with gcc-4.8.5 gcc-4.9.4 gcc-5.5.0 gcc-6.1.0 gcc-6.5.0 gcc-7.2.0 gcc-7.3.0 gcc-7.4.0 gcc-8.1.0 gcc-8.2.0 which I compile from sources. I also test clang-7.0.1 and icpc-19.0.4 |
|
In order to clean compile with gcc-7, I completely removed my OpenFOAM-dev local repository. Unfortunately, the problem is still there after recompiling the source. Further investigating the issue, I can say that there is no problem with buoyantPimpleFoam solver. In fact, setField utility writes wrong values instead of the provided value defined by setFieldDict. In this case, It writes 1.4822e-323 instead of 600 for the temperature field and this cause floating point exception. Manually replacing all the occurrence of 1.4822e-323 with 600 and the solver runs just fine. Also tried running the damBreak case with interFoam and while the case runs normally, for some reasons my text editor can not open the 0/alpha file after setField modification. It just crash... I have tried both cases with OpenFOAM-2.4.0 and foam-extend-4.1 and there is no problem. |
|
sorry for the typo in my last note, I meant recompiling with gcc-8. Now I have tried with gcc-7 and the problem is fixed. The problem occurs when compiling with gcc-8 or gcc-9. |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-01-24 14:17 | shadowfax | New Issue | |
2020-01-24 14:17 | shadowfax | File Added: log.buoyantPimpleFoam | |
2020-01-24 14:17 | shadowfax | File Added: log.setFields | |
2020-01-24 14:17 | shadowfax | File Added: T | |
2020-01-24 17:35 | henry | Note Added: 0011106 | |
2020-01-24 18:10 | shadowfax | File Added: log.make | |
2020-01-24 18:10 | shadowfax | Note Added: 0011107 | |
2020-01-24 19:26 | henry | Note Added: 0011108 | |
2020-01-24 21:23 | shadowfax | Note Added: 0011109 | |
2020-01-24 23:02 | shadowfax | Note Added: 0011110 | |
2020-11-21 20:01 | henry | Assigned To | => henry |
2020-11-21 20:01 | henry | Status | new => closed |
2020-11-21 20:01 | henry | Resolution | open => unable to reproduce |