Search found 3 matches

by shimasdz
Sun May 08, 2022 5:42 am
Forum: OpenSees.exe Users
Topic: Placing Multiple Recorders into Single File
Replies: 2
Views: 2975

Re: Placing Multiple Recorders into Single File

aliakbar wrote: Sun Jul 25, 2021 1:48 am Dear all,

I have some time history results (max/min envelope result for each run of the loop) for a group of ground motions. I want to make Opensees write all the results into a single output file instead of placing each of them into a separate file which makes it very difficult to manage. Is it possible to do this?
Please guide.

Thanks
Dear Aliakbar,

I have 2 acceleration ground motions for x and y directions, I want to record result of each ground motion separetly, because when I have 1 recorder for both directions, I think maybe the results are wrong. is it possible to help me how to write 2 recorders for my 2 acceleration ground motions?
here is my code with 1 recorder:

# recorder time step
set recDT $motionDT

## record nodal displacments, velocities, and accelerations at each time step
recorder Node -file displacement.out -time -dT $recDT -nodeRange 1 $nNodeT -dof 1 2 3 disp
recorder Node -file velocity.out -time -dT $recDT -nodeRange 1 $nNodeT -dof 1 2 3 vel
recorder Node -file acceleration.out -time -dT $recDT -nodeRange 1 $nNodeT -dof 1 2 3 accel

# record stress and strain at each gauss point in the soil elements
recorder Element -file stress.out -time -dT $recDT -eleRange 1 $nElemT stress
recorder Element -file strain.out -time -dT $recDT -eleRange 1 $nElemT strain

puts "Finished creating post-gravity recorders..."

#-----------------------------------------------------------------------------------------
# 9. DYNAMIC ANALYSIS
#-----------------------------------------------------------------------------------------

# define velocity time history file

set accelFile1 KOBEaccH1.txt
set accelFile2 KOBEaccUP.txt

set timeSeries1 "Path 101 -dt 0.01 -filePath $accelFile1 -factor 9.81"
set timeSeries2 "Path 102 -dt 0.01 -filePath $accelFile2 -factor 9.81"


pattern MultipleSupport 1 {
groundMotion 101 Plain -accel $timeSeries1
imposedMotion 1 1 101 ;# node, dof, gmTag
groundMotion 102 Plain -accel $timeSeries2
imposedMotion 2 2 102
}

puts "Dynamic loading created..."

constraints Penalty 1.e14 1.e14
test NormDispIncr 1.0e-3 55 1
algorithm KrylovNewton
numberer Plain
system SparseGeneral
integrator Newmark $gamma $beta
rayleigh $a0 $a1 0.0 0.0
analysis Transient
by shimasdz
Sat Apr 23, 2022 4:43 am
Forum: OpenSees.exe Users
Topic: bi directional Eartquake applying on a soil column
Replies: 0
Views: 12174

bi directional Eartquake applying on a soil column

hello everyone,

I have a 3D soil column for nonlinear site response analysis which I wanted to apply different x and y direction (horizontal and vertical) accelerations via uniform excitation pattern. I have used the timeSeries command to define the two different GM record, but there is no difference btw bidirectional analysis and 1 direction (for example only x direction acc) results. I am wonder maybe I have problem to way I apply uniform excitation code and the way I record them. could you please help me?
(I built the model, I applied static loads and set time to zero, then I apply x and y direction accelerations for dynamic loadings, and here is a small part of my model)


...........................................................................................
puts "Finished with plastic gravity analysis..."

#-----------------------------------------------------------------------------------------
# 8. CREATE POST-GRAVITY RECORDERS
#-----------------------------------------------------------------------------------------
# reset time and analysis
setTime 0.0
wipeAnalysis
remove recorders

# recorder time step
set recDT $motionDT

## record nodal displacments, velocities, and accelerations at each time step
recorder Node -file displacement.out -time -dT $recDT -nodeRange 1 $nNodeT -dof 1 2 3 disp
recorder Node -file velocity.out -time -dT $recDT -nodeRange 1 $nNodeT -dof 1 2 3 vel
recorder Node -file acceleration.out -time -dT $recDT -nodeRange 1 $nNodeT -dof 1 2 3 accel

# record stress and strain at each gauss point in the soil elements
recorder Element -file stress.out -time -dT $recDT -eleRange 1 $nElemT stress
recorder Element -file strain.out -time -dT $recDT -eleRange 1 $nElemT strain

puts "Finished creating post-gravity recorders..."

#-----------------------------------------------------------------------------------------
# 9. DYNAMIC ANALYSIS
#-----------------------------------------------------------------------------------------

# define velocity time history file
set accelFile1 RSN1108_KOBE_KBU000.AT2
set accelFile2 RSN1108_KOBE_KBU090.AT2

set timeSeries1 "Path 1 -dt 0.01 -filePath $accelFile1 -factor 9.81"
set timeSeries2 "Path 2 -dt 0.01 -filePath $accelFile2 -factor 9.81"

pattern UniformExcitation 10 1 -accel $timeSeries1
pattern UniformExcitation 11 2 -accel $timeSeries2

# pattern MultipleSupport 1 {
# groundMotion 101 Plain -vel $timeSeries1
# imposedMotion 1 1 101 ;# node, dof, gmTag
# groundMotion 102 Plain -vel $timeSeries2
# imposedMotion 2 2 102
# }

puts "Dynamic loading created..."

constraints Penalty 1.e14 1.e14
test NormDispIncr 1.0e-3 55 1
algorithm KrylovNewton
numberer Plain
system SparseGeneral
integrator Newmark $gamma $beta
rayleigh $a0 $a1 0.0 0.0
analysis Transient
by shimasdz
Sat Apr 23, 2022 4:31 am
Forum: OpenSees.exe Users
Topic: Bi-directional excitation and element force recording
Replies: 2
Views: 3444

Re: Bi-directional excitation and element force recording

Dear Tugce,
I have the same problem. I have a 3D soil column which I wanted to apply x and y direction acceleration via uniform excitation pattern. but there is no difference btw bidirectional analysis and 1 direction (for example only x direction acc) analysis. I am wonder maybe I have problem to way I apply uniform excitation code and the way I record them. could you please help me?