[Gmsh] Surfaces not lining up - new user

Anthony Ozzello anthony.ozzello at entegris.com
Fri Mar 15 12:54:30 CET 2019


That got it.

Thanks,

Tony

Tony Ozzello

Technologist
Liquid Filtration Division

T +1 512 244 5205    M +1 518 944 3519

________________________________

[Entegris | 50 years of pure advantage]<http://www.entegris.com/>

700 Jeffrey Way, Suite 400
Round Rock, Texas 78665 USA



[PACE | A values-driven culture]



From: Max Orok [mailto:morok at mevex.com]
Sent: Thursday, March 14, 2019 12:37 PM
To: Anthony Ozzello <anthony.ozzello at entegris.com>
Cc: gmsh at onelab.info
Subject: Re: [Gmsh] Surfaces not lining up - new user

External Email: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hello Tony,

This looks like a case for the Coherence operation (only available using OpenCascade)
After adding that line to your script, the model shares faces across the different cylinders.

-----------

SetFactory("OpenCASCADE");

Cylinder(1) = {-50, -7.5, 0, 100, 0, 0, 7.5, 2*Pi};

Cylinder(2) = {-51, -7.5, 0, 1, 0, 0, 0.25, 2*Pi};

Cylinder(3) = {50, -7.5, 0, 1, 0, 0, 0.25, 2*Pi};

lcar1 = .1;
lcar2 = 1.0;


Characteristic Length{ PointsOf{ Volume{2:3}; } } = lcar1;
Characteristic Length{ PointsOf{ Volume{1}; } } = lcar2;

Show "*";

//+

Coherence;
---------------

[image.png]

Sincerely,
Max

On Thu, Mar 14, 2019 at 12:40 PM Anthony Ozzello <anthony.ozzello at entegris.com<mailto:anthony.ozzello at entegris.com>> wrote:
Hi everyone,

I’m a new user, trying to set up a simple problem to start working with gmsh feeding into ElmerFEM.
All I want to do is generate three cylinders that touch each other and the apply  positive voltage to
one face at one end and negative voltage at the opposite face on the other end to show that I can
build something simple and see that the potential in a stat current model is working. The problem
is that, for some reason, the three cylinders do not seem to be connecting to each other. When I
run the model, each of the three cylinders keeps its own potential there is no gradient in potential
across the cylinders when I adjust the conductivity to low values. It seems the surfaces of the three
cylinders do not connect electrically. I’ve turned on the ‘sew faces’ option, but still no luck.
Can anyone give me any ideas?

Thanks,

Tony


//+
SetFactory("OpenCASCADE");
Cylinder(1) = {-50, -7.5, 0, 100, 0, 0, 7.5, 2*Pi};
Cylinder(2) = {-51, -7.5, 0, 1, 0, 0, 0.25, 2*Pi};
Cylinder(3) = {50, -7.5, 0, 1, 0, 0, 0.25, 2*Pi};
lcar1 = .1;
lcar2 = 1.0;

Characteristic Length{ PointsOf{ Volume{2:3}; } } = lcar1;
Characteristic Length{ PointsOf{ Volume{1}; } } = lcar2;
//+
Show "*";

Tony Ozzello

Technologist
Liquid Filtration Division

T +1 512 244 5205    M +1 518 944 3519

________________________________

[Entegris | 50 years of pure advantage]<http://www.entegris.com/>

700 Jeffrey Way, Suite 400
Round Rock, Texas 78665 USA



[PACE | A values-driven culture]



_______________________________________________
gmsh mailing list
gmsh at onelab.info<mailto:gmsh at onelab.info>
http://onelab.info/mailman/listinfo/gmsh


--
Max Orok
Contractor
www.mevex.com<http://www.mevex.com>

[https://docs.google.com/uc?export=download&id=1fHTIiW4OMUjQr1iOkspQ7wiEsxunoOs0&revid=0B6x5w-5zVaEjSkpwbm5oY29jbG1XMzJoYldXTmJpNGFtb3dVPQ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20190315/bb91d01c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6691 bytes
Desc: image001.png
URL: <http://onelab.info/pipermail/gmsh/attachments/20190315/bb91d01c/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 1921 bytes
Desc: image002.png
URL: <http://onelab.info/pipermail/gmsh/attachments/20190315/bb91d01c/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 158803 bytes
Desc: image003.png
URL: <http://onelab.info/pipermail/gmsh/attachments/20190315/bb91d01c/attachment-0005.png>


More information about the gmsh mailing list