[Gmsh] Another STL question

Peter Johnston p.johnston at griffith.edu.au
Tue Mar 19 11:35:45 CET 2019


Hello,

I guess I should have thought about this a little harder. The obvious solution is as follows:


Merge "inner_shape.stl";

Mesh.Smoothing=100;

//+

Surface Loop(1) = {1};

//+

Merge "outer_shape.stl";

//+

Surface Loop(2) = {2};

//+ Create volume between two surfaces

Volume(1) = {1,2};

Thanks for your help.

Regards,

Peter.

---------------------------------------------------------------------

Associate Professor Peter Johnston (FAustMS, FIMA)
School of Environment and Science
Griffith University | Nathan | QLD 4111 | Technology (N44) Room 3.19
T +61 7 373 57748| F +61 7 373 57656 Email p.johnston at griffith.edu.au
On 19 Mar 2019, 4:41 PM +1000, Peter Johnston <p.johnston at griffith.edu.au>, wrote:
Hello again,

I’m sorry to keep asking questions about STL files, but there is something else that has arisen.

I import two surfaces, one inside the other as follows:


Merge "inner_shape.stl";

Mesh.Smoothing=100;

//+

Surface Loop(1) = {1};

//+

Volume(1) = {1};

//+

Merge "outer_shape.stl";

//+

Surface Loop(2) = {2};

//+

Volume(2) = {2};

Can I mesh the space in between the two shapes?

Thanks,

Peter.

---------------------------------------------------------------------

Associate Professor Peter Johnston (FAustMS, FIMA)
School of Environment and Science
Griffith University | Nathan | QLD 4111 | Technology (N44) Room 3.19
T +61 7 373 57748| F +61 7 373 57656 Email p.johnston at griffith.edu.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20190319/55c8221d/attachment.html>


More information about the gmsh mailing list