|
[Sponsors] |
February 20, 2015, 05:57 |
Script for selecting particular domains
|
#1 |
New Member
Join Date: Jun 2014
Location: India
Posts: 9
Rep Power: 12 |
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? |
|
February 24, 2015, 12:45 |
|
#2 |
Senior Member
David Garlisch
Join Date: Jan 2013
Location: Fidelity Pointwise, Cadence Design Systems (Fort Worth, Texas Office)
Posts: 307
Rep Power: 14 |
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! |
|
|
|
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 10:26 |
[ICEM] Generalize ICEM script for different sizes of same geometry. | Akash kumar | ANSYS Meshing & Geometry | 0 | November 16, 2014 09:38 |
Porous domains in contact | 0906536m | CFX | 3 | September 30, 2013 19:34 |
CentFOAM Python Script Installation: Error | socon009 | OpenFOAM Installation | 2 | May 26, 2012 10:36 |
Multiple Solid Domains - Interfaces | Scott | CFX | 8 | July 31, 2008 16:20 |