mesh_test


mesh_test, a FENICS script which investigates some simple uses of the mesh objects and the various function calls that create them.

Finite element calculations begin by creating a discretized model of the geometry of a region. FENICS supplies a number of ways of creating a mesh, or of reading in a mesh created by an external program.

Note that I have installed FENICS using Docker, and so to run this script I issue the commands:

  1. cd $HOME/fenicsproject/mesh_test
  2. fenicsproject run
  3. python3 mesh_test.py
  4. exit

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

expression_test, a FENICS script which explores expression objects.

Source Code:


Last revised on 12 November 2018.