Extract fixity condition of nodes

Forum for asking and answering questions related to use of the OpenSeesPy module

Moderators: silvia, selimgunay, Moderators

Post Reply
gopaladhikari
Posts: 74
Joined: Tue Nov 07, 2006 3:17 am
Location: Holmes Consulting LP

Extract fixity condition of nodes

Post by gopaladhikari » Tue Jan 26, 2021 7:12 pm

Hi all,

I am wondering whether I can extract information about the fixity condition of nodes from an analysis model, similar to node mass (nodeMass(nodeTag)).

https://openseespydoc.readthedocs.io/en ... eMass.html

Thanks,
Gopal
Gopal Adhikari, PhD
Senior Project Engineer
Holmes Consulting LP
Wellington, New Zealand

mhscott
Posts: 586
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: Extract fixity condition of nodes

Post by mhscott » Wed Jan 27, 2021 3:29 am

You can use nodeDOF and the DOFs with -1 are fixed.

gopaladhikari
Posts: 74
Joined: Tue Nov 07, 2006 3:17 am
Location: Holmes Consulting LP

Re: Extract fixity condition of nodes

Post by gopaladhikari » Wed Jan 27, 2021 12:53 pm

Hello,

Thanks Prof Scott. I tried with nodeDOFs(nodeTag). Below is a part of my code.

Code: Select all

ops.fix(1, 1, 1, 1, 1, 1, 1)
print(ops.nodeDOFs(1))
This outputs

Code: Select all

WARNING nodeDOFs DOF group null
opensees.OpenSeesError: See stderr output
Gopal Adhikari, PhD
Senior Project Engineer
Holmes Consulting LP
Wellington, New Zealand

mhscott
Posts: 586
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: Extract fixity condition of nodes

Post by mhscott » Thu Jan 28, 2021 2:06 pm

Ahh, you have to do it after an analysis. The equation numbers aren't assigned until the analysis starts.

gopaladhikari
Posts: 74
Joined: Tue Nov 07, 2006 3:17 am
Location: Holmes Consulting LP

Re: Extract fixity condition of nodes

Post by gopaladhikari » Mon Feb 01, 2021 11:48 am

Thanks Professor Scott.

Post Reply