Open MartinGuillonLPP opened 2 weeks ago
In FLHET_compiled.py, in
362 def SetInlet(...): ... 368 U_ghost[0] = (mdot - M P_In[1] P_In[2] / VG) / (A0 * VG)
is wrong to me because dimensionally not right. It should be:
368 U_ghost[0] = (mdot - M P_In[1] P_In[2] A0) / (A0 VG)
I don't think it is of great impact because the usual values we were using of $1/{VG}=0.005$ s/m and A0 $\approx 0.0044$ $m^2$ are close.
I already pushed a correction on main. I publish this issue for the devs of other branches who may be impacted.
Correct, well noticed. Thanks.
For all branches based on main
In FLHET_compiled.py, in
362 def SetInlet(...): ... 368 U_ghost[0] = (mdot - M P_In[1] P_In[2] / VG) / (A0 * VG)
is wrong to me because dimensionally not right. It should be:
368 U_ghost[0] = (mdot - M P_In[1] P_In[2] A0) / (A0 VG)
I don't think it is of great impact because the usual values we were using of $1/{VG}=0.005$ s/m and A0 $\approx 0.0044$ $m^2$ are close.
I already pushed a correction on main. I publish this issue for the devs of other branches who may be impacted.