Example 313: Steady state potential distribution in an plate with an anisotropic fibre field.

This example uses calculates the potential distribution inside a plate using FEM.

The comfile run by this example is as follows:

#Example_313 Steady State Potential distribution on a plate with an
#            anisotropic fibre field
fem                                  #Set the FEM environment
fem define node;r;anisoplate;example #Read in the nodal coordinates
fem define base;r;;example           #Define a bilinear basis function.
fem list bases                       #List the basis function.
fem define element;r;;example        #Define the elements
fem define fibre;r;;example          #Define the fibre field (at an angle of 30
#                                    !  degrees to the x-axis).
fem define element;r;;example fibre  #Define the elements
fem define window;c                  #calculates the size of the window to fit
#                                    !  the mesh
fem draw node                        #Draw the nodes
fem draw line                        #Draw the lines
fem draw fibre                       #Draw the fibre field
fem define equation;r;;example       #Defines the equation to be solved.  We
#                                    !  are undertaking a static analysis
#                                    !  involving a generalised Laplaces
#                                    !  equation and we are going to solve it
#                                    !  using Galerkin FEM.
fem list equation                    #List the equation
fem define material;r;;example       #Define the materials. Define the
#                                    !  conductivity in the fibre direction to
#                                    !  be 3 and the conductivity in the
#                                    !  fibre-normal direction to be 1.
fem define analytic;r;;example       #Define the analtyic soltuion for the
#                                    !  problem.
fem define initial;g                 #Generate the initial conditions for the
#                                    !  problem. In this case the initial
#                                    !  conditions are the analytic solution
#                                    !  around the boundary of the mesh i.e.
#                                    !  a Dirichlet problem.
fem list initial                     #List the initial conditions.
fem define solve;r;;example          #Define the solution options.
fem solve                            #Solves the problem.
fem hide node                        #Hide the nodes
fem draw field                       #Draw the contours field
fem draw contour dependent label off #Draw the potential contours
fem draw fibre                       #Bring the fibres to the front
fem check solution                   #Check the accuracy of the solution

Additional testing commands:

fem list node solution
fem check solution

Files used by this example are:

Name               Modified     Size

example_313.com 10-Apr-2000 2.6k anisoplate.ipanal 10-Apr-2000 661 anisoplate.ipbase 10-Apr-2000 1.1k anisoplate.ipelem 10-Apr-2000 8.2k anisoplate.ipelfb 10-Apr-2000 4.5k anisoplate.ipequa 26-May-2003 1.3k anisoplate.ipfibr 30-Jan-2001 3.9k anisoplate.ipmate 10-Apr-2000 590 anisoplate.ipnode 10-Apr-2000 7.3k anisoplate.ipsolv 13-Apr-2007 1.1k test_output.com 10-Apr-2000 42

Download the entire example:

Name                      Modified     Size

examples_3_31_313.tar.gz 14-Apr-2007 8.1k

Testing status by version:

StatusTestedReal time (s)
cmSuccessSun Mar 6 00:01:43 20161
cm-debugSuccessSat Mar 5 00:02:00 20161
cmSuccessSun Aug 19 01:26:50 20074
cm-debugSuccessWed Aug 15 01:24:21 20076
cm-debug-clear-mallocSuccessSat Aug 18 01:30:31 200712
cm-debug-clear-malloc7SuccessMon Aug 20 01:26:21 200713
cm64SuccessSun Aug 19 01:29:18 20073
cm64-debugSuccessTue Aug 21 01:21:40 20077
cm64-debug-clear-mallocSuccessThu Apr 1 10:12:28 20043
cmSuccessWed Mar 4 01:06:57 20090
cm-debugSuccessMon Mar 2 01:06:21 20091
cm64SuccessWed Mar 4 01:06:57 20091
cm64-debugSuccessTue Mar 3 01:11:50 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:14 2016

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

CMISS Help / Examples / 3 / 31 / 313