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

Script for selecting particular domains

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2015, 04:57
Default Script for selecting particular domains
  #1
New Member
 
Join Date: Jun 2014
Location: India
Posts: 9
Rep Power: 11
skn455 is on a distinguished road
I need to create an unstructured block by selecting a few unstructured domains using Create>Extrude>Normal . I want to write a script to select those domains only .

I wrote this (By copying from the journal )

pw::FaceUnstructured createFromDomains[list $_DM(1) $_DM(2) $_DM(16) $_DM(3) ]

But I get the error

can't read "_DM(1)": no such variable
How should I mention the domain names in this command?
skn455 is offline   Reply With Quote

Old   February 24, 2015, 11:45
Default
  #2
Senior Member
 
David Garlisch
Join Date: Jan 2013
Location: Fidelity Pointwise, Cadence Design Systems (Fort Worth, Texas Office)
Posts: 307
Rep Power: 14
dgarlisch is on a distinguished road
The full script documentation is on the pointwise website.

If you want the user to select the domains in the script. You will need to use the pw:: Display getSelectedEntities command.

If you know the names of the domains, you can use the pw::Grid getByName command.

You can also look at the Pointwise github script repository for many examples. Find a script that is similar to what you are trying to accomplish and take a look!
dgarlisch 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
[ANSYS Meshing] Displaying solid domains in CFD Post without meshing them. hda ANSYS Meshing & Geometry 5 October 24, 2016 09:26
[ICEM] Generalize ICEM script for different sizes of same geometry. Akash kumar ANSYS Meshing & Geometry 0 November 16, 2014 08:38
Porous domains in contact 0906536m CFX 3 September 30, 2013 18:34
CentFOAM Python Script Installation: Error socon009 OpenFOAM Installation 2 May 26, 2012 09:36
Multiple Solid Domains - Interfaces Scott CFX 8 July 31, 2008 15:20


All times are GMT -4. The time now is 05:27.