Problems with edited Script
Hi,
I'm trying to use one of the example "time_poisson.py" for heat transfer simulation. I used my own mesh data ("steel_cylinder.med" ), which I created using Salome.
Somehow I didn't get the temperature distribution like what we would have gotten if we run the "time_poisson.py", which looked like this
[image: Inline image 1] Instead I could only get these results
[image: Inline image 2]
I attached the relevant files. Can somebody please tell me what I did wrong with the scripting?
Thanks for your help!
Hi Dio,
On 11/16/2017 02:14 PM, Dio Dwianto wrote:
Hi,
I'm trying to use one of the example "time_poisson.py" for heat transfer simulation. I used my own mesh data ("steel_cylinder.med" ), which I created using Salome.
Somehow I didn't get the temperature distribution like what we would have gotten if we run the "time_poisson.py", which looked like this
[image: Inline image 1] Instead I could only get these results
[image: Inline image 2]
I attached the relevant files. Can somebody please tell me what I did wrong with the scripting?
You need to adjust the region definitions for the "steel_cylinder.med" mesh - it has different dimensions than "cylinder.mesh". The mesh dimensions can be easily printed using "script/show_mesh_info.py".
Check the example [1] for a way that would work for both the meshes (using the mesh bounding box).
r.
Thanks for your help!
SfePy mailing list sfepy@python.org https://mail.python.org/mm3/mailman3/lists/sfepy.python.org/
participants (2)
-
Dio Dwianto
-
Robert Cimrman