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

chtMultiRegionSimpleFoam min/max rho 0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 7, 2024, 12:22
Default chtMultiRegionSimpleFoam min/max rho 0
  #1
New Member
 
Francisco Gómez
Join Date: Aug 2024
Posts: 2
Rep Power: 0
frangf is on a distinguished road
Hi everyone.

I'm starting to use Openfoam and I have some doubts with an error I got.

I'm simulating a simple heat transfer problem involving a simple heat sink and air. I started the problem using the cpuCabinet tutorial files, and I did the geometry and mesh using Salome.

The error I got shows a min rho value of 0. I am using the perfect gas equation of state for air, so I tried using rhoConst equation of state to solve the 0 rho value. When I tried this, I got other error that the temperature was negative.

I already tried to limit the temperature, but I don't if it didn't work or I didn't place this limit in the correct folder (fvOptions, but which directory?).

This is the error for min rho = 0 value:

Code:
Time = 1


Solving for fluid region fluid
DILUPBiCGStab:  Solving for Ux, Initial residual = 1, Final residual = 0.042796894, No Iterations 1
DILUPBiCGStab:  Solving for Uy, Initial residual = 1, Final residual = 0.038868498, No Iterations 1
DILUPBiCGStab:  Solving for Uz, Initial residual = 1, Final residual = 0.028137352, No Iterations 1

Solving energy coupled regions
Creating lduPrimitiveAssembly: lduAssembly3
DILUPBiCGStab:  Solving for h, Initial residual = 0.99893615, Final residual = 0.027460353, No Iterations 2
FDICPBiCGStab:  Solving for p_rgh, Initial residual = 0.56125707, Final residual = 0.0053949441, No Iterations 29
time step continuity errors : sum local = 0.41127749, global = -0.013829449, cumulative = -0.013829449
Min/max rho:0 3.8594714
[stack trace]
=============
#1  Foam::sigFpe::sigHandler(int) in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
#2  ? in /lib/x86_64-linux-gnu/libc.so.6
#3  Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
#4  Foam::compressibleTurbulenceModel::phi() const in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libcompressibleTurbulenceModels.so
#5  ? in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libcompressibleTurbulenceModels.so
#6  ? in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/bin/chtMultiRegionSimpleFoam
#7  ? in /lib/x86_64-linux-gnu/libc.so.6
#8  __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
#9  ? in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/bin/chtMultiRegionSimpleFoam
=============
Floating point exception
I think it is related to the boundary conditions, but I'm not sure which one.

I hope somebody can give me a hand on this problem.

https://drive.google.com/drive/folde...usp=drive_link
frangf is offline   Reply With Quote

Reply

Tags
#heattransfer #error


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
rho and rhoFinal in fvSolution and others NewKid OpenFOAM Running, Solving & CFD 3 July 15, 2019 09:36
rSF: p divergence in combustor (wt negative value) zonda OpenFOAM Pre-Processing 4 April 10, 2018 06:59
chtMultiRegionFoam- too slow sandymech1 OpenFOAM Running, Solving & CFD 4 November 20, 2017 18:51
Unstabil Simulation with chtMultiRegionFoam mbay101 OpenFOAM Running, Solving & CFD 13 December 28, 2013 13:12
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 03:34


All times are GMT -4. The time now is 15:16.