Search found 5 matches

by Masoudahmadiiiii
Sun Aug 22, 2021 12:02 am
Forum: OpenSeesPy
Topic: eleload
Replies: 0
Views: 10070

eleload

Hey dear friends.
I try to assign uniform load on my beams in openseespy. but I faced to error due to the some faults in syntax.
What is wrong with my syntax? I would be grateful for your help.
SYNTAX:
eleLoad('-range', 40202, 40209, '-type', '-beamUniform', -29000,0.)
by Masoudahmadiiiii
Sat Aug 21, 2021 11:50 pm
Forum: OpenSeesPy
Topic: Writing Proc in python
Replies: 5
Views: 5602

Re: Writing Proc in python

mhscott wrote: Mon Aug 16, 2021 7:24 am OpenSeesPy is a module, just like numpy you load it into your Python script. There's nothing special about it with respect to how you write your Python code.

https://portwooddigital.com/2019/11/18/ ... on-module/
Thank you Dear Scott
by Masoudahmadiiiii
Mon Aug 16, 2021 1:57 am
Forum: OpenSeesPy
Topic: Writing Proc in python
Replies: 5
Views: 5602

Re: Writing Proc in python

mhscott wrote: Sun Aug 15, 2021 6:14 am Search online for how to write a function in Python
Hey professor Scott.
I know writing function in python but we usually put "return" at the last sentence. is it needed in writing function for OpenSees-py?
by Masoudahmadiiiii
Sun Aug 15, 2021 3:10 am
Forum: OpenSees.exe Users
Topic: element joint2D problem
Replies: 2
Views: 2733

Re: element joint2D problem

The element connects the external nodes to the central node via multi-point constraints, and Joint2D must be used along with either the Penalty or the Transformation constraint handler.
by Masoudahmadiiiii
Sun Aug 15, 2021 12:14 am
Forum: OpenSeesPy
Topic: Writing Proc in python
Replies: 5
Views: 5602

Writing Proc in python

Hey everyone.
How can i writer a subroutine in openseespy (something like wrting proc in tcl).
I would be grateful if somebody help me with sending an example.