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

Split connectors at their intersection

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 26, 2018, 03:22
Exclamation Split connectors at their intersection
  #1
New Member
 
Join Date: Sep 2018
Posts: 2
Rep Power: 0
FOUAD12 is on a distinguished road
Hello everyone,
To split connectors at their intersection, I found that this feature is not provided in pointwise and a script was developed to do so. 'splitconsatintersection.glf'. The issue is that the script failed to launch for me. I tried with a simple two segment connectors and it still failed to launch.
I'm working with P 17.2 R1.

Did someone faced the issue before ? Thanks for the help

This is what I got in the messages screen:

Script: ----- TCL TRACE -----
Script: ERROR: bad command (getSelectedEntities): valid choices are: hideAllLayers,
Script: setShowConnectors, setCurrentView, isLayerVisible, getShowDatabase,
Script: hideLayer, setDoublePrecision, setViewName, getDoublePrecision,
Script: getViewName, getCurrentView, getProjection, isSavedView, selectPoint,
Script: toggleLayer, createSelectionMask, toggleAllLayers, getLightDirection,
Script: setProjection, update, getShowDomains, setLightDirection,
Script: setCurrentLayer, showLayer, selectEntities, setShowBodyAxes,
Script: setShowDomains, setShowDisabledEntities, clearView, isolateLayer,
Script: setShowNodes, setShowDatabase, recallView, getShowDisabledEntities,
Script: resetRotationPoint, getCurrentLayer, resetView, getShowXYZAxes,
Script: showAllLayers, saveView, getShowBodyAxes, setShowXYZAxes, getShowNodes,
Script: or getShowConnectors
Script: while executing
Script: "pw::Display getSelectedEntities -selectionmask [pw::Display createSelectionMask -requireConnector {}] resultArray"
Script: (procedure "getPreSelection" line 3)
Script: invoked from within
Script: "getPreSelection"
Script: (file "C:/Users/Hamidane/Desktop/doner/SplitConsAtIntersection-master/SplitConsAtIntersection-GUI.glf" line 279)
Script: ---------------------
Info: Script C:/Users/Hamidane/Desktop/doner/SplitConsAtIntersection-master/SplitConsAtIntersection-GUI.glf failed.
FOUAD12 is offline   Reply With Quote

Old   September 26, 2018, 21:32
Default
  #2
New Member
 
coupsdebambous's Avatar
 
Quentin d'Avout
Join Date: Oct 2017
Location: Marseille
Posts: 19
Rep Power: 8
coupsdebambous is on a distinguished road
Hey Fouad,
you can simply use the second connector when splitting the first one, and vice versa.
Not automatic, but it works.
coupsdebambous is offline   Reply With Quote

Old   September 29, 2018, 11:28
Default
  #3
New Member
 
Join Date: Sep 2018
Posts: 2
Rep Power: 0
FOUAD12 is on a distinguished road
Thanks for the reply coupsdebambous.
FOUAD12 is offline   Reply With Quote

Old   October 8, 2018, 10:42
Default
  #4
Senior Member
 
Zach Davis
Join Date: Jan 2010
Location: Los Angeles, CA
Posts: 101
Rep Power: 16
RcktMan77 is on a distinguished road
I believe this is a script I wrote for one of Pointwise's customers who requested this functionality while we were at a conference. It was written for Pointwise v18.0 and later, and the getSelectedEntities Glyph call that is throwing an error indicates it is using an option to getSelectedEntities that wasn't supported in earlier versions of Pointwise. I would recommend upgrading, not just for compatibility with this script, but for all of the new capabilities, bug fixes, and enhancements that have been added over the past 5 or so years.


Otherwise, I would look at your Glyph manual for your version of Pointwise, and see whether an alternative approach could be used at this line. You may be able to comment out this line entirely. It's using some logic to determine whether the user has selected two connectors already, and if so, then skip prompting the user to select two connectors.


Best Regards,




Zach Davis
RcktMan77 is offline   Reply With Quote

Reply

Tags
p17.2 r1

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
[Other] 2D adaptive Mesh Refinement baco OpenFOAM Community Contributions 80 August 14, 2022 14:18
split intersecting connectors? flux Pointwise & Gridgen 1 January 13, 2014 09:54
[GAMBIT] 3D mesh for pipe intersection pranab_jha ANSYS Meshing & Geometry 3 May 28, 2010 01:33
how to split hex mesh in icem with desired height? adam2008 ANSYS Meshing & Geometry 3 August 27, 2009 14:59
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 16:59.