Monthly Archives: May 2017

from gmsh geo file to fenics mesh with subdomain and boundary facet exported

from dolfin import * import os.path from subprocess import Popen, PIPE, check_output # https://fenicsproject.org/qa/9983/setting-boundary-conditions-for-meshes-generated-by-gmsh # generete mesh by: gmsh test.geo -3 # dolfin-convert -i gmsh test.msh test.xml geo_file_content = “”” size = 1; //m meshThickness = size / 3; gridsize … Continue reading

Posted in Programming, Research | Comments Off on from gmsh geo file to fenics mesh with subdomain and boundary facet exported