CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Mesh Generation & Pre-Processing Software > ANSA

ANSA Script

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2017, 05:09
Default ANSA Script
  #1
New Member
 
Renuka
Join Date: Aug 2017
Posts: 15
Rep Power: 8
Renu123 is on a distinguished road
How do I automate cutting task using python script?
I am computer science student I have little bit knowledge about ANSA. I have many model and I want to cut it with plane. Currently I am doing it manually by loading each model and specifying point for cut using standard GUI utilits->cutting plane->xy,yz,zx cut.
For cutting each model required 3 points in order to get that points I am thinking to calculate normal to surface which will give 2 points.Could anyone tell me whether ANSA software has the function to find normal to surface, if does, where can i find the function. If not any suggestion how to do it.
Thank you

Last edited by Renu123; August 31, 2017 at 03:53.
Renu123 is offline   Reply With Quote

Old   August 17, 2017, 09:07
Default
  #2
New Member
 
Join Date: May 2014
Posts: 21
Rep Power: 11
greg.cfd is on a distinguished road
Hello,
In order to generate the script for this task it would be very helpful if you could mention one by one the steps that you follow to do the job manually. All that functions that you are using.

Cheers
greg.cfd is offline   Reply With Quote

Old   August 25, 2017, 05:14
Default
  #3
New Member
 
Renuka
Join Date: Aug 2017
Posts: 15
Rep Power: 8
Renu123 is on a distinguished road
Thank you for reply.
I am cutting model using standard GUI utilits->cutting plane->xy,yz,zx cut. Using python script I am able to specify plane and added it to model but problem is that how to calculate ox,oy,oz of each model automatically.
Renu123 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ansa Script ganesh0481 ANSA 47 February 21, 2019 04:09
[Workbench] Run ICEM Script in Workbench Script MIZOR ANSYS Meshing & Geometry 9 April 4, 2018 07:45
Ansa Script Grigoriy_Ermolaev ANSA 3 April 20, 2017 04:50
CentFOAM Python Script Installation: Error socon009 OpenFOAM Installation 2 May 26, 2012 09:36
[Commercial meshers] Output deck from ANSA for OpenFOAM use Kattie OpenFOAM Meshing & Mesh Conversion 10 February 2, 2011 07:46


All times are GMT -4. The time now is 22:43.