[Gmsh] Postprocessing with QUAD4 Element

remacle remacle at gce.ucl.ac.be
Tue Jan 24 09:37:36 CET 2006


Axel Gerstenberger wrote:

> Hi,
>
> this is a question to the developers of Gmsh.
>
> I'am using the QUAD4 element for postprocessing and I was wondering, 
> if  real bilinear interpolation is used for displaying the results.
>
Well, as you use it, the post pro does not use a bilinear interpolation. 
It cuts your quad into 2 triangles and that's it.

There is a new functionality in gmsh for displaying high order FEM fields.

add

INTERPOLATION_SCHEME 
{
  {.25,-.25,.25,-.25},
  {.25,.25,-.25,-.25},
  {.25,.25,.25,.25},
  {.25,-.25,-.25,.25}}
{ {0,0,0},
  {1,0,0},
  {0,1,0},
  {1,1,0}
};

after the last scalar quad of your map. Then, load your map and go into 
the options -> Visibility

Maximum recursion level = 3 and target error = 0. Then apply and you 
will get something like that :

JFR



-- 
Prof. Jean-François Remacle
Department of Civil Engineering
Center for Systems Engineering and Applied Mechanics
Université catholique de Louvain, Belgium
Tel : +32 10 472082
Fax : +32 10 472210 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: quads.png
Type: image/png
Size: 6906 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20060124/bd3891c5/attachment.png>