Search found 13 matches

by YanYang
Fri Jan 07, 2022 3:51 am
Forum: OpenSeesPy
Topic: Whether it is possible to add a function that returns the type of the element.
Replies: 1
Views: 2696

Whether it is possible to add a function that returns the type of the element.

Dear Prof. Scott and Dr. Zhu.
Due to the need of visualizing the model, is it possible to add an OpenSeesPy function to return the type of the element? For example, like this.

Code: Select all

ele_type = ops.eleType(eleTag)
print(ele_type)
'dispBeamColumn'.
Thanks for your great work for OpenSees.
by YanYang
Mon Aug 30, 2021 12:11 am
Forum: OpenSeesPy
Topic: how smooth is model programming/analysis using OpenSeesPy compared to using TCL?
Replies: 5
Views: 4390

Re: how smooth is model programming/analysis using OpenSeesPy compared to using TCL?

Of course it is OpenSeespy, you can wrap your model into a function, and then you can use any python scientific library, such as scipy for scientific computing, joblib for model parallelism, etc.
You can take full advantage of the powerful ecology of python.
by YanYang
Sun Aug 29, 2021 11:47 pm
Forum: OpenSeesPy
Topic: assign N different sections for the distribute plastic element to simulate the non-prismatic section
Replies: 1
Views: 2145

assign N different sections for the distribute plastic element to simulate the non-prismatic section

Hi everyone, I recently encountered some confusion. When using distributed plastic elements, you need to assign the beam integration section. The integration point commands are as follows: beamIntegration('Lobatto', tag, secTag, N) tag (int) tag of the beam integration. secTag (int) A previous-defin...
by YanYang
Mon May 10, 2021 6:47 pm
Forum: OpenSeesPy
Topic: OpenSees PVDRecorder command
Replies: 2
Views: 3871

Re: OpenSees PVDRecorder command

How did you solve it?
Thanks
by YanYang
Mon Dec 07, 2020 7:00 pm
Forum: OpenSees.exe Users
Topic: How to use different integral point sections in displacement based and force based beam column elements
Replies: 1
Views: 1965

How to use different integral point sections in displacement based and force based beam column elements

Hi, can someone tell me how to use different integral point sections in displacement based and force based beam column elements? Software: openseespy or opensees. Thanks!
by YanYang
Mon Dec 07, 2020 6:42 pm
Forum: OpenSeesPy
Topic: How to use different integral point sections in displacement based and force based beam column elements
Replies: 1
Views: 3003

How to use different integral point sections in displacement based and force based beam column elements

Hi, can someone tell me how to use different integral point sections in displacement based and force based beam column elements? Software: openseespy or opensees. Thanks!
by YanYang
Wed Nov 18, 2020 12:45 am
Forum: OpenSeesPy
Topic: Some problems about using link or zeroLength element
Replies: 1
Views: 3280

Re: Some problems about using link or zeroLength element

I guess the reason for the failure is that the relative deformation of the link element needs to be determined before the response can be calculated according to the predetermined force-deformation rule? If two link elements are connected in series, the relative deformation of the element becomes in...
by YanYang
Tue Nov 17, 2020 11:43 pm
Forum: OpenSeesPy
Topic: Some problems about using link or zeroLength element
Replies: 1
Views: 3280

Some problems about using link or zeroLength element

Hello everyone, I encountered some obstacles when using two-node or zero-length element as shown in the figure below. When I use only one element at the end of beam, the analysis is normal and can converge. But when I use two link elements continuously, the analysis is abnormal and the convergence f...
by YanYang
Mon Nov 16, 2020 10:33 pm
Forum: OpenSeesPy
Topic: two zero length elements at the same location
Replies: 0
Views: 5584

two zero length elements at the same location

Hello, everyone. I'd like to ask a question: I define three nodes at the same location when I use the zero length element, and two zero length elements are created. Does this make the analysis abnormal? I observe that the force-deformation of zero length element is abnormal, but the modal analysis i...
by YanYang
Sat Jul 11, 2020 10:33 am
Forum: OpenSeesPy
Topic: openseespy could not be imported in python 3.8
Replies: 3
Views: 5212

openseespy could not be imported in python 3.8

Hello, When I run "import openseespy.opensees as op" in python3.8.3, it showed the following error: import openseespy.opensees as op RuntimeError: Python version 3.7 is needed for Windows (Anaconda is recommended https://www.anaconda.com/distribution/) If I do want to use python3.8 to run openseespy...
by YanYang
Sat Jul 11, 2020 10:11 am
Forum: OpenSeesPy
Topic: module 'openseespy.opensees' has no attribute 'testNorm'
Replies: 5
Views: 8053

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

mhscott wrote:
Tue Jun 09, 2020 7:11 am
Issue resolved here:

https://github.com/zhuminjie/OpenSeesPyDoc/issues/188
Thank you, professor
by YanYang
Wed Jun 03, 2020 6:39 pm
Forum: OpenSeesPy
Topic: module 'openseespy.opensees' has no attribute 'testNorm'
Replies: 5
Views: 8053

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

Is the python interface of this command not provided yet? I tried this command in tcl format and it can be run. I use the latest version of openseespy.
by YanYang
Tue Jun 02, 2020 7:35 pm
Forum: OpenSeesPy
Topic: module 'openseespy.opensees' has no attribute 'testNorm'
Replies: 5
Views: 8053

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

Hello, everyone. I have a problem with openseespy. When I run the following command, why do I get an error? import openseespy.opensees as op op.testNorm() The error is "module 'openseespy.opensees' has no attribute 'testNorm". The help file for the command is on this web site: https://openseespydoc....