Problem With Recording

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
evgin
Posts: 64
Joined: Tue Dec 06, 2011 3:18 pm
Location: UCLA

Problem With Recording

Post by evgin » Wed Oct 15, 2014 12:13 pm

Hi

I am getting this massage when I am trying to do dynamic analysis on my 8-story concrete frame building which is modeled in 3D.


"couldn't read file "ReadNGAFile.tcl": too many open files"


How can I fix this problem ??

here are my recorder commands given below ;

When I limit '' level'' to a few numbers for example 2000, 4000, and 7000. it works .

But how can I get my recorders work for the entire model?




########################################
########################################
########################################


#### recording force and deformation in springs


for {set level 2000} {$level <= 7000} {incr level 1000} {



foreach count {1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 21 22 24 25 27 28 30 31 33 34 36 37 39 40 42 43 45 46 48} {



set zerolid [expr $level+10000+$count]




file mkdir Datazerolength



recorder Element -file Datazerolength/force_$zerolid.out -ele $zerolid force 1 2 6


recorder Element -file Datazerolength/def_$zerolid.out -ele $zerolid deformation 1 2 6



}


}

#############################################
#############################################





# column id starts from 1500 cuz beems id ends at 1400

# please also note that column eles connect nodes of 2 consequtive levels, for instance, 2000-3000, 3000-4000,....



for {set level 2000} { $level <= 7000} {incr level 1000} {


foreach count {1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 21 22 24 25 27 28 30 31 33 34 36 37 39 40 42 43 45 46 48} {



if {$level==2000} {

set id 9000

} elseif {$level==3000} {


set id 9100

} elseif {$level==4000} {


set id 9200

} elseif {$level==5000} {


set id 9300

} elseif {$level==6000} {


set id 9400

} elseif {$level==7000} {


set id 9500

}




set colid [expr $level+$id+$count]


#########################################

file mkdir DatacolumnForDef



#recorder Element -file DatacolumnForDef/forcecol_$colid.out -ele $colid section force

recorder Element -file DatacolumnForDef/forcecol_$colid.out.out -ele $colid globalForce



recorder Element -file DatacolumnForDef/defcol_$colid.out.out -ele $colid section deformation

###########################################


file mkdir DatacoloumnDrift


#############################
#############################

###### recording inter-story dirfts for both directions 1 and 3

recorder Drift -file DatacoloumnDrift/coldriftdir1_$level$count.out -time -iNode [expr $level+$count] -jNode [expr $level+$count+1000] -dof 1 -perpDirn 2

recorder Drift -file DatacoloumnDrift/coldriftdir2_$level$count.out -time -iNode [expr $level+$count] -jNode [expr $level+$count+1000] -dof 3 -perpDirn 2





}

}


####################################
####################################
####################################
####################################

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: Problem With Recording

Post by fmk » Wed Oct 15, 2014 2:47 pm

you could put the results for all the elements in a single file.

if on windows you could increase the max number of open files allowed (there is a limit)
http://opensees.berkeley.edu/wiki/index ... es_Command

Post Reply