<div dir="ltr">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?<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 17, 2015 at 9:22 AM, Mikhail Artemyev <span dir="ltr"><<a href="mailto:artemiev.mikhail@gmail.com" target="_blank">artemiev.mikhail@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Here is a quick and dirty solution:<br>
    <br>
    // --- scalpel2.geo ---<br>
    Merge "scalpel2.step";<br>
    Mesh.CharacteristicLengthMax = 2;<br>
    Mesh.Algorithm = 1; // MeshAdapt<br>
    <br>
    The picture of the mesh I got is attached.<br>
    <br>
    Best,<br>
    Mikhail<div><div><br>
    <br>
    <br>
    <div>On 03/17/2015 09:54 AM, Thomas
      Bernhardt wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">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.</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Mar 17, 2015 at 8:46 AM,
          Mikhail Artemyev <span dir="ltr"><<a href="mailto:artemiev.mikhail@gmail.com" target="_blank">artemiev.mikhail@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> Hi Thomas,<br>
              <br>
              If you share that example of a scalpel with Compound
              Surfaces that you defined, I can try and show what can be
              done.<br>
              <br>
              Best,<br>
              Mikhail
              <div>
                <div><br>
                  <br>
                  <br>
                  <div>On 03/17/2015 09:18 AM, Thomas Bernhardt wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Can you give me an example of how I
                      can change the mesh sizes in practice? Where do I
                      change that option?</div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Thu, Mar 12, 2015 at
                        9:43 AM, Mikhail Artemyev <span dir="ltr"><<a href="mailto:artemiev.mikhail@gmail.com" target="_blank">artemiev.mikhail@gmail.com</a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                          <div dir="ltr">
                            <div class="gmail_extra">Hi Thomas,<br>
                              <br>
                            </div>
                            <div class="gmail_extra">I would suggest to
                              play with the size of the mesh cells.
                              There are several ways: <a href="http://geuz.org/gmsh/doc/texinfo/gmsh.html#Specifying-mesh-element-sizes" target="_blank">http://geuz.org/gmsh/doc/texinfo/gmsh.html#Specifying-mesh-element-sizes</a><br>
                              <br>
                            </div>
                            <div class="gmail_extra">Best,<br>
                            </div>
                            <div class="gmail_extra">Mikhail<br>
                              <br>
                            </div>
                            <div class="gmail_extra"><br>
                              <br>
                              <div class="gmail_quote"><span>On Thu, Mar
                                  12, 2015 at 10:05 AM, <span dir="ltr"><<a href="mailto:gmsh-request@ace20.montefiore.ulg.ac.be" target="_blank">gmsh-request@ace20.montefiore.ulg.ac.be</a>></span>
                                  wrote:<br>
                                </span>
                                <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                                  <div style="overflow:hidden"><span>Hello,<br>
                                      In this picture the top is the
                                      original mesh of the scalpel. In
                                      the bottom<br>
                                      I defined some compound surfaces.
                                      The mesh changed but the problem
                                      is that<br>
                                      even in the one compound surface
                                      the mesh goes from point to point
                                      and is<br>
                                      smaller in the areas where there
                                      used to be a smaller surface. I
                                      would like<br>
                                      to be able to have a uniform mesh
                                      across surfaces.  Does this make
                                      the<br>
                                      problem clear?  Thanks for your
                                      help.<br>
                                      <br>
                                      On Wed, Mar 11, 2015 at 9:51 AM,
                                      David Bernstein <<br>
                                      <a href="mailto:David.Bernstein@meliorinnovations.com" target="_blank">David.Bernstein@meliorinnovations.com</a>>

                                      wrote:<br>
                                      <br>
                                    </span> >  Hi Thomas, I?m sorry
                                    but I don?t understand your
                                    problem.  It would be
                                    <div>
                                      <div><br>
                                        > helpful if you could post a
                                        small example.<br>
                                        ><br>
                                        >  Dave<br>
                                        ><br>
                                        >   On Mar 10, 2015, at 10:14
                                        AM, Thomas Bernhardt <<a href="mailto:tzbernhardt@gmail.com" target="_blank">tzbernhardt@gmail.com</a>><br>
                                        > wrote:<br>
                                        ><br>
                                        >  I am finding that I can
                                        define a compound surface and
                                        instead of a bunch<br>
                                        > of separate meshes it
                                        treats it as one mesh but the
                                        points from the<br>
                                        > original surface divisions
                                        remain.  So the problem is that
                                        the mesh is<br>
                                        > defined based on points.
                                        The one mesh is the same as the
                                        original broken up<br>
                                        > meshes. The mesh will still
                                        be smaller on the part of the
                                        compound surface<br>
                                        > that used to be a smaller
                                        surface because points are
                                        closer together. Any<br>
                                        > fix for this? Thanks for
                                        your help!<br>
                                        ><br>
                                        >  Thomas Bernhardt<br>
                                        ><br>
                                        > On Tue, Mar 10, 2015 at
                                        10:23 AM, David Bernstein <<br>
                                        > <a href="mailto:David.Bernstein@meliorinnovations.com" target="_blank">David.Bernstein@meliorinnovations.com</a>>

                                        wrote:<br>
                                        ><br>
                                        >> Hi Thomas, Take a look
                                        at the Compound
                                        Line/Surface/Volume entities in<br>
                                        >> Gmsh.  These will
                                        probably do what you want.<br>
                                        >><br>
                                        >> Regards,<br>
                                        >> Dave<br>
                                        >><br>
                                        >><br>
                                        >> > On Mar 10, 2015,
                                        at 7:42 AM, Thomas Bernhardt
                                        <<a href="mailto:tzbernhardt@gmail.com" target="_blank">tzbernhardt@gmail.com</a>><br>
                                        >> wrote:<br>
                                        >> ><br>
                                        >> > Hello,<br>
                                        >> > I am trying to
                                        create a mesh in gmsh of a model
                                        that I have imported.<br>
                                        >> The problem that I find
                                        is that every line in the model
                                        divides the mesh.<br>
                                        >> Is there a way to mesh
                                        the whole surface as one body
                                        ignoring the lines<br>
                                        >> that divide parts. For
                                        example on a simple aircraft
                                        model there will be a<br>
                                        >> line dividing the metal
                                        surface from the glass of the
                                        cockpit. However,<br>
                                        >> when defining a mesh I
                                        want to ignore this division and
                                        treat it as one<br>
                                        >> single surface. Thanks
                                        for any help you can provide.<br>
                                        >> ><br>
                                        >> > Thomas Bernhardt<br>
                                        >>  > This e-mail is
                                        covered by the Electronic
                                        Communication Privacy Act,<br>
                                        >> 18 U.S.C. Section
                                        2510-2521 and may be legally
                                        privileged. If you have<br>
                                        >> received this
                                        transmission in error, please
                                        notify the original sender<br>
                                        >> immediately by return
                                        e-mail or by telephone at the
                                        telephone number<br>
                                        >> provided above and
                                        delete/trash the original
                                        message from your system.<br>
                                        >> Thank you for your
                                        assistance. The information
                                        contained herein is<br>
                                        >> confidential
                                        information provided only for
                                        the use of the individual or<br>
                                        >> entity for whom it was
                                        intended. If the reader of this
                                        message received it<br>
                                        >> in error, is not the
                                        intended recipient, or if an
                                        attachment is made in<br>
                                        >> error, the reader is
                                        hereby notified that any
                                        dissemination, distribution<br>
                                        >> or copying of this
                                        communication is strictly
                                        prohibited.<br>
                                        >> >
                                        _______________________________________________<br>
                                        >> > gmsh mailing list<br>
                                        >> > <a href="mailto:gmsh@geuz.org" target="_blank">gmsh@geuz.org</a><br>
                                        >> > <a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/listinfo/gmsh</a><br>
                                        >><br>
                                        >> This e-mail is covered
                                        by the Electronic Communication
                                        Privacy Act, 18<br>
                                        >> U.S.C. Section
                                        2510-2521 and may be legally
                                        privileged. If you have<br>
                                        >> received this
                                        transmission in error, please
                                        notify the original sender<br>
                                        >> immediately by return
                                        e-mail or by telephone at the
                                        telephone number<br>
                                        >> provided above and
                                        delete/trash the original
                                        message from your system.<br>
                                        >> Thank you for your
                                        assistance. The information
                                        contained herein is<br>
                                        >> confidential
                                        information provided only for
                                        the use of the individual or<br>
                                        >> entity for whom it was
                                        intended. If the reader of this
                                        message received it<br>
                                        >> in error, is not the
                                        intended recipient, or if an
                                        attachment is made in<br>
                                        >> error, the reader is
                                        hereby notified that any
                                        dissemination, distribution<br>
                                        >> or copying of this
                                        communication is strictly
                                        prohibited.<br>
                                        >><br>
                                        ><br>
                                        >  This e-mail is covered by
                                        the Electronic Communication
                                        Privacy Act, 18<br>
                                        > U.S.C. Section 2510-2521
                                        and may be legally privileged.
                                        If you have<br>
                                        > received this transmission
                                        in error, please notify the
                                        original sender<br>
                                        > immediately by return
                                        e-mail or by telephone at the
                                        telephone number<br>
                                        > provided above and
                                        delete/trash the original
                                        message from your system.<br>
                                        > Thank you for your
                                        assistance. The information
                                        contained herein is<br>
                                        > confidential information
                                        provided only for the use of the
                                        individual or<br>
                                        > entity for whom it was
                                        intended. If the reader of this
                                        message received it<br>
                                        > in error, is not the
                                        intended recipient, or if an
                                        attachment is made in<br>
                                        > error, the reader is hereby
                                        notified that any dissemination,
                                        distribution<br>
                                        > or copying of this
                                        communication is strictly
                                        prohibited.<br>
                                        ><br>
                                        ><br>
                                        >  This e-mail is covered by
                                        the Electronic Communication
                                        Privacy Act, 18<br>
                                        > U.S.C. Section 2510-2521
                                        and may be legally privileged.
                                        If you have<br>
                                        > received this transmission
                                        in error, please notify the
                                        original sender<br>
                                        > immediately by return
                                        e-mail or by telephone at the
                                        telephone number<br>
                                        > provided above and
                                        delete/trash the original
                                        message from your system.<br>
                                        > Thank you for your
                                        assistance. The information
                                        contained herein is<br>
                                        > confidential information
                                        provided only for the use of the
                                        individual or<br>
                                        > entity for whom it was
                                        intended. If the reader of this
                                        message received it<br>
                                        > in error, is not the
                                        intended recipient, or if an
                                        attachment is made in<br>
                                        > error, the reader is hereby
                                        notified that any dissemination,
                                        distribution<br>
                                        > or copying of this
                                        communication is strictly
                                        prohibited.<br>
                                        ><br>
                                      </div>
                                    </div>
                                    -------------- next part
                                    --------------<br>
                                    An HTML attachment was scrubbed...<br>
                                    URL: <<a href="http://www.geuz.org/pipermail/gmsh/attachments/20150312/405685ac/attachment.html" target="_blank">http://www.geuz.org/pipermail/gmsh/attachments/20150312/405685ac/attachment.html</a>><br>
                                    -------------- next part
                                    --------------<br>
                                    A non-text attachment was
                                    scrubbed...<br>
                                    Name: scalpel.JPG<br>
                                    Type: image/jpeg<br>
                                    Size: 2405430 bytes<br>
                                    Desc: not available<br>
                                    URL: <<a href="http://www.geuz.org/pipermail/gmsh/attachments/20150312/405685ac/attachment.JPG" target="_blank">http://www.geuz.org/pipermail/gmsh/attachments/20150312/405685ac/attachment.JPG</a>></div>
                                </blockquote>
                              </div>
                              <br>
                              <br>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div></div>