Limit on Maximum Number of Recorders
Moderators: silvia, selimgunay, Moderators
Limit on Maximum Number of Recorders
Hello everybody,
I was just wondering if there was a limit on the maximum number of recorder objects that can be used during an analysis. I have a script that creates a large number of recorder objects but after creating about half of them it appears that OpenSEES just gives up on creating the rest. Has anyone else encountered this problem?
I have a rather large model and I am trying to output a lot of data (element forces/deformations, node displacements, fiber stress strains, etc.) for almost every element and node in my model. I need to do this because I am discritizing a masonry continuum into finite panels so I would like to be able to localize the the different failure mechanisms.
Thanks for any help and insight,
Andrew
I was just wondering if there was a limit on the maximum number of recorder objects that can be used during an analysis. I have a script that creates a large number of recorder objects but after creating about half of them it appears that OpenSEES just gives up on creating the rest. Has anyone else encountered this problem?
I have a rather large model and I am trying to output a lot of data (element forces/deformations, node displacements, fiber stress strains, etc.) for almost every element and node in my model. I need to do this because I am discritizing a masonry continuum into finite panels so I would like to be able to localize the the different failure mechanisms.
Thanks for any help and insight,
Andrew
Re: Limit on Maximum Number of Recorders
the limit is coming from the operaiting system, 512 or so windows, 1024 linux. you can up them a bit, but not by more than about 2.
i presume you are storing the results of all nodes and elements with similar responses in a single file.
i presume you are storing the results of all nodes and elements with similar responses in a single file.
Re: Limit on Maximum Number of Recorders
Yes, I am trying to combine them as best as possible but I need to have many of the nodes and elements separated for post processing purposes. I'll try moving to a linux machine.
Thanks,
Andrew
Thanks,
Andrew
Re: Limit on Maximum Number of Recorders
if not too large, try setMaxOpenFiles command
http://opensees.berkeley.edu/wiki/index ... es_Command
http://opensees.berkeley.edu/wiki/index ... es_Command
Re: Limit on Maximum Number of Recorders
When I use "setMaxOpenFiles" command, OpenSEES.tcl returned "invalid command name". What's the problem? My computer OS is Windows 64.
Re: Limit on Maximum Number of Recorders
Works fine for me. Post the code
Re: Limit on Maximum Number of Recorders
wipe all;
# Start of model generation
# =========================
# Create ModelBuilder
# -------------------
model BasicBuilder -ndm 3 -ndf 6
setMaxOpenFiles 610
# Define geometry
# ---------------
source NodeCoord.tcl
puts "nodecoord"
# Define Single Point Constraints
# -------------------------------
source SPConstraint.tcl
puts "spConstraint"
source MPConstraint.tcl
puts "mpConstraint"
# Define nodal masses
# -------------------
source NodeMass.tcl
# Define material(s)
# ------------------
source Materials.tcl
puts "materials"
# Define section(s)
# -----------------
source Sections.tcl
puts "sections"
# Define geometric transformation(s)
# ----------------------------------
source GeoTran.tcl
puts "geotran"
# Define element(s)
# -----------------
source Elements.tcl
puts "elements"
# Define recorder(s)
# --------------------
source Recorder.tcl
# source Recorder2.tcl
puts "recorder"
# Define time series
# ------------------
source TimeSeries.tcl
# Start of anaysis generation
# ===========================
# Get Initial Stiffness
# ---------------------
initialize
# Analysis: Gravity
# ++++++++++++++++++++++++
# Define load pattern
# -------------------
source LoadPatternGravity.tcl
puts "loadpatternGravity"
# Define analysis options
# -----------------------
source AnalysisOptnGravity.tcl
puts "analysisoptnGravity"
analyze 10
# maintain constant gravity loads and reset time to zero
# -----------------------
loadConst -time 0.0
puts "Model Built"
set Tol 1e-6
set lambda [eigen 1]
set lam $lambda
lappend f [expr sqrt($lam)/(2*3.1415)]
lappend T [expr (2*3.1415)/sqrt($lam)]
set period "Periods.txt"
set Periods [open $period "w"]
puts $Periods "$T"
close $Periods
source AnalysisEQ.Uniform.tcl
# Start of model generation
# =========================
# Create ModelBuilder
# -------------------
model BasicBuilder -ndm 3 -ndf 6
setMaxOpenFiles 610
# Define geometry
# ---------------
source NodeCoord.tcl
puts "nodecoord"
# Define Single Point Constraints
# -------------------------------
source SPConstraint.tcl
puts "spConstraint"
source MPConstraint.tcl
puts "mpConstraint"
# Define nodal masses
# -------------------
source NodeMass.tcl
# Define material(s)
# ------------------
source Materials.tcl
puts "materials"
# Define section(s)
# -----------------
source Sections.tcl
puts "sections"
# Define geometric transformation(s)
# ----------------------------------
source GeoTran.tcl
puts "geotran"
# Define element(s)
# -----------------
source Elements.tcl
puts "elements"
# Define recorder(s)
# --------------------
source Recorder.tcl
# source Recorder2.tcl
puts "recorder"
# Define time series
# ------------------
source TimeSeries.tcl
# Start of anaysis generation
# ===========================
# Get Initial Stiffness
# ---------------------
initialize
# Analysis: Gravity
# ++++++++++++++++++++++++
# Define load pattern
# -------------------
source LoadPatternGravity.tcl
puts "loadpatternGravity"
# Define analysis options
# -----------------------
source AnalysisOptnGravity.tcl
puts "analysisoptnGravity"
analyze 10
# maintain constant gravity loads and reset time to zero
# -----------------------
loadConst -time 0.0
puts "Model Built"
set Tol 1e-6
set lambda [eigen 1]
set lam $lambda
lappend f [expr sqrt($lam)/(2*3.1415)]
lappend T [expr (2*3.1415)/sqrt($lam)]
set period "Periods.txt"
set Periods [open $period "w"]
puts $Periods "$T"
close $Periods
source AnalysisEQ.Uniform.tcl
Re: Limit on Maximum Number of Recorders
works fine .. what version of the code are you using?
Re: Limit on Maximum Number of Recorders
Dear frank, I also did some tests, it worked in the new version 2.4.2. I just wonder in which version you have implemented this command because I have checked the change log, but i can't find corresponding information. Thank you!
Re: Limit on Maximum Number of Recorders
Sorry it didn't work because I used the old version. After I updated it works well.
Re: Limit on Maximum Number of Recorders
that went into source code version 5414