Hi FiPy,
I am toying around with the following problem, suppose there is a vector field
v=(x,y) and I am looking to compute div(v)=2 with FiPy. I know that the
.divergence property is for FaceVariables but suppose we need to build the
vector field from a CellVariable. As far as I know, from the
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
wrote:
On Thu, Jan 1, 2015 at 10:00 PM, Kyle Lawlor 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
> mesh=Gmsh2D(file_path)
> File "C:\Python27\lib\si