problem type-element type

Moderator: GiD Team

Post Reply
payoubi
Posts: 25
Joined: Tue Nov 15, 2016 2:50 am

problem type-element type

Post by payoubi »

I made an interface for my work which includes material types and boundary conditions. I am wondering how can I add the element type as well?
I used files .mat and .cnd for material and condition but I am not sure how to do it for element. For example if I want to select between triangle or quad element type and then using .bas file to generate my output.

Bests
User avatar
escolano
Posts: 1918
Joined: Sun Sep 05, 1982 10:51 pm

Re: problem type-element type

Post by escolano »

In the .bas file you can do a loop elems only in a sub-type of elements (previously specified)
e.g:

Code: Select all

*set elems(Triangle)
*add elems(Quadrilateral)
*loop elems
*elemsnum *elemsmat *elemsconec
*end elems
Post Reply