[Gmsh] Defining Mesh

Thomas Bernhardt tzbernhardt at gmail.com
Tue Mar 17 16:44:25 CET 2015


This works if I want the mesh to be as small as the smaller of the meshes
across the surface but what if the mesh is too small and I want it to be
the size of the larger?

On Tue, Mar 17, 2015 at 9:22 AM, Mikhail Artemyev <
artemiev.mikhail at gmail.com> wrote:

>  Here is a quick and dirty solution:
>
> // --- scalpel2.geo ---
> Merge "scalpel2.step";
> Mesh.CharacteristicLengthMax = 2;
> Mesh.Algorithm = 1; // MeshAdapt
>
> The picture of the mesh I got is attached.
>
> Best,
> Mikhail
>
>
>
> On 03/17/2015 09:54 AM, Thomas Bernhardt wrote:
>
> The original scalpel is present in the .step file and in the .geo file I
> have defined one compound surface. My goal is to be able to have a uniform
> mesh throughout that compound surface.  The end goal is to have a process
> for making uniform meshes across surfaces that are one surface but divided
> on a CAD model.  Thanks for your help.
>
> On Tue, Mar 17, 2015 at 8:46 AM, Mikhail Artemyev <
> artemiev.mikhail at gmail.com> wrote:
>
>>  Hi Thomas,
>>
>> If you share that example of a scalpel with Compound Surfaces that you
>> defined, I can try and show what can be done.
>>
>> Best,
>> Mikhail
>>
>>
>>
>> On 03/17/2015 09:18 AM, Thomas Bernhardt wrote:
>>
>> Can you give me an example of how I can change the mesh sizes in
>> practice? Where do I change that option?
>>
>> On Thu, Mar 12, 2015 at 9:43 AM, Mikhail Artemyev <
>> artemiev.mikhail at gmail.com> wrote:
>>
>>>  Hi Thomas,
>>>
>>>  I would suggest to play with the size of the mesh cells. There are
>>> several ways:
>>> http://geuz.org/gmsh/doc/texinfo/gmsh.html#Specifying-mesh-element-sizes
>>>
>>>  Best,
>>>  Mikhail
>>>
>>>
>>>
>>> On Thu, Mar 12, 2015 at 10:05 AM, <
>>> gmsh-request at ace20.montefiore.ulg.ac.be> wrote:
>>>
>>>> Hello,
>>>> In this picture the top is the original mesh of the scalpel. In the
>>>> bottom
>>>> I defined some compound surfaces. The mesh changed but the problem is
>>>> that
>>>> even in the one compound surface the mesh goes from point to point and
>>>> is
>>>> smaller in the areas where there used to be a smaller surface. I would
>>>> like
>>>> to be able to have a uniform mesh across surfaces.  Does this make the
>>>> problem clear?  Thanks for your help.
>>>>
>>>> On Wed, Mar 11, 2015 at 9:51 AM, David Bernstein <
>>>> David.Bernstein at meliorinnovations.com> wrote:
>>>>
>>>>  >  Hi Thomas, I?m sorry but I don?t understand your problem.  It would
>>>> be
>>>>
>>>> > helpful if you could post a small example.
>>>> >
>>>> >  Dave
>>>> >
>>>> >   On Mar 10, 2015, at 10:14 AM, Thomas Bernhardt <
>>>> tzbernhardt at gmail.com>
>>>> > wrote:
>>>> >
>>>> >  I am finding that I can define a compound surface and instead of a
>>>> bunch
>>>> > of separate meshes it treats it as one mesh but the points from the
>>>> > original surface divisions remain.  So the problem is that the mesh is
>>>> > defined based on points. The one mesh is the same as the original
>>>> broken up
>>>> > meshes. The mesh will still be smaller on the part of the compound
>>>> surface
>>>> > that used to be a smaller surface because points are closer together.
>>>> Any
>>>> > fix for this? Thanks for your help!
>>>> >
>>>> >  Thomas Bernhardt
>>>> >
>>>> > On Tue, Mar 10, 2015 at 10:23 AM, David Bernstein <
>>>> > David.Bernstein at meliorinnovations.com> wrote:
>>>> >
>>>> >> Hi Thomas, Take a look at the Compound Line/Surface/Volume entities
>>>> in
>>>> >> Gmsh.  These will probably do what you want.
>>>> >>
>>>> >> Regards,
>>>> >> Dave
>>>> >>
>>>> >>
>>>> >> > On Mar 10, 2015, at 7:42 AM, Thomas Bernhardt <
>>>> tzbernhardt at gmail.com>
>>>> >> wrote:
>>>> >> >
>>>> >> > Hello,
>>>> >> > I am trying to create a mesh in gmsh of a model that I have
>>>> imported.
>>>> >> The problem that I find is that every line in the model divides the
>>>> mesh.
>>>> >> Is there a way to mesh the whole surface as one body ignoring the
>>>> lines
>>>> >> that divide parts. For example on a simple aircraft model there will
>>>> be a
>>>> >> line dividing the metal surface from the glass of the cockpit.
>>>> However,
>>>> >> when defining a mesh I want to ignore this division and treat it as
>>>> one
>>>> >> single surface. Thanks for any help you can provide.
>>>> >> >
>>>> >> > Thomas Bernhardt
>>>> >>  > This e-mail is covered by the Electronic Communication Privacy
>>>> Act,
>>>> >> 18 U.S.C. Section 2510-2521 and may be legally privileged. If you
>>>> have
>>>> >> received this transmission in error, please notify the original
>>>> sender
>>>> >> immediately by return e-mail or by telephone at the telephone number
>>>> >> provided above and delete/trash the original message from your
>>>> system.
>>>> >> Thank you for your assistance. The information contained herein is
>>>> >> confidential information provided only for the use of the individual
>>>> or
>>>> >> entity for whom it was intended. If the reader of this message
>>>> received it
>>>> >> in error, is not the intended recipient, or if an attachment is made
>>>> in
>>>> >> error, the reader is hereby notified that any dissemination,
>>>> distribution
>>>> >> or copying of this communication is strictly prohibited.
>>>> >> > _______________________________________________
>>>> >> > gmsh mailing list
>>>> >> > gmsh at geuz.org
>>>> >> > http://www.geuz.org/mailman/listinfo/gmsh
>>>> >>
>>>> >> This e-mail is covered by the Electronic Communication Privacy Act,
>>>> 18
>>>> >> U.S.C. Section 2510-2521 and may be legally privileged. If you have
>>>> >> received this transmission in error, please notify the original
>>>> sender
>>>> >> immediately by return e-mail or by telephone at the telephone number
>>>> >> provided above and delete/trash the original message from your
>>>> system.
>>>> >> Thank you for your assistance. The information contained herein is
>>>> >> confidential information provided only for the use of the individual
>>>> or
>>>> >> entity for whom it was intended. If the reader of this message
>>>> received it
>>>> >> in error, is not the intended recipient, or if an attachment is made
>>>> in
>>>> >> error, the reader is hereby notified that any dissemination,
>>>> distribution
>>>> >> or copying of this communication is strictly prohibited.
>>>> >>
>>>> >
>>>> >  This e-mail is covered by the Electronic Communication Privacy Act,
>>>> 18
>>>> > U.S.C. Section 2510-2521 and may be legally privileged. If you have
>>>> > received this transmission in error, please notify the original sender
>>>> > immediately by return e-mail or by telephone at the telephone number
>>>> > provided above and delete/trash the original message from your system.
>>>> > Thank you for your assistance. The information contained herein is
>>>> > confidential information provided only for the use of the individual
>>>> or
>>>> > entity for whom it was intended. If the reader of this message
>>>> received it
>>>> > in error, is not the intended recipient, or if an attachment is made
>>>> in
>>>> > error, the reader is hereby notified that any dissemination,
>>>> distribution
>>>> > or copying of this communication is strictly prohibited.
>>>> >
>>>> >
>>>> >  This e-mail is covered by the Electronic Communication Privacy Act,
>>>> 18
>>>> > U.S.C. Section 2510-2521 and may be legally privileged. If you have
>>>> > received this transmission in error, please notify the original sender
>>>> > immediately by return e-mail or by telephone at the telephone number
>>>> > provided above and delete/trash the original message from your system.
>>>> > Thank you for your assistance. The information contained herein is
>>>> > confidential information provided only for the use of the individual
>>>> or
>>>> > entity for whom it was intended. If the reader of this message
>>>> received it
>>>> > in error, is not the intended recipient, or if an attachment is made
>>>> in
>>>> > error, the reader is hereby notified that any dissemination,
>>>> distribution
>>>> > or copying of this communication is strictly prohibited.
>>>> >
>>>>  -------------- next part --------------
>>>> An HTML attachment was scrubbed...
>>>> URL: <
>>>> http://www.geuz.org/pipermail/gmsh/attachments/20150312/405685ac/attachment.html
>>>> >
>>>> -------------- next part --------------
>>>> A non-text attachment was scrubbed...
>>>> Name: scalpel.JPG
>>>> Type: image/jpeg
>>>> Size: 2405430 bytes
>>>> Desc: not available
>>>> URL: <
>>>> http://www.geuz.org/pipermail/gmsh/attachments/20150312/405685ac/attachment.JPG
>>>> >
>>>>
>>>
>>>
>>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150317/d3ecf4f2/attachment.html>


More information about the gmsh mailing list