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

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. This is the same problem as 3151, but with Xi refined three times in each direction.


The comfile run by this example is as follows:

#Example_3154 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_3151 refined three times per Zhi. The basis function is bicubic hermite. 
#
fem                                        #Set the FEM environment
fem define parameter;r;lapcub4;example     #Defines the necessary parameters
fem define coordinate;r;lapcub4;example    #Reads in the coordinates used for the plate
fem define nodes;r;lapcub4;example         #Reads in the nodes to define the plate
fem define bases;r;lapcub4;example         #Defines a bicubic hermite basis function
fem define elements;r;lapcub4;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;lapcub4;example      #Defines a STATIC analysis of LAPLACE's eqn
fem define material;r;lapcub4;example      #Define material properties (none)
fem define initial;r;lapcub4;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;lapcub4;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 3154

Files used by this example are:

Name              Modified     Size

example_3154.com 17-Jul-2001 1.6k lapcub4.ipbase 07-Jul-2000 1.5k lapcub4.ipcoor 07-Jul-2000 860 lapcub4.ipelem 07-Jul-2000 135k lapcub4.ipequa 26-May-2003 1.3k lapcub4.ipinit 28-Jun-2001 25k lapcub4.ipmate 07-Jul-2000 54 lapcub4.ipnode 07-Jul-2000 332k lapcub4.ippara 12-Nov-2002 5.9k lapcub4.ipsolv 13-Apr-2007 1.1k lapcub4.opvari 07-Jul-2000 320k test_output.com 07-Jul-2000 22

Download the entire example:

Name                           Modified     Size

examples_3_31_315_3154.tar.gz 24-May-2010 74k

Testing status by version:

StatusTestedReal time (s)
i686-linux
cmSuccessSun Mar 6 00:02:59 20162
cm-debugSuccessSat Mar 5 00:17:11 20167
x86_64-linux
cmSuccessSun Mar 6 00:01:02 20161
cm-debugSuccessSat Mar 5 00:01:57 20164

Testing status by file:


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

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


CMISS Help / Examples / 3 / 31 / 315 / 3154