Search found 143 matches

by Prafullamalla
Sun Jul 11, 2021 2:46 am
Forum: OpenSeesPy
Topic: Trapezoidal load problem
Replies: 2
Views: 246

Re: Trapezoidal load problem

When you replied you got correct result. Then, I thought the only problem might be my older version 3.2. I upgraded to version 3.3. and got the correct result.
by Prafullamalla
Thu Jul 08, 2021 9:11 pm
Forum: OpenSeesPy
Topic: Trapezoidal load problem
Replies: 2
Views: 246

Trapezoidal load problem

I followed trapezoidal load from link but it gives the result of uniformly distributed load https://portwooddigital.com/2021/05/05/trapezoidal-beam-loads/ import openseespy.opensees as ops import numpy as np import matplotlib.pyplot as plt from math import asin, sqrt # Create ModelBuilder (with two-...
by Prafullamalla
Sat Feb 20, 2021 2:47 am
Forum: OpenSeesPy
Topic: Moving Truck load analysis Example
Replies: 2
Views: 884

Re: Moving Truck load analysis Example

Envelope for shear force and bending moment add the code at end # Envelope BM and SF envBM=np.zeros( (nIP, 2) ) # Initial variable to store data envSF=np.zeros( (nIP, 3) ) # Initial variable to store data for m in range(nIP): envBM[m,0]=Criticallocs[m]*L/ft; envBM[m,1]=np.max(np.abs(bM[:,(m+1)])); e...
by Prafullamalla
Fri Feb 19, 2021 8:34 pm
Forum: OpenSeesPy
Topic: Moving Truck load analysis Example
Replies: 2
Views: 884

Re: Moving Truck load analysis Example

There is some error on first code, it considers only first wheel on bridge due to [break command in if else]. Also, the location of storing BM and SF was wrong. Check the graph in both codes. # -# -*- coding: utf-8 -*- """ Created on Sat Feb 13 00:58:19 2021 @author: praf_Malla@hotmail.com, Nepal ""...
by Prafullamalla
Thu Feb 18, 2021 10:55 pm
Forum: OpenSeesPy
Topic: OpenSeesPy install error!
Replies: 1
Views: 676

Re: OpenSeesPy install error!

you need to downgrade your python version. I think it does not support version 3.9.1.
by Prafullamalla
Thu Feb 18, 2021 10:42 pm
Forum: OpenSeesPy
Topic: Moving Truck load analysis Example
Replies: 2
Views: 884

Moving Truck load analysis Example

# -*- coding: utf-8 -*- """ Created on Sat Feb 13 00:58:19 2021 @author: praf_Malla@hotmail.com, Nepal """ # Reference M.Scott "Development of Bridge Rating Applications Using OpenSees and Tcl" # Units in N, mm, sec inch =1 ; ft =12. *inch ksi = 1; kip = 1; L = 40*ft P = 1*kip E = 4000*ksi G = 2400...
by Prafullamalla
Thu Nov 05, 2020 9:21 am
Forum: OpenSees.exe Users
Topic: ***Gravity Load Application Failed!!!
Replies: 5
Views: 1570

Re: ***Gravity Load Application Failed!!!

Is it possible to obtain the code
by Prafullamalla
Fri Jun 05, 2020 4:14 am
Forum: OpenSeesPy
Topic: module 'openseespy.opensees' has no attribute 'testNorm'
Replies: 5
Views: 3102

Re: module 'openseespy.opensees' has no attribute 'testNorm'

test('NormDispIncr', 1.0e-6, 1000)
by Prafullamalla
Sat May 30, 2020 8:29 am
Forum: OpenSeesPy
Topic: Problem in sharing .py file as it is indent based program
Replies: 2
Views: 1146

Re: Problem in sharing .py file as it is indent based program

Yes, the problem has been solved. Thanks Prof. Scott

Steps
--------------
1. Paste the code.
2. Select the code that you have pasted.
3. Click on the the the button </> just below the subject.
4. Submit
by Prafullamalla
Sat May 30, 2020 8:23 am
Forum: OpenSeesPy
Topic: Example of RC column with mixed beam element using OpenSeePy
Replies: 4
Views: 1521

Re: Example of RC column with mixed beam element using OpenSeePy

Thanks, Prof. Scott. Yeah, it's working. Its been few days, I have started using Python. "" " Created on Thu May 28 16:27:29 2020 @author: praf_malla@hotmail.com, Nepal Corona virus time, Lockdown. Stay home, Keep community safe. """ # ===============================================================...
by Prafullamalla
Sat May 30, 2020 8:12 am
Forum: OpenSeesPy
Topic: Example of RC column with mixed beam element using OpenSeePy
Replies: 4
Views: 1521

Re: Example of RC column with mixed beam element using OpenSeePy

Thanks, Prof. Scott. Yeah, it's working. Its been few days, I have started using Python. """ Created on Thu May 28 16:27:29 2020 @author: praf_malla@hotmail.com, Nepal Corona virus time, Lockdown. Stay home, Keep community safe. """ # =================================================================...
by Prafullamalla
Sat May 30, 2020 7:33 am
Forum: OpenSeesPy
Topic: Problem in sharing .py file as it is indent based program
Replies: 2
Views: 1146

Problem in sharing .py file as it is indent based program

As, I shared a python file, there will be problem in running a file shared here. The python program is indent based. So, the program would not run or may result erroneous as it will affect the loops. So, how can we share the files
by Prafullamalla
Sat May 30, 2020 7:28 am
Forum: OpenSeesPy
Topic: Example of RC column with mixed beam element using OpenSeePy
Replies: 4
Views: 1521

Re: Example of RC column with mixed beam element using OpenSeePy

Looks, there will be problem on sharing files in this platform as python is indent based program
by Prafullamalla
Sat May 30, 2020 3:43 am
Forum: OpenSeesPy
Topic: Example of RC column with mixed beam element using OpenSeePy
Replies: 4
Views: 1521

Example of RC column with mixed beam element using OpenSeePy

""" Created on Thu May 28 16:27:29 2020 @author: praf_malla@hotmail.com, Nepal @ Corona time, Lockdown :D :D """ # ============================================================================= # ANALYSIS OF RC COLUMN # ============================================================================= # U...