Loading

   

Heat Transfer Demo 1: A 2-D steady state diffusion-convection code

This code is developed to solve 2-D steady state diffusion-convection problems. We use here a user friendly implementation. That is, rather than expliciting vector and matrix construction, matrix and right-hand side assembly, ... we provide functions that perform all-in-one operations.

The Program

  

An example

Let us run this program with the data presented in the following project file:

    <Project name="proj">
       <mesh_file>proj.m</mesh_file>
       <parameter label="v_flag" value="1"/>
       <parameter label="v_file">proj.v</parameter>
       <plot_file>proj.t</plot_file>
       <verbose>1</verbose>
       <output>1</output>
       <plot>1</plot>
    </Project>
    <Prescription>
       <BoundaryCondition code="1">1.0</BoundaryCondition>
    </Prescription>

Let us give a brief description of this file contents:

 
Copyright © 1998-2016 Rachid Touzani