|
[Sponsors] | |||||
CHT-natural convection, floating point error in first time step |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
Colin
Join Date: Nov 2022
Posts: 4
Rep Power: 4 ![]() |
Hi all,
OF newbie here. This is not my first case, but most of my previous OF sims were external aerodynamics, not CHT, and there aren't that many ![]() I've been trying to simulate the heat dissipation from a custom heatsink for a set of radio amplifiers. At first I was using a forced convection setup, but was having sigfpe problems during the first time step, so I decided to make a simpler case with just the heatsink and amps sitting in a cubic meter of air to see if I could isolate the problem to my air inflow/outflow conditions. It didn't work. Now my natural convection case solves most of one time step, then throws a sigfpe while running the isothermalFluid::correctBuoyantPressure() function...the stacktrace looks like division by zero occurs in "operator/<Foam::fvsPatchField, Foam::surfaceMesh>(). I have no idea what that means, or what part of my setup is causing it. I wondered if maybe it was a zero area/face patch, but I can't find any. I've tinkered around with boundary and initial conditions, and fvSchemes and Solution for the "air" region, mostly trying to match the CHT and then the HotRoom tutorials. I've also adjusted the mesh resolution/refinement a few times. Those got my to solving most of the first time step ![]() Any help would be greatly apprciated ![]() I'm attaching the output from foamMultiRun and here is a Dropbox link to the tar.gz of my case (it was too big to attach). --------------------------- PS: I've tried searching the forum, the internet, and looking at the manual. Nothing I've seen so far seemed related, but if I just missed it, please point me in the right direction. Thanks! Last edited by renegade_eng; April 29, 2025 at 17:32. Reason: Grammar and adding more history of attempted solutions |
|
|
|
|
|
|
|
|
#2 |
|
New Member
Colin
Join Date: Nov 2022
Posts: 4
Rep Power: 4 ![]() |
Hi FOAMers,
I found the issue. For some reason (seems likely because this is a compressible case), setting the initial value of p_rgh to 0 caused the division by zero FPE. Seems pretty obvious now
|
|
|
|
|
|
![]() |
| Tags |
| cht problem, chtmulitregionfoam, openfoam 12 |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Convergence problem of OF | WUYing | OpenFOAM Running, Solving & CFD | 2 | September 20, 2021 11:09 |
| Setting up Lid driven Cavity Benchmark with 1M cells for multiple cores | puneet336 | OpenFOAM Running, Solving & CFD | 11 | April 7, 2019 01:58 |
| pressure in incompressible solvers e.g. simpleFoam | chrizzl | OpenFOAM Running, Solving & CFD | 13 | March 28, 2017 06:49 |
| plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 08:56 |
| Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 05:03 |