[Gmsh] swept volume using triangulared surface mesh

Mark Smith Mark.Smith at xaar.com
Tue Aug 23 12:55:07 CEST 2016


Hi Gmsh users,
The .geo file below produces a transfinite mesh of prism elements.

Mesh.Smoothing =1; //need this < 2 so get uniform bias in BL across the surfaces

Blays=3;
w=4;
l=6;

Point(1) = {0, 0, 0};
Point(2) = {1, 0, 0};
Point(3) = {1, 1, 0};
Point(4) = {0, 2, 0};
Point(5) = {0.2, 0.2, 0.25};
Point(6) = {0.8, 0.2, 0.25};
Point(7) = {0.8, 0.8, 0.25};
Point(8) = {0.2, 1.5, 0.25};
Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 1};
Line(5) = {5, 6};
Line(6) = {6, 7};
Line(7) = {7, 8};
Line(8) = {8, 5};
Line(9) = {2, 6};
Line(10) = {3, 7};
Line(11) = {4, 8};
Line(12) = {1, 5};
Line Loop(13) = {5, 6, 7, 8};
Plane Surface(1) = {13};
Line Loop(15) = {3, 11, -7, -10};
Plane Surface(2) = {15};
Line Loop(17) = {6, -10, -2, 9};
Plane Surface(3) = {17};
Line Loop(19) = {5, -9, -1, 12};
Plane Surface(4) = {19};
Line Loop(21) = {4, 1, 2, 3};
Plane Surface(6) = {21};
Line Loop(23) = {8, -12, -4, 11};
Plane Surface(5) = {23};
Surface Loop(25) = {1, 2, 3, 4, 5, 6};
Volume(1) = {25};
Transfinite Line {10, 11, 12, 9} = Blays+1 Using Progression 1.3;
Transfinite Surface {2};
Transfinite Surface {3};
Transfinite Surface {4};
Transfinite Surface {5};
Recombine Surface {2, 3, 4, 5};
Transfinite Line {5, 7, 3, 1} = w+1 Using Progression 1;
Transfinite Line {4, 2, 6, 8} = l+1 Using Progression 1;
Transfinite Surface {1};
Transfinite Surface {6};
Transfinite Volume {1};

Picture 1) It produces a surface mesh on surface 1 like so
[cid:image006.png at 01D1FD35.30BDBC90]

Picture 2) If I comment out Transfinite Surface {1}; and Transfinite Surface {6}; in the geo file I get a surface mesh on surface 1 like so
[cid:image007.png at 01D1FD35.30BDBC90]

Now this surface mesh has better statistics than the transfinite one, but as expected the 3D meshing fails.
Is there a way to copy with morphing, the mesh on surface 1 to surface 6 and produce a 3D mesh of surface 1  swept to surface 6 resulting in an all prism 3D mesh?

Thanks in advance.
Mark

Mark Smith
Senior Engineer (Modelling)

[Description: cid:image002.jpg at 01CA8F80.00EC1C20]

316 Science Park
Cambridge
CB4 0XR
United Kingdom

Phone: +44 (0)1223 802134
Internal ext: 2134
E-Mail:  mark.smith at xaar.com<mailto:james.caie at xaar.com>
Web: www.xaar.com<http://www.xaar.com/>

All contents of this email are XAAR Confidential

___________________________________________________________________________________________________________________________________________

Xaar is a market-leading manufacturer of innovative digital inkjet printing technology. 

Note: The information contained in this e-mail is intended for the named recipient(s) only. It may also be privileged and confidential. If you are not an intended recipient, 
you must not copy, distribute or take any action in reliance upon it. No warranties or assurances are made in relation to safety, content and/or any attachments. No liability 
is accepted for any consequences arising from it. No warranties are given by Xaar, and no liability is accepted by Xaar, in relation to any loss arising from reliance placed 
on the information supplied in this email and attachments, other than those warranties expressly stated in Xaar's Standard Terms and Conditions of Sale. Xaar's Standard Terms 
and Conditions of Sale apply at all times. Xaar plc, registered in England no.3320972, XaarJet ltd, registered in England no.3375961, Xaar Technology ltd, registered in England 
no.2469592, Science Park, Cambridge, CB4 0XR, Tel +44(0)1223423663, Fax +44(0)1223423590

This email has been scanned for viruses and malware by Mimecast Ltd.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20160823/d28ead5d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 2000 bytes
Desc: image005.jpg
URL: <http://onelab.info/pipermail/gmsh/attachments/20160823/d28ead5d/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 76155 bytes
Desc: image006.png
URL: <http://onelab.info/pipermail/gmsh/attachments/20160823/d28ead5d/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 68675 bytes
Desc: image007.png
URL: <http://onelab.info/pipermail/gmsh/attachments/20160823/d28ead5d/attachment-0003.png>


More information about the gmsh mailing list