Example 3151: Steady state heat distibution in a plate calculated using the laplace equation. Bicubic hermite elements

This family of example use the laplace equation to calculate the temperature distribution inside a plate using FEM. Bicubic hermite bases functions are used as the elements. Based on problem 311.


The comfile run by this example is as follows:

#Example_3151 Steady state temperature distribution in a plate (see example_3141).
#This example is used to test the convergence of the Laplace or Poisson equation
#The basis function is bicubic hermite. 
#
fem                                        #Set the FEM environment
fem define parameter;r;lapcub1;example     #Defines the necessary parameters

# Command updated by fixcom.sh on Thu Jun 17 15:32:30 NZT 1999
# Old command: fem reallocate                             !Reallocates the memory to new parameters


fem define coordinate;r;lapcub1;example    #Reads in the coordinates used for the plate
fem define nodes;r;lapcub1;example         #Reads in the nodes to define the plate
fem define bases;r;lapcub1;example         #Defines a bicubic hermite basis function
fem define elements;r;lapcub1;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;lapcub1;example      #Defines a STATIC analysis of LAPLACE's eqn
fem define material;r;lapcub1;example      #Define material properties (none)
fem define initial;r;lapcub1;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;lapcub1;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:

#Testing example 3151

Files used by this example are:

Name              Modified     Size

example_3151.com 07-Jul-2000 1.7k lapcub1.com 07-Jul-2000 1.7k lapcub1.ipbase 07-Jul-2000 1.5k lapcub1.ipcoor 07-Jul-2000 860 lapcub1.ipelem 07-Jul-2000 2.2k lapcub1.ipequa 26-May-2003 1.3k lapcub1.ipinit 28-Jun-2001 920 lapcub1.ipmate 07-Jul-2000 54 lapcub1.ipnode 07-Jul-2000 9.3k lapcub1.ippara 12-Nov-2002 5.9k lapcub1.ipsolv 13-Apr-2007 1.1k lapcub1.opvari 07-Jul-2000 8.7k test_output.com 07-Jul-2000 22

Download the entire example:

Name                           Modified     Size

examples_3_31_315_3151.tar.gz 14-Apr-2007 8.2k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:01:43 20160
cm-debugSuccessSat Mar 5 00:02:00 20160
mips-irix
cmSuccessSun Aug 19 01:24:35 20073
cm-debugSuccessWed Aug 15 01:21:48 20075
cm-debug-clear-mallocSuccessSat Aug 18 01:29:47 200712
cm-debug-clear-malloc7SuccessMon Aug 20 01:26:04 200713
cm64SuccessSun Aug 19 01:22:47 20073
cm64-debugSuccessTue Aug 21 01:21:39 20076
cm64-debug-clear-mallocSuccessThu Apr 1 10:12:32 20043
rs6000-aix
cmSuccessWed Mar 4 01:06:58 20090
cm-debugSuccessMon Mar 2 01:06:16 20091
cm64SuccessWed Mar 4 01:06:58 20090
cm64-debugSuccessTue Mar 3 01:11:39 20091
x86_64-linux
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:14 2016

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


CMISS Help / Examples / 3 / 31 / 315 / 3151