CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

chtMultiRegionFoam throws print stack Error on first iteration.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2023, 11:12
Exclamation chtMultiRegionFoam throws print stack Error on first iteration.
  #1
New Member
 
Punsa
Join Date: Sep 2020
Posts: 14
Rep Power: 5
Patelp1996 is on a distinguished road
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!!
Patelp1996 is offline   Reply With Quote

Old   August 7, 2023, 18:43
Default
  #2
Member
 
Tatsuya Shimizu
Join Date: Jul 2012
Posts: 42
Rep Power: 13
LongGe is on a distinguished road
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 20:06.
LongGe is offline   Reply With Quote

Reply

Tags
battery modelling, chtmultiregionfoam, floating point exception, openfoam 2012


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 10:17
Hardware-Configuration for Fluent HPC-Pack (8x) JohHaas Hardware 9 March 3, 2015 13:25
[blockMesh] Another cylinder question bendel_boy OpenFOAM Meshing & Mesh Conversion 5 January 6, 2015 05:09
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 14:37
Parallel runs slower with MTU=9000 than MTU=1500 Javier Larrondo FLUENT 0 October 28, 2007 22:30


All times are GMT -4. The time now is 17:00.