Thank you all for the assistance in the past.
I am trying to extract the heat flow (W) from boundaries between domains that are internal to the model. Is there an accurate way to output the heat flow from internal boundaries? The topic of getting heat flow from boundaries has been discussed before, and Peter described two methods to do so in a post on 05 Oct 2009 10:49 titled Generating gradients. I have been try
Method 1: uses savescalars to generate temperature loads, which are summed and saved.
Method 2: uses savescalers to compute the normal flux.
Method 1 outputs only 0.000... for the flux values, no matter what I adjust. Code used for savescalars for this case:
Code: Select all
Solver 3
Procedure = "SaveData" "SaveScalars"
Filename = case.csv
Operator 1 = boundary sum
Variable 1 = Temperature Loads
End
Method 2 results in good data only in certain situations. I have made a simple model to illustrate the issue. The model is a 3d rectangular solid with 4 domains, or quadrants (top1, top2, bot1, bot2). When all quadrants are the same material, the heat flow results from save scalars are good. When the top is all Cu, and the bottom is all glass, the results are good. In other situations the outputs are unreasonable. For example, in case 4 in the results in the attachment, 82% mopre heat flows through the center of the object than enters at the hot side. Code and images are attached. Example results are also attached, showing which cased result in energy conservation, and which do not.