[Gmsh] Question regarding the restrict field

David Colignon David.Colignon at ulg.ac.be
Fri Apr 30 10:56:16 CEST 2010


Hi Stéphane,

first of all, as stated in the doc, the Attractor/FacesList is experimental and is not guaranteed to work...

Then, in your .geo, only Field[3] will be taken into account. If you want to combine several fields, then you must 
define a last field as the minimum (Min) or maximum (Max) of all the other fields.

But I think you should start by defining a characteristic length at every points of your geometry ( item 1. in 
http://www.geuz.org/gmsh/doc/texinfo/gmsh.html#Characteristic-lengths )

Regards,

Dave



On 29/04/10 17:37, Stéphane Blanchet wrote:
> Hello,
>
> Here is my geo file, in this example I would like to restrict the
> "threshold" field to all the volumes, except the outlet. But the mesh I
> get is very bad, as if GMsh did not take into account the threshold for
> the whole geometry.
> I probably did something wrong but I don't know where...
>
> My Best Regards,
>
> Stephane
>
>
>
>
>  > Date: Thu, 29 Apr 2010 14:09:31 +0200
>  > From: David.Colignon at ulg.ac.be
>  > To: stephane.blanchet at esstin.uhp-nancy.fr
>  > CC: gmsh at geuz.org
>  > Subject: Re: [Gmsh] Question regarding the restrict field
>  >
>  >
>  > On 16/04/10 10:55, Stéphane BLANCHET wrote:
>  >
>  > > Dear support,
>  > >
>  > > I use the restrict field to mesh my geometry, and it works so far with
>  > > surfaces. But when I want to use this field on a volume, using
>  > > "RegionsList", it seems that Gmsh does not handle this restriction, and
>  > > I really don't know why.
>  >
>  >
>  > Hi Stéphane,
>  >
>  > can you send us an example and a more precise description of your
> problem ?
>  >
>  > Regards,
>  >
>  > Dave
>  >
>  >
>  > --
>  > David Colignon, Ph.D.
>  > Collaborateur Logistique du F.R.S.-FNRS
>  > CÉCI - Consortium des Équipements de Calcul Intensif
>  > ACE - Applied & Computational Electromagnetics
>  > Sart-Tilman B28
>  > Université de Liège
>  > 4000 Liège - BELGIQUE
>  > Tél: +32 (0)4 366 37 32
>  > Fax: +32 (0)4 366 29 10
>  > WWW: http://hpc.montefiore.ulg.ac.be/
>  > Agenda:
> http://www.google.com/calendar/embed?src=david.colignon%40gmail.com
>  >
>  >
>  >
>  >
>  > >
>  > > I would really appreciate any help.
>  > >
>  > > Furthermore, it seems there are some restrictions about the creation of
>  > > prismatic boundary layers (problem of collapsing, etc.), so I am
>  > > wondering if this is something you are working on it, or if this is a
>  > > permanent restriction.
>  > >
>  > > My best regards
>  > >
>  > >
>  > > ---------------
>  > >
>  > > BLANCHET Stéphane
>  > >
>  > > Elève-Ingénieur ESSTIN (5eme Année)
>  > > Option: Mécanique des Fluides et Énergétique
>  > >
>  > > Tél: 0632224601
>  > > Mail: stephane.blanchet at esstin.uhp-nancy.fr
>  > >
>  > > Ecole Supérieure des Sciences et Technologies de l'Ingénieur de Nancy
>  > > Université Henri Poincaré Nancy I
>  > > 2, rue Jean Lamour
>  > > 54 519 - Vandoeuvre Lès Nancy
>  > >
>  > >
>  > >
>  > >
>  > >
> ------------------------------------------------------------------------
>  > > Envie de naviguer sur Internet sans laisser de trace? La solution avec
>  > > Internet Explorer 8 <http://clk.atdmt.com/FRM/go/207186970/direct/01/>
>  > >
>  > >
>  > >
>  > > _______________________________________________
>  > > gmsh mailing list
>  > > gmsh at geuz.org
>  > > http://www.geuz.org/mailman/listinfo/gmsh
>  >
>
> ------------------------------------------------------------------------
> Envie de naviguer sur Internet sans laisser de trace? La solution avec
> Internet Explorer 8 <http://clk.atdmt.com/FRM/go/207186970/direct/01/>