Re: Gmsh2D() error -- Gmsh version must be =2.0

2015-01-02 Thread Daniel Wheeler
On Thu, Jan 1, 2015 at 10:00 PM, Kyle Lawlor klawlor...@gmail.com wrote: To start the error crops up running the following lines of code: from fipy import * file_path=C:\path\square.msh mesh=Gmsh2D(file_path) The error I get is: line 3, in module mesh=Gmsh2D(file_path) File

Re: Gmsh2D() error -- Gmsh version must be =2.0

2015-01-02 Thread Jason Furtney
I get this from time to time also. If I don't actually need gmsh to be called I just monkey patch the function that checks for gmsh like so: import fipy fipy.meshes.gmshMesh._gmshVersion = lambda **kwargs : 2.0 which makes the error go away. On Fri, Jan 2, 2015 at 9:32 AM, Daniel Wheeler

Gmsh2D() error -- Gmsh version must be =2.0

2015-01-01 Thread Kyle Lawlor
Hi, FiPy. I've recently been working with FiPy on a Windows 8.1 OS and I have run into some difficulties using the Gmsh2D() function when supplying a .msh file path as its argument. I tried a few things to trouble shoot the problem, but I have not been able to pinpoint whats happening. To start