Example 316: Heat distribution in a plate using integrated point fluxes with bilinear elements

This example calculates the steady state temperature distribution inside a plate using FEM, with integrated point fluxes and bilinear elements.

The comfile run by this example is as follows:

#Example_316 Steady state temperature distribution in a plate (see example_111).
#This example uses point fluxes to enter intial conditions.
fem                               #Set the FEM environment
fem define parameters;r;linear;example #Reads parameters needed to define the plate

fem define coordinates;r;;example #Reads in the coordinates used for the plate
fem define nodes;r;;example       #Reads in the nodes to define the plate
fem define bases;r;;example       #Defines a bilinear basis function
fem define elements;r;;example    #Reads in elements from file
fem define wind;c                 #Calculates the graphic window size
fem draw lines                    #Makes the line segments visible
fem draw nodes                    #Makes the node numbers visible
fem define equation;r;;example    #Defines a STATIC analysis of LAPLACE's 
#                                 !equation (STANDARD) using GALERKIN 
#                                 !FINITE ELEMENTS with LINEAR ANALYSIS
fem define material;r;;example    #Define material properties (none)
fem define initial;r;;example     #Defines initial conditions
#                                 !Three sides are held at zero and the forth
#                                 !side has a uniform heat flux of 1
fem list init                     #Write out the initial conditions
fem define solve;r;;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

Additional testing commands:

FEM list init

Files used by this example are:

Name             Modified     Size

example_316.com 20-Nov-2001 1.6k linear.ipbase 10-Apr-2000 1.1k linear.ipcoor 10-Apr-2000 860 linear.ipelem 10-Apr-2000 2.2k linear.ipequa 26-May-2003 1.3k linear.ipinit 10-Apr-2000 714 linear.ipmate 10-Apr-2000 54 linear.ipnode 10-Apr-2000 2.7k linear.ippara 12-Nov-2002 5.9k linear.ipsolv 13-Apr-2007 1.1k test_output.com 10-Apr-2000 14

Download the entire example:

Name                      Modified     Size

examples_3_31_316.tar.gz 14-Apr-2007 6.8k

Testing status by version:

StatusTestedReal time (s)
cmSuccessSun Mar 6 00:01:44 20160
cm-debugSuccessSat Mar 5 00:02:01 20161
cmSuccessSun Aug 19 01:25:21 20072
cm-debugSuccessWed Aug 15 01:20:16 20075
cm-debug-clear-mallocSuccessSat Aug 18 01:27:36 20079
cm-debug-clear-malloc7SuccessMon Aug 20 01:20:20 200714
cm64SuccessSun Aug 19 01:23:08 20073
cm64-debugSuccessTue Aug 21 01:20:40 20075
cm64-debug-clear-mallocSuccessThu Apr 1 10:12:39 20042
cmSuccessWed Mar 4 01:06:59 20091
cm-debugSuccessMon Mar 2 01:06:06 20091
cm64SuccessWed Mar 4 01:06:59 20091
cm64-debugSuccessTue Mar 3 01:11:39 20091
cmSuccessSun Mar 6 00:01:01 20160
cm-debugSuccessSat Mar 5 00:01:12 20160

Testing status by file:

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

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

CMISS Help / Examples / 3 / 31 / 316