Page 1 of 1

problem type-element type

Posted: Fri Dec 09, 2016 5:08 am
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

Re: problem type-element type

Posted: Fri Dec 09, 2016 5:31 pm
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