On 30 May 2013, at 23:03, Felix Salazar <[email protected]> wrote:
> I know I can add an smooth variation of the node distribution over an edge
> using
> Transfinite Line {linenumber} = numberofnodes Using Progression ratio;
>
> Is there any way to have a similar behavior using an extrusion?
> The closest thing so far has been (lc is a constant "characteristic" length)
> extrusion[]=Extrude{0,0,Lz}{
> Surface{79}; Layers{
> { Ceil(0.15*Lz/lc),
> Ceil(0.40*Lz/lc),
> Ceil(0.50*Lz/lc),
> Ceil(0.25*Lz/lc)},
> {0.05,0.25,0.65,1.00}
> }; Recombine;
> };
>
> This gives me a volume with 4 regions of different length and different
> constant grading within each region. Is there any way to have an smoother
> variation?
>
Sure: here's an example.
progression.geo
Description: Binary data
> ------------------------- > Félix Salazar > [email protected] > ------------------------- > _______________________________________________ > gmsh mailing list > [email protected] > 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 [email protected] http://www.geuz.org/mailman/listinfo/gmsh
