Question: Heat Transfer Matrix Solution With Boundry Conditions

Hi,

I am trying to solve for the 2D temperature distribution (heat flow) through a brick, using finite element analysis.  I created a 341*341 matrix for each nodal equation, and a column vector that is the solutions to each equation.  I want to find the temperature at each node using A^-1 * B or LinearSolve(A,B).  My problem is that when I do this the entire solution vector is 15.  I have a constraint where the bottome nodes are all at 0 degrees.  My question is how to solve a system while including these intial conditions.  Is there a way to use LinearSolve while saying that the first 31 variables I am trying to solve are equal to 0?  Thanks. 

Please Wait...