> On 27 Feb 2020, at 00:02, Francis Giraldeau
> wrote:
>
> It is necessary to define physical groups for surfaces in order to apply
> boundary conditions. The Boundary function returns the surfaces for a given
> geometry, but after a boolean operation, the surface entities change and the
>
Dear Francis,
Setting ENABLE_WRAP_PYTHON=ON will build the Python wrappers of the *private*
Gmsh API using swig, i.e. wrap all the development C++ headers. This is for
Gmsh developers.
What you want is the stable public Python API. This doesn't require swig: just
build the dynamic Gmsh librar
It is necessary to define physical groups for surfaces in order to apply
boundary conditions. The Boundary function returns the surfaces for a given
geometry, but after a boolean operation, the surface entities change and
the surface is lost. Here is an example:
SetFactory("OpenCASCADE");
box1 =
Hello!
I just compiled gmsh with ENABLE_WRAP_PYTHON=ON. This seems to install the
module gmshpy. However, the Python demos are importing the gmsh module,
which is not installed, so I'm a bit confused.
How do we install the actual Python gmsh module?
Thanks!
--
Francis
_
Thanks again Christophe. That does what I need.
I ended up importing back for further processing.
>> Save View[1] "mesh.msh";
>> Merge "Mesh.msh";
br
Don
-Original Message-
From: Christophe Geuzaine [mailto:cgeuza...@uliege.be]
Sent: February-26-20 1:18 AM
To: Don Van Kerkhoven
Cc: Gm