[Gmsh] Use of interpolation_scheme with multiple time steps

Christophe Geuzaine cag32 at case.edu
Sat Sep 16 22:16:22 CEST 2006


Stefan Sollerer wrote:
> Hi!
> 
> With the help of
> http://www.geuz.org/pipermail/gmsh/2006/001815.html
> and
> http://www.geuz.org/pipermail/gmsh/2006/001816.html
> I found out how to display symmetric results in a QUAD4 element. The 
> answer was to use the (new) functionality INTERPOLATION_SCHEME. But this 
> doesn't seem to work for multiple time steps:
> 
> Attachment "singleTime.pos" shows a symmetric map after inserting 
> INTERPOLATION_SCHEME and setting "recursion level =3" and "target error 
> = 0" in Options -> Range (using "Filled iso-values" as intervals type). 
> Attachment "multipleTime.pos" is similar to "singleTime.pos" but has an 
> additional time step entry in each scalar quad. However, only the first 
> time step is shown and it's not possible to cycle through the two steps.
> 
> Is it possible to use multiple time steps with the INTERPOLATION_SCHEME 
> function?

Hi Stephan - Unfortunately, not at the moment (it's one of the reasons 
this feature is not yet documented). We'll need to generalize the code...


> 
> Thanks for your help!
> 
> Stefan Sollerer
> 
> 
> ------------------------------------------------------------------------
> 
> View "singleTimestep" {
> 
> SQ(
> 0.0095,0.0030,0.0010,
> 0.0,0.0030,0.0010,
> 0.0,0.0,0.0010,
> 0.0095,0.0,0.0010
> ){
> 0.7,0.5,0.7,0.7
> };
> 
> SQ(
> 0.019,0.0030,0.0010,
> 0.0095,0.0030,0.0010,
> 0.0095,0.0,0.0010,
> 0.019,0.0,0.0010
> ){
> 0.5,0.7,0.7,0.7
> };
> 
> SQ(
> 0.0095,0.0060,0.0010,
> 0.0,0.0060,0.0010,
> 0.0,0.0030,0.0010,
> 0.0095,0.0030,0.0010
> ){
> 0.7,0.7,0.5,0.7
> };
> 
> SQ(
> 0.019,0.0060,0.0010,
> 0.0095,0.0060,0.0010,
> 0.0095,0.0030,0.0010,
> 0.019,0.0030,0.0010
> ){
> 0.7,0.7,0.7,0.5
> };
> 
> INTERPOLATION_SCHEME 
> {
>   {.25,-.25,.25,-.25},
>   {.25,.25,-.25,-.25},
>   {.25,.25,.25,.25},
>   {.25,-.25,-.25,.25}}
> { {0,0,0},
>   {1,0,0},
>   {1,1,0},
>   {0,1,0}
> };
> 
> };
> 
> 
> ------------------------------------------------------------------------
> 
> View "multipleTimesteps" {
> 
> SQ(
> 0.0095,0.0030,0.0010,
> 0.0,0.0030,0.0010,
> 0.0,0.0,0.0010,
> 0.0095,0.0,0.0010
> ){
> 1.0,1.0,1.0,1.0,
> 0.7,0.5,0.7,0.7
> };
> 
> SQ(
> 0.019,0.0030,0.0010,
> 0.0095,0.0030,0.0010,
> 0.0095,0.0,0.0010,
> 0.019,0.0,0.0010
> ){
> 1.0,1.0,1.0,1.0,
> 0.5,0.7,0.7,0.7
> };
> 
> SQ(
> 0.0095,0.0060,0.0010,
> 0.0,0.0060,0.0010,
> 0.0,0.0030,0.0010,
> 0.0095,0.0030,0.0010
> ){
> 1.0,1.0,1.0,1.0,
> 0.7,0.7,0.5,0.7
> };
> 
> SQ(
> 0.019,0.0060,0.0010,
> 0.0095,0.0060,0.0010,
> 0.0095,0.0030,0.0010,
> 0.019,0.0030,0.0010
> ){
> 1.0,1.0,1.0,1.0,
> 0.7,0.7,0.7,0.5
> };
> 
> INTERPOLATION_SCHEME 
> {
>   {.25,-.25,.25,-.25},
>   {.25,.25,-.25,-.25},
>   {.25,.25,.25,.25},
>   {.25,-.25,-.25,.25}}
> { {0,0,0},
>   {1,0,0},
>   {1,1,0},
>   {0,1,0}
> };
> 
> 
> };
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh


-- 
Christophe Geuzaine
Assistant Professor, Case Western Reserve University, Mathematics
http://www.case.edu/artsci/math/geuzaine