|
[Sponsors] |
chtMultiRegionFoam throws print stack Error on first iteration. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 23, 2023, 12:12 |
chtMultiRegionFoam throws print stack Error on first iteration.
|
#1 |
New Member
Punsa
Join Date: Sep 2020
Posts: 14
Rep Power: 6 |
Hello,
I am new to the OpenFOAM, and currently, I am performing a battery thermal analysis using the chtMultiRegionFoam. However, I am getting an error on the first iteration and not sure how to deal with that. Could anyone able to help me here? Here is the error I am getting with the OpenFOAM-2012. "" Create time Create fluid mesh for region MID_air for time = 0 *** Reading fluid mesh thermophysical properties for region MID_air Adding to thermoFluid Selecting thermodynamics package { type heRhoThermo; mixture pureMixture; transport const; thermo hConst; equationOfState perfectGas; specie specie; energy sensibleEnthalpy; } Adding to rhoFluid Adding to UFluid Adding to phiFluid Adding to hRefFluid Adding to ghFluid Adding to ghfFluid Adding to turbulenceFluid Selecting turbulence model type RAS Selecting RAS turbulence model kOmegaSST Selecting patchDistMethod meshWave RAS { RASModel kOmegaSST; turbulence on; printCoeffs on; alphaK1 0.85; alphaK2 1; alphaOmega1 0.5; alphaOmega2 0.856; gamma1 0.555556; gamma2 0.44; beta1 0.075; beta2 0.0828; betaStar 0.09; a1 0.31; b1 1; c1 10; F3 false; decayControl false; kInf 0; omegaInf 0; } Adding to reactionFluid Combustion model not active: combustionProperties not found Selecting combustion model none Adding to radiationFluid Radiation model not active: radiationProperties not found Selecting radiationModel none Adding to KFluid Adding to dpdtFluid Adding to fieldsFluid Adding to QdotFluid Adding MRF No MRF models present Adding fvOptions Creating finite volume options from "constant/fvOptions" Selecting finite volume options type limitTemperature Source: limitTemperature - selecting all cells - selected 261148 cell(s) with volume 0.00415102 Region: MID_air Courant Number mean: 0.303621 max: 54.3021 --> FOAM IOWarning : Found [v1612] 'functionObjectLibs' entry instead of 'libs' in dictionary "/home/p.patel/Run/Battery/OF4/system/controlDict.functions.residuals_fluid" This keyword is deemed to be 48 months old. --> FOAM Warning : Unknown function type residuals Valid function types : 26 ( BilgerMixtureFraction abort areaWrite coded ensightWrite parProfiling patchProbes probes psiReactionThermoMoleFractions psiSpecieReactionRates removeRegisteredObject rhoReactionThermoMoleFractions rhoSpecieReactionRates runTimeControl setTimeStep sets solverInfo surfaces syncObjects systemCall thermoCoupleProbes timeActivatedFileUpdate timeInfo vtkWrite writeDictionary writeObjects ) From static Foam::autoPtr<Foam::functionObject> Foam::functionObject::New(const Foam::word&, const Foam::Time&, const Foam::dictionary&) in file db/functionObjects/functionObject/functionObject.C at line 122. --> loading function object 'residuals_fluid' --> FOAM IOWarning : Found [v1612] 'functionObjectLibs' entry instead of 'libs' in dictionary "/controlDict.functions.residuals_solid" This keyword is deemed to be 48 months old. --> FOAM Warning : Unknown function type residuals Valid function types : 26 ( BilgerMixtureFraction abort areaWrite coded ensightWrite parProfiling patchProbes probes psiReactionThermoMoleFractions psiSpecieReactionRates removeRegisteredObject rhoReactionThermoMoleFractions rhoSpecieReactionRates runTimeControl setTimeStep sets solverInfo surfaces syncObjects systemCall thermoCoupleProbes timeActivatedFileUpdate timeInfo vtkWrite writeDictionary writeObjects ) From static Foam::autoPtr<Foam::functionObject> Foam::functionObject::New(const Foam::word&, const Foam::Time&, const Foam::dictionary&) in file db/functionObjects/functionObject/functionObject.C at line 122. --> loading function object 'residuals_solid' surfaceFieldValue Average_Outlet_Temperature: operation = weightedAreaAverage weight field = none Region: MID_air Courant Number mean: 0.303621 max: 54.3021 Time = 1 Solving for fluid region MID_air #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in /lib64/libpthread.so.0 #3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ??:? #4 Foam:perator/(Foam::UList<double> const&, Foam::UList<double> const&) at ??:? #5 Foam::diagonalSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:? #6 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:? #7 Foam::fvMatrix<double>::solveSegregatedOrCoupled(F oam::dictionary const&) at ??:? #8 Foam::fvMesh::solve(Foam::fvMatrix<double>&, Foam::dictionary const&) const at ??:? #9 Foam::fvMatrix<double>::solve() at ??:? #10 ? at ??:? #11 __libc_start_main in /lib64/libc.so.6 #12 ? at ??:? Floating point exception "" I tried to change the boundary conditions but still I am getting the same error. If anyone can provide a help to solve it then it will much appreciated. Thank You!! |
|
August 7, 2023, 19:43 |
|
#2 |
Member
Tatsuya Shimizu
Join Date: Jul 2012
Posts: 42
Rep Power: 14 |
Hello
How about commenting out the following in your system/controlDict functions? functions { //#includeFunc residuals_fluid; //#includeFunc residuals_solid; .... } In OpenFOAM-v2012, the functionObject "residuals" has been changed to "silverInfo".
__________________
Our Work: https://www.idaj.co.jp/product/ennovacfd/openfoam_gui/ Powered by Ennova : https://ennova-cfd.com/ Ennova's Channel Partners : http://www.wolfdynamics.com/ Last edited by LongGe; August 7, 2023 at 21:06. |
|
Tags |
battery modelling, chtmultiregionfoam, floating point exception, openfoam 2012 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to get Sutherland and JANAF coefficients of air? | immortality | OpenFOAM Running, Solving & CFD | 64 | October 18, 2022 11:17 |
Hardware-Configuration for Fluent HPC-Pack (8x) | JohHaas | Hardware | 9 | March 3, 2015 14:25 |
[blockMesh] Another cylinder question | bendel_boy | OpenFOAM Meshing & Mesh Conversion | 5 | January 6, 2015 06:09 |
Phase locked average in run time | panara | OpenFOAM | 2 | February 20, 2008 15:37 |
Parallel runs slower with MTU=9000 than MTU=1500 | Javier Larrondo | FLUENT | 0 | October 28, 2007 23:30 |