Skip to content

Commit ffa079d

Browse files
authored
fix: remove temperature neglection pipeBeggs (#1277)
1 parent c0d77af commit ffa079d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/java/neqsim/process/equipment/pipeline/PipeBeggsAndBrills.java

-4
Original file line numberDiff line numberDiff line change
@@ -907,10 +907,6 @@ public double calcTemperatureDifference(SystemInterface system){
907907
heatTransferCoefficient = estimateHeatTransferCoefficent(system);
908908
}
909909

910-
if (Math.abs(Ts - Tmi) < 0.5) {
911-
return 0.0;
912-
}
913-
914910
for (int i = 0; i < maxIterations; i++) {
915911
double dTlm = ((Ts - Tmo) - (Ts - Tmi)) / (Math.log((Ts - Tmo) / (Ts - Tmi)));
916912
error = heatTransferCoefficient - system.getFlowRate("kg/sec") * cp * (Tmo - Tmi) / (3.1415 * insideDiameter * length * dTlm);

0 commit comments

Comments
 (0)