Skip to content

Commit

Permalink
Merge pull request #5 from MrMatt2532/patch-2
Browse files Browse the repository at this point in the history
1D Constant thermal conductance fix
  • Loading branch information
casella committed Jul 16, 2019
2 parents 71f3d0c + 379cb88 commit d30ca02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ThermoPower/Thermal.mo
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ The swapping is performed if the counterCurrent parameter is true (default value
DHTVolumes side2(final N=Nv) annotation (Placement(transformation(extent={{-40,-42},{40,-20}},
rotation=0)));
equation
side1.Q = G*(side1.T - side2.T) "Convective heat transfer";
side1.Q = G*(side1.T - side2.T)/Nv "Convective heat transfer";
side1.Q + side2.Q = zeros(Nv) "Static energy balance";
annotation (Icon(graphics={Text(
extent={{-100,-44},{100,-68}},
Expand Down

0 comments on commit d30ca02

Please sign in to comment.