This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Understanding the Cahn-Hilliard demo: dimensions of mesh.

0 votes

Hi,

I've been looking at the Cahn-Hilliard demo here:

http://fenicsproject.org/documentation/dolfin/dev/python/demo/pde/cahn-hilliard/python/documentation.html

What are the units of the mesh / dimensions of Ω? Are they the same as λ? How would someone go about relating the output of this demo to a real-world system?

Thanks!

asked Oct 24, 2013 by mh FEniCS Novice (150 points)

1 Answer

0 votes
 
Best answer

The mesh in the demo is:

mesh = UnitSquareMesh(96, 96)

As the name says, it's a unit square ($(0, 1) \times (0, 1)$). FEniCS knows nothing about units. That part is up to you.

answered Oct 26, 2013 by Garth N. Wells FEniCS Expert (35,930 points)
selected Nov 1, 2013 by Jan Blechta
...