Hi - Indeed, Gmsh does not support variable order elements in the same mesh...
On 11 Dec 2012, at 09:31, Mohamed Moussa <mohamed.mouss...@gmail.com> wrote: > Hi again, > > I am trying to visualize a model with two different types of elements, > the basic 2-node line and the 4-node cubic line. When I try to use > "Adapt visualization grid" so I can see the deformation of the 4-node > line, I get "Error : Wrong number of values in adaptation 2 != 4". > > I did some testing and this does not happen when I remove the 2-node > line elements. It seems its trying to refine the 2-node line when it > doesn't need to? > > I have attached below a sample *.msh file, which is a simple truss problem. > > Regards, > > Mohamed > > ------ > > $MeshFormat > 2.2 0 8 > $EndMeshFormat > $Nodes > 9 > 1 0 0 0 > 2 1 0 0 > 3 2 0 0 > 4 1.5 1 0 > 5 0.5 1 0 > 6 0.333333 0 0 > 7 0.666667 0 0 > 8 1.33333 0 0 > 9 1.66667 0 0 > $EndNodes > $Elements > 7 > 1 1 0 1 5 > 2 1 0 5 2 > 3 1 0 2 4 > 4 1 0 4 3 > 5 1 0 5 4 > 6 26 0 1 2 6 7 > 7 26 0 2 3 8 9 > $EndElements > $NodeData > 1 > "Displacement" > 1 > 0.0 > 3 > 0 > 3 > 9 > 1 0 0 0 > 2 0.0214864 -0.152342 0 > 3 0.0429728 0 0 > 4 1.32276e-016 -0.0815428 0 > 5 0.0429728 -0.0815428 0 > 6 0 -0.07335 0 > 7 0 -0.129773 0 > 8 0 -0.129773 0 > 9 0 -0.07335 0 > $EndNodeData > > _______________________________________________ > 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