# Tag Archives: thermodynamics

## Prettying Up the 3D Graph Output

Here I’ve prettied the graph up so the lines change color every 100 degrees F, and I’ve added a legend. I suppose I could choose consecutive colors with a bit more contrast.

## Graphing the Matrix Output

Here I continually run the heating routine for a piece with an initial temperature of 70 degrees in a furnace set to 2300 degrees. The temperature scale, expressed vertically, runs from 0-2500 degrees. The bottom of the piece, which sits … Continue reading

## Finally Solving the Matrix

Once we get all the parameters calculated and the matrix loaded, then we can finally solve the thing. Here’s how the code looks:

We start with a 7×7-node workpiece where the interior nodes are two inches wide and two … Continue reading

## Dimensions and Other Considerations Before We Solve the Matrix

Yesterday’s post showed how some of the constants and parameters are initialized or calculated. Today we’ll describe a few more. This exercise defines a cross-section of a steel billet that is 8 inches by 8 inches and divided into five … Continue reading

## Static and Dynamic Coefficients in Matrix Thermal Solutions

Recalling yesterday’s initial heat balance equation for each node: it should be noted that the values of both the specific heat and the thermal conductivity of steel are themselves functions of temperature. That means that these values need to be … Continue reading

## A Specific Example of Equations To Be Solved By Matrix

Dividing a cross-section of a steel billet into nodes, we can start by looking at the energy balance for each node: All this equation is saying is that the change in the quantity of energy in a given node per … Continue reading

## The Steam Table Form… Finally!

About two months ago I started making a web form that allowed a user to calculate thermodynamic values for saturated water as functions of either temperature and pressure. I got sidetracked for quite a while working on the graphing capability … Continue reading

## Extending the Thermodynamic Functions To Their Full Range: Functions vs. Pressure

While finishing up the process of generating the plots of the thermodynamic functions vs. pressure I found an issue with how plots are drawn on the x-axis when the x-axis has a logarithmic scale. I calculated numeric values for every … Continue reading