- Видео 55
- Просмотров 62 166
Luis Santos
Добавлен 6 окт 2011
Educational channel for structural engineering.
Python for Abaqus - 2.6: GA - Main Function and Testing
Final script (watch until video 2.7 to understand the full thing):
github.com/luisantos090/AbaqusPython
* The script GAScript.py does not include the separation in 4 quadrants while GAScript_v2.py does.
Follow this link to avoid issues with Notepad ++
stackoverflow.com/questions/455037/convert-tabs-to-spaces-in-notepad
github.com/luisantos090/AbaqusPython
* The script GAScript.py does not include the separation in 4 quadrants while GAScript_v2.py does.
Follow this link to avoid issues with Notepad ++
stackoverflow.com/questions/455037/convert-tabs-to-spaces-in-notepad
Просмотров: 345
Видео
Python for Abaqus - 2.7: GA - Results and Discussion
Просмотров 428Год назад
Final script (watch until video 2.7 to understand the full thing): github.com/luisantos090/AbaqusPython * The script GAScript.py does not include the separation in 4 quadrants while GAScript_v2.py does. Follow this link to avoid issues with Notepad stackoverflow.com/questions/455037/convert-tabs-to-spaces-in-notepad
Python for Abaqus - 2.1: Genetic Algorithm - Introduction
Просмотров 592Год назад
Final script (watch until video 2.7 to understand the full thing): github.com/luisantos090/AbaqusPython * The script GAScript.py does not include the separation in 4 quadrants while GAScript_v2.py does. Follow this link to avoid issues with Notepad stackoverflow.com/questions/455037/convert-tabs-to-spaces-in-notepad
Python for Abaqus - 2.5: GA - Selection, Crossover and Mutation
Просмотров 259Год назад
Final script (watch until video 2.7 to understand the full thing): github.com/luisantos090/AbaqusPython * The script GAScript.py does not include the separation in 4 quadrants while GAScript_v2.py does. Follow this link to avoid issues with Notepad stackoverflow.com/questions/455037/convert-tabs-to-spaces-in-notepad
Python for Abaqus - 2.2: Genetic Algorithm - Modelling
Просмотров 669Год назад
Final script (watch until video 2.7 to understand the full thing): github.com/luisantos090/AbaqusPython * The script GAScript.py does not include the separation in 4 quadrants while GAScript_v2.py does. Follow this link to avoid issues with Notepad stackoverflow.com/questions/455037/convert-tabs-to-spaces-in-notepad
Python for Abaqus - 2.3: GA - Binary Encoding and Initial Population
Просмотров 427Год назад
Final script (watch until video 2.7 to understand the full thing): github.com/luisantos090/AbaqusPython * The script GAScript.py does not include the separation in 4 quadrants while GAScript_v2.py does. Follow this link to avoid issues with Notepad stackoverflow.com/questions/455037/convert-tabs-to-spaces-in-notepad
Python for Abaqus - 2.4: GA - Fitness Function
Просмотров 381Год назад
Final script (watch until video 2.7 to understand the full thing): github.com/luisantos090/AbaqusPython * The script GAScript.py does not include the separation in 4 quadrants while GAScript_v2.py does. Follow this link to avoid issues with Notepad stackoverflow.com/questions/455037/convert-tabs-to-spaces-in-notepad
Python for Abaqus - 1.4: Post-Processing - SS I-beams
Просмотров 1,5 тыс.2 года назад
Final script (watch until video 1.5 to understand the full thing): github.com/luisantos090/AbaqusPython Follow this link to avoid issues with Notepad stackoverflow.com/questions/455037/convert-tabs-to-spaces-in-notepad
Python for Abaqus - 1.5: Build the Master File - SS I-beams
Просмотров 7092 года назад
Final script: github.com/luisantos090/AbaqusPython Follow this link to avoid issues with Notepad stackoverflow.com/questions/455037/convert-tabs-to-spaces-in-notepad
Python for Abaqus - 1.3: Debugging and Editing#1 - SS I-beams
Просмотров 1 тыс.2 года назад
Final script (watch until video 1.5 to understand the full thing): github.com/luisantos090/AbaqusPython Follow this link to avoid issues with Notepad stackoverflow.com/questions/455037/convert-tabs-to-spaces-in-notepad
Python for Abaqus - 1.3: Debugging and Editing#2 - SS I-beams
Просмотров 8982 года назад
Final script (watch until video 1.5 to understand the full thing): github.com/luisantos090/AbaqusPython Follow this link to avoid issues with Notepad stackoverflow.com/questions/455037/convert-tabs-to-spaces-in-notepad
Python for Abaqus - 1.2: Commenting and Parametrizing - SS I-beams
Просмотров 1,5 тыс.2 года назад
Follow this link to avoid issues with Notepad stackoverflow.com/questions/455037/convert-tabs-to-spaces-in-notepad Final script (watch until video 1.5 to understand the full thing): github.com/luisantos090/AbaqusPython
Python for Abaqus - 1.1: Modelling - SS I-beams
Просмотров 2,2 тыс.2 года назад
Final script (watch until video 1.5 to understand the full thing): github.com/luisantos090/AbaqusPython Follow this link to avoid issues with Notepad stackoverflow.com/questions/455037/convert-tabs-to-spaces-in-notepad
Example 2 - Plastic Section Properties
Просмотров 4172 года назад
Example 2 - Plastic Section Properties
Hi, do you any one who know how to work Machine learning with python and Abaqus?
Hi Saher, you only need Python to perform Machine Learning. Abaqus is called within Python as well. So, I assume your issue is with how to use Machine Learning in Python. Once you figure that out, adding Abaqus is simple. Let me know if this is not clear and I'll try to come up with an example.
At the 2.17-second, neural network and FEM outputs were compared. Would you consider sharing a post about this?
Can I use the script to model the sheathed cfs stud columns set in tracks subjected to axial and increasing lateral loads to know the boundary conditions?
of course. You can pretty much model anything in ABAQUS ;)
I did everything, but when I did post processing, the software shows me a not responding sign. How can I know where the error is, knowing that I did everything step by step?
Hi Saher. I suggest you comment the part of matplotlib. I've seen errors with that in the past that should be associated with the Python version you have installed in your PC conflicting with the Python version within Abaqus (This is just my theory, I never tested this).
@ Well, at first it showed me the errors in the Abaqus CAE list, now I can detect them through the command. I will try again can I have the python code you created please?
the final script is in my GitHub. You can find the link in the description of the video
Thank you a lot At the end when I clicked at run script, it took a lot of time. Is it normal?
It depends but the first thing I would suggest is to comment the part that runs the model. Then it should be fairly quick and you can run it manually to see why it is taking so long or if it is crashing
How do you know what forceto remove
Well, 99% of the times you can remove any reaction. The solution method would be different but the end result would be the same. Now, in this problem, you need to remove one of the horizontal ones otherwise your structure becomes a mechanism and can't be solve (try to remove a vertical reaction here and you will see). Good luck ;)
If I build my model and there are not any mistakes. Should I do this step?
Not really, if you are happy with the model, keep on going. More often than not, we do not really know what we want our model to do until we make the model and realize we need to change it. That is the point of this video, to show how to edit certain things without having to start from scratch. Good luck
thank you ,you said it all .
im so happy i found your channel. thank you so much for making these videos :)
That's very kind of you. Good luck with your studies :)
O'Kon Mission
Thank you! You made it easy to understand
I'm happy it helped ;)
great video, thank you!
My pleasure ;)
really liked your analogies, you have a talent for teaching!
Thanks Ed, coming up with analogies is the fun part. I'm glad you enjoyed it.
thank you very helpful
thanks a lot
I'm happy to know this was helpful :)
goat
👑👑👑👑👑👑👑👑👑👑
Very good videos! It helps me a lot, thank you!
My pleasure, good luck with your modelling :)
Thank you for your videos. I am currently working on a project involving mesh-to-mesh solution mapping in Abaqus scripting and have encountered some challenges. Would it be possible to contact you directly for a detailed review of my script? Your expertise would be greatly appreciated. Thank you once again for your support
Hi. Please reach out to me on LinkedIn. We can schedule a call if needed. www.linkedin.com/in/luisantos090/
Thank you 🙏😊. It helped alot 😊
Awesome to hear :)
fanjulio
This was such a straightforward explanation! Thank you
Thanks Alan, I'm glad to hear
Amazing video, have been struggling with this topic in engineering but this cleared it up.
Happy to hear that! Good luck with your studies :)
Elinize sağlık
You give high quality lessons😊
That's very kind Amer, I'm happy to know you enjoyed the videos.
Thank you!
an absolute legend, bro. I love you!!! Your explanation was great, simple, straight to the point and clear
Thank you, you're the legend! I'm happy it helped :)
I watched a 2 hour lecture from my university professor about 10 times and i was so confused. But you literally taught me the whole thing in 20 minutes 👏🏼
I'm happy to hear that :) Good luck with your studies 💪
one of the best teacher I have ever seen!!!! thumbs up and i hope to connect with you .
Thank you so much. You can connect with me on LinkedIn at www.linkedin.com/in/luisantos090/
Thank you so much for your efforts. Amazing video series
Hi Mustafa. That's very kind of you to say, I'm very glad you enjoyed the videos
Este vídeo tem 2 anos, mas só hoje vi os 4 e formatei um template meu para os trabalhos da faculdade todos. Incrível, andem uns 3 anos a usar um template genérico que não funcionava bem e agora tenho um template excelente graças a ti. Obrigado Luis!
Muito obrigado José :) Fico muito feliz por saber que ajudou
Thank you very much for the awesome video!
good work
Dear Luis, first and foremost thank you so much for such amazing and in-details videos about the combination of GA and Python script in Abaqus! As a suggestion, it would be great if you could provide videos about a problem solved by an algorithm like particle swarm which is based on real data (not binary conversion),
Thank you for your kind comment. I never done Particle Swarm before but I'll have a look, I always wanted to learn it.
Thank You Sir! Amazing videos. I am waiting for the genetic algorithm video.
Thank you Mustafa. It should be a matter of days now :)
Ganda Luis! Os tugas têm um sotaque bem característico, que dá para notar logo à partida
Hi, Is there any video showing how to do envelops ??
Hi Sylwester. As far as I know, load combinations are only available on the payed version of Ftool. Please confirm that on their website. Now, I guess you could do envelopes by exporting the moments to excel and then use a Max() and Min() functions
Hello, how can i send email for you?
Hi Hasan, You can contact me on LinkedIn if you'd like: www.linkedin.com/in/luisantos090
@@luisantos090 Hi Luis, Thank you. there is a problem that i could not send message for you. I want to get temperature, y-coordinate and pressure for some nodes. As usual when i get node number in the visualisation we see the node label. But the data for each node on their node list index number. what is your solution for this problem? actually node list index number and node label are different.
@Hasan H try to make the index equal to the node number minus 1. So, for example, if you want to know the output for node 2367, the index should be 2366. Give it a try and let me know if it doesn't work
this was really a good series.
Thank you Pankaj. I'm working now on the next episodes, focusing on optimisation using genetic algorithms :)
I must confess that your lectures are superb. the way you break the mathematics is unmatched. I am eternally grateful and wish to see more videos from you. Thanks a lot.
Thank you, that made my day. I'm really happy it helped :)
how did you calculate the triangle * rectangle? I am confused, is there any formulas??
Hi Leonidas. At what minute is that triangle * rectangle? In any case the answer to your question is in this table. My students get a similar table on their notes. You can find it here. I hope it helps learnaboutstructures.com/Virtual-Work-for-Beams
@@luisantos090 Hola hermano , mira la verdad necesitamos ayuda en estos temas pq estamos estudiando para un examen. no c si podrías ayudarnos
Mohrs Integrals table :)
Thank you very much for this video tutorial, I have been able to solve many doubts I had about this topic. I would like to find out if there is any automatic way to detect the maximum value of the vector "values" and not look for it manually and put the value. That is, instead of putting: print(odb.steps['Step-1'].frames[1].fieldOutputs['S'].values[1]). put something like this: print(odb.steps['Step-1'].frames[1].fieldOutputs['S'].values[X].mises) X being the one that has the maximum value of mises Is there a way to save this data for each run to be able to compare it with the other runs? Thank you again
Hi Aziz. Thank you for your comment, that means a lot. There is indeed such command, I'll send it to you in 30 mins or so ;)
@@luisantos090 Thank you very much for your quick response, and for the effort. What I want is to save the maximum value of the Von Mises voltage for each run, either in an excel table or any other file, or just return those values to me via Abaqus command box.
@@azizseddiki6310 To save the data on an excel file, I use the following script (you will need to adapt it a bit but it should work: opFile = NewFolder+'/'+'DatainExcel.csv' try: opFileU = open(opFile,'w') opFileU.write("%10s,%10s "%('Force', 'U2') ) except IOError: PrintToScreen('cannot open opFILE') exit(0) for i in range(NrOfSteps): displacement = odb.steps['Step-1'].frames[i].fieldOutputs['U'].values[23].data[1] force = RefPointOutput[i][1] Displacements_midspan.append(-displacement) Applied_forces.append(-force/1000.0) opFileU.write("%10f,%10f " % (force, displacement)) opFileU.close()
@@azizseddiki6310 To get maximum values for displacements (you will need to dig to find the equivalent for von Mises voltage) I use the following code: Disps = odb.steps['Step-1'].frames[i].fieldOutputs['U'].getSubset(position = NODAL).bulkDataBlocks[0].data followed by: np.max(Disps,axis=0)[0] This will give me the maximum in the x-direction. You can do "[1]" or "[2]" for the y- and z-directions, respectively. Also, for this to work you need, at the top of your file, to "import numpy as np". I hope this helps :)
@@luisantos090 Thank you very much for your efforts to find a solution. I will try your instructions and give you feedback since I have tested it. I appreciate the time spent to solve my doubt. Thank you.
Brilliant explanation!!!! Thank you
You're welcome Phap. Thanks for your message
Luis, excellent job!!! Really enjoyed the video. Any thing else about the software you can show would be great. Thanks
Thank you Marwan, that's very kind. I can recommend other tutorials here: ruclips.net/video/yQRIOYYJFeA/видео.html ruclips.net/video/GE8-fSnwEUo/видео.html
hi..can you please continue making vibrations videos for free vibration and force vibration? You are so good in explaining.
Hi wehoo. Thanks for your kind comments. I am not planning to extend these topics much further but, for the future, which topics you would like to see covered? You can send me the list and I'll see what I can do :)
I appreciate you for sharing this.
Thank you Nima, I hope it's useful to you
@@luisantos090 Thank you, it was. After this, I hope you make a video showing how to use neural networks and genetic algorithms.
@@nimapaslar8402 I will definetely show the genetic algorithms soon. The neural networks I'm still hesitant because I'm not sure how to make it work yet
Good video. Thanks from Algeria.
You're welcome Amroune, that's very kind of you :)
Thank you so much for such a brilliant tutorial and videos indeed!
Thank you Shervin. If you have any recommendations, let me know. I feel the post processing was the hardest part to demonstrate but I'm happy you enjoyed it
@@luisantos090 Definitely yes. But the procedure you mentioned in the video is really helpful. As some suggestions, it would be more than great if you extend the application of this procedure to some more expertized fields like the iteration in Eigen buckling analysis of a member under different shape factors or imperfections, XFEM, and propagation of cracks induced by low cycle fatigue recognized with python script. Anyway, thank you so much for distributing your knowledge for free!
@@shervinsafaeifaegh1540 thank you for that. I will show the buckling analysis and the imperfections in future videos. Regarding cracks and XFEM, it's not my field but I hope you can solve it nonetheless
Hello Luis I think there may be an error with one of the calculations, when you subbed in Y (z=6) to resolve for C you miss out the -4 x [ Z - 3 ] ^4 which if I am correct should be 5^4 - 4 x 3^4
Hi Daniel. Can you pinpoint in which second I made the mistake? There is a mistake in the video but it's then fixed. Let me know ;)
Hey there, i dont exactly get how you got the 5 so then you can get 22 for the shear force on the first one
Hi Table, the 5 comes as the hypotenuse of a triangle. If you notice, bar AB has 4 m in the x-direction and then 3 m in the y-direction, which means the length of the bar AB is sqrt(4^2+3^2) = 5 m ... Then, the 4/5 is nothing more than the cosine of that angle. I hope that helps kakashi-sensei and feel free to ask anything else if you need
@@luisantos090 Oh i see very simple thank you very much, Kakashi appreciates it.