Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#6366 closed defect (wontfix)

Function "kc_roundTube_KC" at Modelica.Fluid.Dissipation.HeatTransfer.HeatExchanger.kc_roundTube_KC

Reported by: anonymous Owned by: Adeel Asghar
Priority: high Milestone: NeedsInput
Component: OMEdit Version: 1.16.1
Keywords: Cc:

Description

Dear OM-team,

if I run the function "kc_roundTube_KC" with valid values for IN_con.geometry == TYP.WavyFin, I get following error:
"[...] functions.c:3623: Invalid root: (1.#INF)(0.122917)
Simulation process failed. Exited with code -1."

The bug can be fix if the variable SI.ReynoldsNumber Re_Dc are not calculated at the beginn but in the algorithm part

suggestion:

Line 1300
SI.ReynoldsNumber Re_Dc "Reynolds number based on fin collar diameter";

Between Line 1332 and 1333
Re_Dc := max(MIN, abs(IN_var.m_flow) * IN_con.D_c / (IN_var.eta * A_c));

many regards
Chris

Change History (2)

comment:1 by Francesco Casella, 4 years ago

Resolution: wontfix
Status: newclosed

The OSMC is not responsible for the Modelica.Fluid library, we just take it as it is from the Modelica Association. Could you please open a ticket on the Modelica Standard Library issue tracker?

comment:2 by anonymous, 4 years ago

Done, see https://github.com/modelica/ModelicaStandardLibrary/pull/3743. However, I am not sure, if this actually is an OSMC bug when determing the variable incidences.

Note: See TracTickets for help on using tickets.