[Gmsh] Translating points after extrusion
Jose A. Abell M.
jaabell at miuandes.cl
Wed Jun 29 17:42:13 CEST 2016
Dear GMSH creators,
This is a minimal example to illustrate what I need to do in a larger scale
example.
Suppose I want to create a skewed hexahedral geometry to mesh with a
structured method. I want to use extrusions to create a regular cube first
and then translating the points created by the extrusion to 'skew' it.
This works for the extruded points and lines, but the surfaces and volumes
seem to want to find their old geometry, generating errors.
Please see example below:
Point(newp) = {0, 0, 0, 1};
line[] = Extrude {1, 0, 0}{
Point{1};
Layers{10};
Recombine;
};
surface[] = Extrude {0, 1, 0}{
Line{line[]};
Layers{10};
Recombine;
};
volume[] = Extrude {0, 0, 1}{
Surface{surface[]};
Layers{10};
Recombine;
};
Translate {1, 0, 0} {
Point{2, 1, 4, 3};
}
Saludos/Regards,
--
José A. Abell M.,
PhD
*Ingeniero Civil *Profesor Investigador
Facultad de Ingeniería y Ciencias Aplicadas
Universidad de los Andes
(+56
)
2
-2412
-
9321
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20160629/c96afad1/attachment.html>
More information about the gmsh
mailing list