Hi
I like to import thermal results from another software into patran to define a temperature boundary condition. The results are in csv format, with x, y, z coordinates and the temperature.
OK - if you have one temperature per element then I suggest using a Patran 2 format element result file.
I have put one in the attached zip for the mesh built by the previous ses file for the temp points.
The els file can contain multiple results and so needs a template file to define to the Patran import process what it does contain. I have put an example result template in the zip.
so if you open the database built by the last ses file, then File/import Object:Results Format: PATRAN2 .els
you then select the Template file and the result file and -Apply-
Under results you can now create a fringe of the temp result - then create the field from this and map to the new model.
Note that the Patran 2 file is a fixed format (aka Fortran style write statements :
so the Result Data is on pairs of lines, Element ID, Element Shape then the elements results. If there were more than 6 result values (this data is specified with just 1) then there would be more result lines per element.
The element shape code in the attached file I set to 4 (=Quad) this was a test to confirm that the current Patran ignores it. For Patran 2 the shape codes were 3=Tri, 4=Quad, 7=Wedge, 8=Hex.
OK - if you have one temperature per element then I suggest using a Patran 2 format element result file.
I have put one in the attached zip for the mesh built by the previous ses file for the temp points.
The els file can contain multiple results and so needs a template file to define to the Patran import process what it does contain. I have put an example result template in the zip.
so if you open the database built by the last ses file, then File/import Object:Results Format: PATRAN2 .els
you then select the Template file and the result file and -Apply-
Under results you can now create a fringe of the temp result - then create the field from this and map to the new model.
Note that the Patran 2 file is a fixed format (aka Fortran style write statements :
so the Result Data is on pairs of lines, Element ID, Element Shape then the elements results. If there were more than 6 result values (this data is specified with just 1) then there would be more result lines per element.
The element shape code in the attached file I set to 4 (=Quad) this was a test to confirm that the current Patran ignores it. For Patran 2 the shape codes were 3=Tri, 4=Quad, 7=Wedge, 8=Hex.