Closed ZubairRWani closed 2 years ago
update the package with the following command and try again. The latest release is 0.0.4.
python -m pip install --upgrade vfo
got the message: "Requirement already satisfied" what else could be the problem
Could you share your code?
import openseespy.opensees as op import vfo.vfo as vfo
import ModelFuctions as mf import AnalysisFuctions as af
op.wipe()
mf.getSections() mf.buildModel()
vfo.plot_model('node', 'elements')
Model = 'Cantilever' LoadCase = 'PushoverLcD' vfo.createODB(Model, LoadCase) eleNumber = 1 sectionNumber = 1 vfo.saveFiberData2D(Model, LoadCase, eleNumber, sectionNumber)
af.PushoverLcD(0.05)
out = op.eleResponse(1, 'section', '1', 'fiberData')
op.wipe()
vfo.plot_fiberResponse2D(Model, LoadCase, eleNumber, sectionNumber) vfo.plot_fiberResponse2D(Model, LoadCase, eleNumber, sectionNumber, InputType='strain')
This is not the complete code, given there is no information about "ModelFunctions" and "AnalysisFunctions". Could you prepare a minimum working example so I can run it on my computer and see what is causing the error?
Attaching ModelFunctions" and "AnalysisFunctions" AnalysisFuctions.txt ModelFuctions.txt
I checked your model and VFO plotted it for me:
@BijanSeif This is just the model plot. The response plots are not working.
Thank you for your time and reply. I tried what you suggested however, the problem persists.
Regards
Zubair
On Sat, May 14, 2022 at 11:56 AM Bijan Sayyafzadeh @.***> wrote:
@ZubairRWani https://github.com/ZubairRWani Hi The problem is because your model is a strait vertical line in two dimension and have no length in one of two dimension. VFO needs to have dimension in both directions (It can be modified and improve) but simple you can give a small value to one of the your X nodes value to see your model like this nodeX = np.array([0.,0.,0.,0.1]) untill VFO solve the problem. (Absolutely when you want to run the analysis you should use your original values means: nodeX = np.array([0.,0.,0.,0.])
— Reply to this email directly, view it on GitHub https://github.com/u-anurag/vfo/issues/6#issuecomment-1126653646, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZCVO7WJCP45SIRJTKY5JYDVJ5BSLANCNFSM5V35XTAQ . You are receiving this because you were mentioned.Message ID: @.***>
--
This electronic mail message and any attached files are confidential.****
The information is exclusively for the use of the individual or entity intended as the recipient. If you are not the intended recipient, any use, copying, printing, reviewing, retention, disclosure, distribution or forwarding of the message or any attached file is not authorized and is strictly prohibited. If you have received this electronic mail message in error, please advise the sender by reply electronic mail immediately and permanently delete the original transmission, any attachments and any copies of this message from your computer system.
I will check, it might take a few days.
@ZubairRWani This recent commit #7 will fix the issue. You can download the code for local use. I'll release a minor version update later.
@ZubairRWani Did you try with the latest release? Let me know if it still doesn't work.
Thank you, looking forward to it. Regards Zubair
On Sun, 15 May, 2022, 12:50 pm Anurag Upadhyay, @.***> wrote:
I will check, it might take a few days.
— Reply to this email directly, view it on GitHub https://github.com/u-anurag/vfo/issues/6#issuecomment-1126876652, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZCVO7QNEPJBOLVL6VRBQM3VKCQVHANCNFSM5V35XTAQ . You are receiving this because you were mentioned.Message ID: @.***>
--
This electronic mail message and any attached files are confidential.****
The information is exclusively for the use of the individual or entity intended as the recipient. If you are not the intended recipient, any use, copying, printing, reviewing, retention, disclosure, distribution or forwarding of the message or any attached file is not authorized and is strictly prohibited. If you have received this electronic mail message in error, please advise the sender by reply electronic mail immediately and permanently delete the original transmission, any attachments and any copies of this message from your computer system.
i am getting some errors with plotting with vfo and more AttributeError: module 'vfo.internal_plotting_functions' has no attribute '_getAxisInfo'