dear Sir/Madam

I tried to run the second example of the  FEniCS tutorial (membrain.py)
and received the attached error message. I attached also the first few rows
of the  python file which caused the error message.
I am using Ubuntu VMware player.

Could you please help to resolve the problem?

sincerely  yours

Avi Richardson
"""
FEniCS program for the deflection w(x,y) of a membrane:
-Laplace(w) = p = Gaussian function, in a unit circle,
with w = 0 on the boundary.
"""

from dolfin import *
import numpy

# Set pressure function:
T = 10.0  # tension
A = 1.0   # pressure amplitude
R = 0.3   # radius of domain
theta = 0.2
x0 = 0.6*R*cos(theta)
y0 = 0.6*R*sin(theta)
sigma = 0.025
#sigma = 50  # large value for verification
n = 40   # approx no of elements in radial direction
mesh = UnitCircle(n)
V = FunctionSpace(mesh, 'Lagrange', 1)

#
Python 2.7.6 (default, Mar 22 2014, 22:59:38) 
[GCC 4.8.2] on linux2
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>> 

Traceback (most recent call last):
  File "/home/avi/finit element/membrain_2.py", line 20, in <module>
    mesh = UnitCircle(n)
  File "/usr/lib/python2.7/dist-packages/dolfin/cpp/mesh.py", line 8284, in __init__
    _mesh.UnitCircle_swiginit(self,_mesh.new_UnitCircle(*args))
RuntimeError: 

*** -------------------------------------------------------------------------
*** DOLFIN encountered an error. If you are not able to resolve this issue
*** using the information listed below, you can ask for help at
***
***     [email protected]
***
*** Remember to include the error message listed below and, if possible,
*** include a *minimal* running example to reproduce the error.
***
*** -------------------------------------------------------------------------
*** Error:   Unable to generate ellipse mesh.
*** Reason:  Generation of ellipse meshes requires DOLFIN to be configured with CGAL.
*** Where:   This error was encountered inside EllipseMesh.cpp.
*** Process: 0
*** 
*** DOLFIN version: 1.3.0
*** Git changeset:  unknown
*** -------------------------------------------------------------------------

>>> 
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to