This sample demonstrates the import of a bounding mesh in OBJ file format.
It uses the MATERIALS and BOUNDARY CONDITIONS sections to tie names stated
in the OBJ file to FlexPDE properties.
The OBJ file contains :
one object named 'torus' that will be bound to a material property set.
two groups named 'patch1' and 'patch2' that will be bound to BC sets.
title 'Import OBJ Torus'
'patch1' : value(u) = 1
'patch2' : value(u) = 10
materials 'torus' : k=1
equations u: div(k*grad(u))=0
boundaries import OBJ 'torus.obj'
grid(x,z) on y = 0
contour(u) on x = -y
contour(u) on z = 0