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 'cube' that will be bound to a material property set.
two groups named 'left' and 'right' that will be bound to BC sets.
title 'Import OBJ Cube'
materials 'cube' : k=1
'left' : value(u)=1
'right' : value(u)=10
equations u: div(k*grad(u))=0
boundaries import OBJ 'cube.obj'
grid(x,y) on z = 0.5
contour(u) on z = 0.5
elevation(u) from (0,0.5,0.5) to (1,0.5,0.5)