Patch from Dave Luff to use dt properly in CHT calculation.
This commit is contained in:
parent
b3bb53b67f
commit
961804b03e
1 changed files with 2 additions and 1 deletions
|
@ -459,7 +459,8 @@ void FGPiston::doCHT(void)
|
||||||
|
|
||||||
double HeatCapacityCylinderHead = CpCylinderHead * MassCylinderHead;
|
double HeatCapacityCylinderHead = CpCylinderHead * MassCylinderHead;
|
||||||
|
|
||||||
CylinderHeadTemp_degK += dqdt_cylinder_head / HeatCapacityCylinderHead;
|
CylinderHeadTemp_degK +=
|
||||||
|
(dqdt_cylinder_head / HeatCapacityCylinderHead) * dt;
|
||||||
}
|
}
|
||||||
|
|
||||||
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
Loading…
Add table
Reference in a new issue