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

Script

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 18, 2018, 05:29
Post Script
  #1
New Member
 
sriram
Join Date: May 2018
Posts: 2
Rep Power: 0
srirammurugaiyan is on a distinguished road
Is there any script to identify the hanging perimeters in ANSA ?
srirammurugaiyan is offline   Reply With Quote

Old   September 3, 2018, 09:35
Default
  #2
New Member
 
Join Date: Sep 2016
Posts: 9
Rep Power: 9
acurley31 is on a distinguished road
You can insert the two lines below to execute the Mesh > Hanging Edges check via script. The first line is the actual Check object (Python object). The second executes the check and returns a list of CheckReport objects. This will execute the Hanging Edges check on the entire ANSA database.

For more information on the Check and CheckReport API, refer to the ANSA scripting guide by clicking the scroll in the top toolbar near the UDF and Batch Mesh Manager buttons.

Code:
check	= ansa.base.checks.mesh.HangingEdges()
reports	= check.execute(exec_mode=ansa.base.Check.EXEC_ON_ALL)

Alex
acurley31 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
[ICEM] Script: problems with face names Maweil ANSYS Meshing & Geometry 3 April 16, 2019 09:10
[Workbench] Run ICEM Script in Workbench Script MIZOR ANSYS Meshing & Geometry 9 April 4, 2018 07:45
Grid Check Script pdp.aero SU2 2 April 23, 2015 01:54
[ICEM] Generalize ICEM script for different sizes of same geometry. Akash kumar ANSYS Meshing & Geometry 0 November 16, 2014 08:38
CentFOAM Python Script Installation: Error socon009 OpenFOAM Installation 2 May 26, 2012 09:36


All times are GMT -4. The time now is 12:26.