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

Scripting command

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 19, 2017, 05:27
Default Scripting command
  #1
New Member
 
Join Date: Oct 2017
Posts: 1
Rep Power: 0
dikshant is on a distinguished road
I am currently trying to automate the mesh generation process by Python scripting in ANSA. I was wondering what function can I use to isolate the double cons in a list. The collectEntitities function only works for CONS and I can't find the keyword for double CONS.
Thanks
dikshant is offline   Reply With Quote

Old   October 20, 2017, 02:36
Default
  #2
Member
 
Maries
Join Date: Mar 2010
Location: Cologne, Germany
Posts: 75
Rep Power: 16
rmaries is on a distinguished road
In cons there is an attribute called Number of Pasted cons. If number of pasted cons = 2 then it double CONS. If it is 1, it is single cons. If it is more than 2, it is triple cons.

Why are you separating double cons.? I am interested in knowing more about your algorithm.

Thanks
Maries
rmaries is offline   Reply With Quote

Reply

Tags
ansa, python, scripting

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
8x icoFoam speed up with Cufflink CUDA solver library kmooney OpenFOAM Running, Solving & CFD 42 November 6, 2012 11:37
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 08:48
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 04:41
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26


All times are GMT -4. The time now is 00:01.