CFD Online Logo CFD Online URL
Home > Forums > Mesh Generation & Pre-Processing Software > ANSA


Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   May 18, 2018, 06:29
Post Script
New Member
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, 10:35
New Member
Join Date: Sep 2016
Posts: 9
Rep Power: 4
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.

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

acurley31 is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Workbench] Run ICEM Script in Workbench Script MIZOR ANSYS Meshing & Geometry 9 April 4, 2018 08:45
Grid Check Script SU2 2 April 23, 2015 02:54
[ICEM] Generalize ICEM script for different sizes of same geometry. Akash kumar ANSYS Meshing & Geometry 0 November 16, 2014 09:38
CentFOAM Python Script Installation: Error socon009 OpenFOAM Installation 2 May 26, 2012 10:36
[ICEM] Script: problems with face names Maweil ANSYS Meshing & Geometry 2 October 25, 2011 22:32

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