PDA

View Full Version : remeshing using python



Urmia
2008-06-06, 10:35
Dear Friends,
I want to simulate a moving boundary problem and because of large deformation I have to remesh on of the instances in the assembly. I have to remesh it using an orpahn mesh or from odb file. I have already written a python with the help of example provided in ABAQUS documentation, but I do not know how to implement this into ABAQUS. AND i WILL BE GRATEFUL IF HELP ME REMESH THIS through odb file?
regards,

Jorgen
2008-06-08, 21:30
I have heard of that approach but I have not done it. I don't quite understand your question, tough. If you have written the python script, why can you not use that with Abaqus?

-Jorgen

Urmia
2008-06-09, 08:55
Dear Jorgen,
I am a beginer in using python. I want to simulate a process in which some nodes of the 3D model are moving and this cause some of the elements to collapse, therefore I need to remesh the model from the last increment and as I do not have any output from the 3D model except the model which I obtain from odb file I have to remesh the deformed model which I obtain from odb file. Would you please tell me how can I remesh this 3D model? and also I will be grateful if you tell me how can I use python file in a simulation? ( how can I feed it into ABAQUS?) :)
Regards,

Jorgen
2008-06-11, 21:49
What you are trying to do is perhaps not that easy. Can you perhaps remesh the model by "driving" CAE from a python script.

You don't (typically) use Python in a simulation. You use Python before or after running the simulation.

- Jorgen

Urmia
2008-06-12, 06:15
Dear Dr. Bergstrom,
Thanks alot for your great support. Therefore, I can remesh my model writing a python? Should I install python software in order to use python? and on the other hand, in order to use python I should enter it through command line in ABAQUS \CAE? How can I implement python using ABAQUS COMMAND? :)
Regards,

Jorgen
2008-06-12, 20:05
No need to install python since you can (and should) use the version of python that comes with abaqus. You start this using the "abaqus python" command.

I suggest that you read the Abaqus manuals about "scripting".

- Jorgen

Urmia
2008-06-14, 09:38
Thanks alot.:)

biofriend
2009-01-29, 20:49
i believe that you are doing the same thing as I do.
You are going to use Solution mapping function in abaqus which maps solution of older meshes to new mesh.
Go and check Abaqus example manual and search for *map solution . you find 2 examples. go for the second one which discusses about a billet. there is a code there in python which helps you through this. you can extract the new geometry from orphan mesh and remesh it. I have done this up to this step. then you have to write a new input file and map the old solution to new meshing which I have no idea about. if succeed to do this please let me know how to do it as well!
Hope this helps,
Regards