[Gmsh] Define mesh from unit cell
ugis.lacis at gmail.com
Wed Sep 21 07:00:02 CEST 2016
I am doing something similar as you want to do. What I have found is
that you should use a combination of "Translate" and "Duplicata"
commands. I have a code, which does that for me, see:
I am more comfortable with python, that is why I have done all the loops
etc. there. My code is constructing a 1D extension, but it is easy to
generalize to 3D. The unit cell definition starts at line 430, and the
essence for duplicating surfaces can be found in lines 731 to 740.
Hopefully that can be of some use.
On 21/09/16 04:45, Alexander Lindsay wrote:
> Hi all,
> Is there an easy way to create a "unit cell" in gmsh and then create a
> larger mesh with m x n x p repeating unit cells?
> gmsh mailing list
> gmsh at onelab.info
More information about the gmsh