Joined: 10 Jan 2012
Location: Mumbai, India
|Posted: Fri Oct 09, 2015 5:23 am
I am trying to define young's modulus (EX) of 10 materials from an array. Array stores property "A" and EX=5000*sqrt(A). Does implied do loop not permit calculations, as shown below.
nmatc=10 ! number of materials
!array "matdata" has two columns (material no, material property)
above command gives me correct value of EX for 1st material. But every subsequent material EX is 1+EX of previous material.
Please advise if this kind of formulation is not possible or there is some other way round.
Do loop option is always there if implied do loop do not work.
Thanks a lot.
Dept of Civil Engineering
Indian Institute of Technology - Bombay (IIT-B)