Page 1 of 1

[GiDlist] node of different elements

Posted: Thu Aug 03, 2006 4:42 pm
by Andrea Mordini
I have two groups of nodes related to different elements,
let's say from 1 to 20 related to plane quadrilateral elements
and from 21 to 30 related to linear beam elements.
How is it possible to write them separately in the bas file?

andrea

---------------------------------------------------------------
Andrea Mordini VCE Holding GmbH
Civil Engineer, Ph.D. Hadikgasse 60
Phone: (+43 1) 897 53 39 1467 A-1140 Vienna - Austria
mordini at vce.at Fax.: (+43 1) 893 86 71
http://www.andreamordini.com http://www.vce.at
---------------------------------------------------------------

[GiDlist] node of different elements

Posted: Thu Aug 03, 2006 5:41 pm
by escolano
You can define and apply for example some additional condition to the source lines/surfaces to be transferred over nodes on the
mesh,
and then you can made a loop over the nodes of this conditions.

You can also use two layers to separate this entities.

Regards

Enrique Escolano

----- Original Message -----
From: "Andrea Mordini" mordini at vce.at
To: gidlist at gatxan.cimne.upc.es
Sent: Thursday, August 03, 2006 5:10 PM
Subject: [GiDlist] node of different elements


I have two groups of nodes related to different elements,
let's say from 1 to 20 related to plane quadrilateral elements
and from 21 to 30 related to linear beam elements.
How is it possible to write them separately in the bas file?

andrea

---------------------------------------------------------------
Andrea Mordini VCE Holding GmbH
Civil Engineer, Ph.D. Hadikgasse 60
Phone: (+43 1) 897 53 39 1467 A-1140 Vienna - Austria
mordini at vce.at Fax.: (+43 1) 893 86 71
http://www.andreamordini.com http://www.vce.at
---------------------------------------------------------------

_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist

Re: [GiDlist] node of different elements

Posted: Mon Feb 15, 2016 11:19 am
by escolano
In a .bas template you can do it with *set elems(<element type>) and then doing a loop on these elements,
something like this:

Code: Select all

*Set elems(Linear)
*Loop elems
*elemsnum *elemsmat *elemsconec
*End elems

*Set elems(Quadrilateral)
*Loop elems
*elemsnum *elemsmat *elemsconec
*End elems