Skip to content

Commit

Permalink
Removed '-closeOnWrite' from the recorders. (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
u-anurag committed Jun 22, 2020
1 parent 2e5ea9c commit b700ad2
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions openseespy-pip/openseespy/postprocessing/Get_Rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ def createODB(*argv):
Created folders: modelOutputFolder > loadCaseOutputFolder
For example: createODB(TwoSpanBridge, Pushover)
Not using '-closeOnWrite' options since it slows down the analysis time significantly. User to issue wipe()
command after each analysis in order to force the recorders to finish and close.
The integrationPoints output works only for nonlinear beam column elements. If a model has a combination
of elastic and nonlienar elements, we need to create a method distinguish.
Expand Down Expand Up @@ -91,14 +94,14 @@ def createODB(*argv):

# Save recorders in the ODB folder

recorder('Node', '-file', NodeDispFile, '-closeOnWrite', '-node', *nodeList, '-dof',*dofList, 'disp')
recorder('Node', '-file', ReactionFile, '-closeOnWrite', '-node', *nodeList, '-dof',*dofList, 'reaction')
recorder('Element', '-file', EleForceFile, '-closeOnWrite', '-ele', *eleList, '-dof',*dofList, 'localForce')
recorder('Element', '-file', EleBasicDefFile, '-closeOnWrite', '-ele', *eleList, '-dof',*dofList, 'basicDeformation')
recorder('Element', '-file', ElePlasticDefFile, '-closeOnWrite', '-ele', *eleList, '-dof',*dofList, 'plasticDeformation')
recorder('Element','-file', EleStressFile, '-closeOnWrite','-ele', *eleList,'stresses')
recorder('Element','-file', EleStrainFile, '-closeOnWrite','-ele', *eleList,'strains')
# recorder('Element', '-file', EleIntPointsFile, '-closeOnWrite', '-ele', *eleList, 'integrationPoints') # Records IP locations only in NL elements
recorder('Node', '-file', NodeDispFile, '-node', *nodeList, '-dof',*dofList, 'disp')
recorder('Node', '-file', ReactionFile, '-node', *nodeList, '-dof',*dofList, 'reaction')
recorder('Element', '-file', EleForceFile, '-ele', *eleList, '-dof',*dofList, 'localForce')
recorder('Element', '-file', EleBasicDefFile, '-ele', *eleList, '-dof',*dofList, 'basicDeformation')
recorder('Element', '-file', ElePlasticDefFile, '-ele', *eleList, '-dof',*dofList, 'plasticDeformation')
recorder('Element','-file', EleStressFile, '-ele', *eleList,'stresses')
recorder('Element','-file', EleStrainFile, '-ele', *eleList,'strains')
# recorder('Element', '-file', EleIntPointsFile, '-ele', *eleList, 'integrationPoints') # Records IP locations only in NL elements

# Add procedure to read data for plotting

Expand Down

0 comments on commit b700ad2

Please sign in to comment.