No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Furnace Design Parameters Calculator

3.8 | 6 ratings Rate this file 5 Downloads (last 30 days) File Size: 5.16 KB File ID: #14032 Version: 1.0
image thumbnail

Furnace Design Parameters Calculator


Ahmad Kolahi (view profile)


20 Feb 2007 (Updated )

Furnace Design Parameters Calculator

| Watch this File

File Information

This program gets over than 30 main parameters of a furnace such as number of passes, furnace geometry, mass flow rate, number of shield tubes, ... and as result calculates pressure loss, number of tubes rows, wall mean temperature, total duty heat capacity. For more information see the following well commented M-File

MATLAB release MATLAB 7.0.4 (R14SP2)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (10)
19 Jun 2012 Birru Mahendar

function fff=furnace(xx)
throwing error

Comment only
04 Jun 2011 amaimia nizar


Comment only
17 Jul 2008 Sohit Budhiraja

13 Mar 2008 imran attari

I want to know much more.

Comment only
01 Dec 2007 samad rezaei

26 Apr 2007 murali lakshminarayanan

16 Apr 2007 raj sherma

have good

Comment only
24 Mar 2007 s ded

27 Feb 2007 Sharon Poon

21 Feb 2007 John D'Errico

I had to look at this "hot" function, as the author claimed it to be well commented. Is this a valid claim?

Yes, there are many internal comments. This is good. And compared to some of the wholly uncommented codes that are submitted, it is vastly better. But there are many parameters that one must deal with in this code. Look at a few lines of the code:

function fff=furnace(xx)
%################ Input Parameters################
ti=380; %Farenhait
to=675; %Farenhait

Note that ti and to are left without any definition, except that they are apparently temperatures. The user is left to guess what they refer to. Perhaps you can guess. Input and output temperature? The same is true of many of the parameters. A truly well commented code would be more explicit.

Further on, we see more examples of incomplete comments. These lines below tell me the apparent size of the furnace. (A big one it seems.) But nowhere is it explicitly stated the assumed shape or configuration of the furnace. When I first saw this file, I did not know if it described the design of something designed to heat a home or a small city.

fw=20; %Furnace Wide in Foot
fl=40; %Furnace Length in Foot
fh=25; %Furnace Height in Foot

Next, return to the first few lines of code I showed above. Not that there is absolutely no help in the file. What does the input parameter xx refer to? No help at all there. It returns a variable called fff. What information does it return that a user will find of value? Again, no hints.

Other aspects of good code that a user would look for are

- There is no H1 line.
- There are no error checks on the validity of the parameters.
- There are no references. Many blocks of code use spline fits to curve data stored internally. Where did those curves come from? No documentation is provided.

So I'll heartily disagree with the claim that this code is well commented. The most I'll concede is that parts of it are NOT BADLY documented. I've given this a 3 rating only because the author has clearly put a significant of work into it and because I'd like to encourage an author who has made a serious effort. This is really a higher rating than it probably deserves.

A dozen or so additional lines of comments in front would have caused me to raise my rating at least a notch. If you are willing to spend the time working through all of the implicit, unstated assumptions in the code, some users might find it useful.

Contact us