Very nice video. I Have the following two questions : 1. How can we set the objective function to minimize when we have several experimental curves to fit? 2. If the parameters are in the location of the user subroutine (like UMAT), where can we change in the Matlab code to do optimization? Thank you for this video and your kind and answers!
Hi, you can select several key points from curves, for example if you have 3 curves, select 10 to 50 points from each curve that can define the curve shape. Then take the absolute value (or squared) of the difference between experimental and simulation prediction. Add the 'error' together. This 'error' is a function of your simulation parameters to be optimized. Check this playlist on optimization, you might get some more questions answered: ruclips.net/p/PLadIcAbP3-ygAhzIfJaJ4Eh6xHZdC0czE You might not have simulation and experimental values at save s coordinates, this video can help: ruclips.net/video/oAhLLQz6LsA/видео.html To answer your 2nd question: Check this RG discussion: www.researchgate.net/post/How_can_I_call_an_Abaqus_input_file_from_Matlab_that_uses_a_subroutine_UEL Rest of the steps for optimization framework is as in this video.
Thanks for uploading this fantastic video. QUICK QUESTION, it looks like "inp_initial.m" tends to recreate another .inp file for next iteration. Then, how did you create "inp_initial.m" at the first place?
Hi, the code can be separately written for inp_initial.m. However, if you check the code contains the actual initial input file text with some modification. I can share a simple m file if you want that does most of these modifications when run.
One should first try to make multiple objectives into a single objective. As we usually try to minimize the objective, if we have several Obj, we can simply add them (if necessary with some weight factor) to make a single objective. Simplest of the examples is here: ruclips.net/video/bnz_5OToUsw/видео.html. If you still have multiple objectives, check 'paretosearch' function or genetic algorithm base function 'gamultiobj'
The video is very helpful, sir can we do an inverse problem to find q flux with experimental temperature using this procedure.where i need to find optimum q
I am working on the optimization of the structure. I made a python script with which I can change parameters, but now I want to optimize it. Can you give me an idea, how can I do optimization with python instead of “Matlab” if possible? Thanks
I never tried python for optimization. Now when I googled, I could find help is available on the topic. I hope you will find something for your use-case.
@@amolauliyan7318 Similar to how now 1 job is run, you will run instead 2 jobs one after another. Use the read output script twice. Now you have two values to compare for Max and Min. You have to choose one or more variables (similar to E in the video) that you want optimize. Then an objective/ error function consisting err=max-min is minimized for changing variable/variable of your choice.
Thanks, that is a great video. Please can I replace abaqus '.inp' file by abaqus '.py' python file? or how to transform a '.py' file to '.inp' and use your methodology?
Your videos on MATLAB and Abaqus are truly great. Keep them coming.
Really helpful information, Many Thanks
Thanks a lot! I'm using your codes to edit Abaqus python codes rather than .inp files. Anyway, your videos are very helpful.
Thank you so much for your effort!!
Very nice video. I Have the following two questions :
1. How can we set the objective function to minimize when we have several experimental curves to fit?
2. If the parameters are in the location of the user subroutine (like UMAT), where can we change in the Matlab code to do optimization?
Thank you for this video and your kind and answers!
Hi, you can select several key points from curves, for example if you have 3 curves, select 10 to 50 points from each curve that can define the curve shape. Then take the absolute value (or squared) of the difference between experimental and simulation prediction. Add the 'error' together. This 'error' is a function of your simulation parameters to be optimized. Check this playlist on optimization, you might get some more questions answered: ruclips.net/p/PLadIcAbP3-ygAhzIfJaJ4Eh6xHZdC0czE
You might not have simulation and experimental values at save s coordinates, this video can help: ruclips.net/video/oAhLLQz6LsA/видео.html
To answer your 2nd question: Check this RG discussion: www.researchgate.net/post/How_can_I_call_an_Abaqus_input_file_from_Matlab_that_uses_a_subroutine_UEL
Rest of the steps for optimization framework is as in this video.
@@10Minuters Thanks very much for your detailed answers !!!
Great efforts. Keep the good job :)
Thanks for uploading this fantastic video. QUICK QUESTION, it looks like "inp_initial.m" tends to recreate another .inp file for next iteration. Then, how did you create "inp_initial.m" at the first place?
Hi, the code can be separately written for inp_initial.m. However, if you check the code contains the actual initial input file text with some modification. I can share a simple m file if you want that does most of these modifications when run.
@@10Minuters thanks for the follow-up! I also figured out how you accomplished that, much appreciation.
As you have only one objective function F_obj= 600. Is it possible to set two objective functions?
One should first try to make multiple objectives into a single objective. As we usually try to minimize the objective, if we have several Obj, we can simply add them (if necessary with some weight factor) to make a single objective. Simplest of the examples is here: ruclips.net/video/bnz_5OToUsw/видео.html.
If you still have multiple objectives, check 'paretosearch' function or genetic algorithm base function 'gamultiobj'
Extremely Helpful Video. A small doubt though. Is it possible to conduct size or shape optimization using the same codes?
It would be difficult, better use abaqus built-in optimization for this purpose.
خدا خیرتون بده با این ویدیو های با کیفیت😁👍👍
Hello sir i have question in my simulation I want just to change young's modulus and see the graphics and compare can I just use inp_initial.m ??
Great! Thank you!
I got this error when run the optimize.m code: Function definitions are not permitted in this context. What should I do?
Is possible to create or modify a response (topology optimization) with a script?
Is possibile to Modify the Global Stiffness Matrix from MATLAB? Thanks
The only thing I don't understand is how the code works for displacement=30 mm even if there isn't a line about it
The video is very helpful, sir can we do an inverse problem to find q flux with experimental temperature using this procedure.where i need to find optimum q
good work but can u use this script to get the Johnson-cook parameters
and where can i find such script
I am working on the optimization of the structure. I made a python script with which I can change parameters, but now I want to optimize it.
Can you give me an idea, how can I do optimization with python instead of “Matlab” if possible?
Thanks
I never tried python for optimization. Now when I googled, I could find help is available on the topic. I hope you will find something for your use-case.
@@10Minuters Thanks
Convert your python code to Matlab by using Chatgpt
Then follow the video
بالتوفيق
Can you run 2 odb file and then compare their max. and min. value until they become same for both of them in MATLAB
Yes, it should be possible.
@@10Minuters can you tell me how?
@@amolauliyan7318 Similar to how now 1 job is run, you will run instead 2 jobs one after another. Use the read output script twice. Now you have two values to compare for Max and Min. You have to choose one or more variables (similar to E in the video) that you want optimize. Then an objective/ error function consisting err=max-min is minimized for changing variable/variable of your choice.
how can i contact you Sir
Hi,
You can contact me here: 10minuterschannel@gmail.com
@@10Minuters i sent you a message
Thanks, that is a great video. Please can I replace abaqus '.inp' file by abaqus '.py' python file? or how to transform a '.py' file to '.inp' and use your methodology?
Hello, I am also interested in this method. Have you had any success?
@@jelenanikolic2390 Yes, just call your python file in your Matlab optimization script instead of inp file like his video and it worked