----- Original Message ----- From: "jean pierre aubry" <jeanpie...@lamachine.fr> To: "Christophe Geuzaine" <cgeuza...@ulg.ac.be> Sent: Friday, March 13, 2009 11:12 AM Subject: Re: [Gmsh] space frame models and physical
> Hello > > Many thanks for your quick answer, later in the week end i will send a > proper example. > > The main goal is to avoid to have two or more finite elements (with varying > mechanical properties) belonging to different Physicals > being built onto the same mesh line element, this happens with Aster > > I have a very large (several meters long) model made of steel sections, in > the midlle of which i have a few bolted joints with > elments a few mm long. > > I select all the elements to make a Physical named "tube 40x30" > > Then i do several zooms to select the small elements and create some new > Pysicals named "bolt n°xx" > > The goal is: > > To merge these "bolt n°xx" into a single one named "all bolts" > > This can be done in the present state of Gmsh by editing the .geo file > > Then to remove all the elements of "all bolts" from "tube 40x30" which would > otherwise pollute the calculation > > In the present state of Gmsh i call a function within the .geo file but i > have to manually create at first an expression list allbolts[] = {.......} > which contains the same elements as the Physical "all bolts" > > All this could be done interactively from within the GUI i guess > > I hope this is clear. > > A parctical example with the function i use later in the week end > > Yours > > > jean pierre > > ----- Original Message ----- > From: "Christophe Geuzaine" <cgeuza...@ulg.ac.be> > To: "jean pierre aubry" <jeanpie...@lamachine.fr> > Cc: <gmsh@geuz.org> > Sent: Thursday, March 12, 2009 9:14 PM > Subject: Re: [Gmsh] space frame models and physical > > > > jean pierre aubry wrote: > > > Hello > > > > > > > > > I am doing some modeling of space frame structures with Gmsh, then > > > processed with Aster, this means playing a bit with physicals. > > > > > > I have written some functions to process lists (excluding items > > > belonging to list “b” that shouldn't be in list ”a”, and so on) > > > > > > Before calling these functions I manually replace “Physical Line > > > (“something”) =” by “a[] =”. > > > > > > Isn't it a clever way to equal an expression list to a Physical?? > > > > > > > you mean, something like "Physical("something")=aa[];"? (I'm not sure I > > understand your question.) > > > > > > > > Some built in functions for doing this style of boolean on Physicals > > > would be a useful add on to Gmsh. > > > > > > > Indeed. That should not be too har to implement. What would be the most > > useful ones? > > > > Christophe > > > > > > > > Which otherwise is very good!! > > > > > > > > > jean pierre > > > > > > > > > > > > _______________________________________________ > > > gmsh mailing list > > > gmsh@geuz.org > > > http://www.geuz.org/mailman/listinfo/gmsh > > > > > > -- > > Prof. Christophe Geuzaine > > University of Liege, Electrical Engineering and Computer Science > > http://www.montefiore.ulg.ac.be/~geuzaine > > > _______________________________________________ gmsh mailing list gmsh@geuz.org http://www.geuz.org/mailman/listinfo/gmsh