Example 3144: Steady state heat distibution in a plate using the laplace equation. Refined three times

This example uses the laplace equation to calculate the temperature distribution inside a plate using FEM. This is the same problem as example 3141 but refined three times in each Xi direction. Bilinear elements are used as the bases function.


The comfile run by this example is as follows:

#Example_3144 Steady state temperature distribution in a plate (see example_3141).
#This example is used to test the convergence of the Laplace or Poisson equation
#This example is example_3131 refined three times per Zhi. The basis function is bilinear. 
#

fem                                        #Set the FEM environment
fem define parameter;r;laplin4;example     #Defines the necessary parameters

fem define coordinate;r;laplin4;example    #Reads in the coordinates used for the plate
fem define nodes;r;laplin4;example         #Reads in the nodes to define the plate
fem define bases;r;laplin4;example         #Defines a bilinear basis function
fem define elements;r;laplin4;example      #Reads in elements from file
fem define wind;c                          #Calculates the graphic window size
fem draw lines                             #Makes the line segments visible
fem define equation;r;laplin4;example      #Defines a STATIC analysis of LAPLACE's eqn
fem define material;r;laplin4;example      #Define material properties (none)
fem define initial;r;laplin4;example       #Defines initial conditions
#                                          !Three sides are held at zero and the forth
#                                          !side has a heat function of Sin(Pi Y/L)
fem define solve;r;laplin4;example         #Defines solver options, default all settings
fem sol                                    #Solves the boundary value problem
fem draw field                             #This will draw colour temperature field
fem draw contours label off                #Draws 10 contours step size 0.1 deg

Files used by this example are:

Name              Modified     Size

example_3144.com 20-Nov-2001 1.6k laplin4.com 20-Nov-2001 1.6k laplin4.ipbase 10-Apr-2000 1.1k laplin4.ipcoor 10-Apr-2000 860 laplin4.ipelem 10-Apr-2000 135k laplin4.ipequa 26-May-2003 1.3k laplin4.ipinit 13-Feb-2001 2.3k laplin4.ipmate 10-Apr-2000 54 laplin4.ipnode 10-Apr-2000 86k laplin4.ippara 12-Nov-2002 5.9k laplin4.ipsolv 13-Apr-2007 1.1k laplin4.opvari 10-Apr-2000 80k

Download the entire example:

Name                           Modified     Size

examples_3_31_314_3144.tar.gz 14-Apr-2007 34k

Html last generated: Sun Mar 6 05:50:14 2016

Input last modified: Fri Apr 13 10:31:44 2007


CMISS Help / Examples / 3 / 31 / 314 / 3144