Skip to content

Commit e347670

Browse files
committed
Pipe improvement
1 parent 4ed71cf commit e347670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Pipe.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107

108108
% Reynolds number
109109
function re = calculate_reynolds_number_inner(obj)
110-
re = obj.mass_flow_rate * obj.length / (pi * obj.radius_inner^2 * obj.dynamic_viscosity_fluid);
110+
re = 2 * obj.mass_flow_rate / (pi * obj.radius_inner * obj.dynamic_viscosity_fluid);
111111
end
112112

113113
% Prandtl number

0 commit comments

Comments
 (0)