LBNL-ETA / pyWinCalc

Other
28 stars 10 forks source link

Parameters of forced convection #46

Open christoph-maurer opened 11 months ago

christoph-maurer commented 11 months ago

The example gaps_and_gases works well! When I change the gap thickness or the forced_ventilation_air_speed or the forced_ventilation_air_temperature in line 79, it doesn't stop to calculate. Do you know why?

vidanovic commented 11 months ago

@christoph-maurer Does it happen if you put any other number? I can take a look today. The only reason I can think of is convergence problem, but in case of forced ventilation it does not make sense since convection speed is known.

vidanovic commented 11 months ago

@christoph-maurer I was able to replicate the problem. It has definitely something to do with airlfow speed. Anything above 0.4 will cause error. Going to look into this and will come back to you.

christoph-maurer commented 11 months ago

@vidanovic Yes, it looks like a convergence problem. In the tests https://github.com/LBNL-ETA/Windows-CalcEngine/tree/main/src/Tarcog/tst/units/GapBetween*, an airGapSpeed of 0, 0.1, 0.5 and 1 converged.