|
[Sponsors] |
[DesignModeler] Export "Details of Body" in Excel (Scripting) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 14, 2015, 19:21 |
Export "Details of Body" in Excel (Scripting)
|
#1 |
Senior Member
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 14 |
Hello Everyone!
I was wondering if its possible to export the "details of body/face/edge" from the designModeler to Excel or not. We get details on the left pane when you click a body/face/edge, that information or by selecting Tools>Analysis Tools> Entity Information on the left side, either of these things details surface area, volume, area, number of edges, faces and so on. I want to export this data with the help of script. So basically when my script is running to create this geometry and revolve/extrude it to create body, it should be able to pick that body so that information is picked and then export it in given excel workbook. If anyone has any idea then do let me know!! cheers KAPI |
|
April 15, 2015, 21:06 |
|
#2 |
Senior Member
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 14 |
Solved!
In mesh, select a body and then give following code to get Volume and area! Code:
body.Volume; body.Area; Cheers Kapi |
|
May 11, 2015, 07:17 |
|
#3 |
Member
Join Date: Oct 2014
Posts: 44
Rep Power: 11 |
Hi Kapi!!!
How do we get face's details like area and surface type? Any command apart from entity information? Thanks, Kartiki |
|
May 12, 2015, 18:34 |
|
#4 |
Senior Member
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 14 |
Hi Kar,
You can select face details same as body! Code:
faces(i).Area; So yea if you are after Surface Type then you need find function for that like area, volume! Hope it helps Cheers KAPI |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Naming export files in Workbench scripts | evan247 | CFX | 1 | January 22, 2015 20:23 |
Unable to install OpenFOAM 1.6-ext | Maimouna | OpenFOAM Installation | 23 | May 8, 2014 05:47 |
How can I export transient results data to EXCEL | popi | CFX | 8 | February 22, 2014 04:31 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
how to export data to Excel | bikash | FLUENT | 3 | September 14, 2004 20:58 |