|
[Sponsors] |
[Other] Finding and Selecting Inlet and Outlet Faces |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 17, 2020, 03:05 |
Finding and Selecting Inlet and Outlet Faces
|
#1 |
New Member
Ataberk
Join Date: Nov 2019
Posts: 14
Rep Power: 7 |
Hi,
I try to make automation for my simple pipe geometries. I have a simple pipe that has a different diameter at the inlet and outlet. I try to find the inlet and outlet sections of the pipe using the Spaceclaim scripting. By the way, I put a 3D point in the center of the inlet section of each pipe geometry to find out which is the inlet or outlet face. Maybe, this will be helpful. So, how can I write a script to find inlet and outlet sections of pipes? Thanks! |
|
December 25, 2020, 08:29 |
|
#2 | |
Member
Melih Meriç
Join Date: Apr 2011
Posts: 46
Rep Power: 15 |
Quote:
But i think, you dont need to find that surfaces for every parameter study. You just have to use "parametric dimension" if you do that you can solve all diameters and all different long pipes. In ansys workbench platform you can easily do that. |
||
December 25, 2020, 08:44 |
|
#3 | |
New Member
Ataberk
Join Date: Nov 2019
Posts: 14
Rep Power: 7 |
Quote:
For example, the inlet section of all pipe geometries is placed on the origin. That means if I can write the script for the inlet surface which is located on the origin, it can be named as "inlet". And also, if I can write the inlet sections, there will only one face and it is the outlet. It can be written as "outlet" also. This is not a hard issue. Maybe a lack of information. This is just an automation process. There is no meaning of the parametric dimension. But, thanks. This is what I only need. |
||
March 22, 2023, 09:42 |
|
#4 | |
Senior Member
Join Date: Feb 2020
Posts: 114
Rep Power: 6 |
Quote:
|
||
Tags |
ansys, python, script, spaceclaim |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] decomposePar ignores some boundary patches | Kalabagh | OpenFOAM Meshing & Mesh Conversion | 6 | January 22, 2020 15:50 |
Selecting cell closest to coordinates (and setting its field value) | rando_foamer | OpenFOAM Pre-Processing | 2 | May 14, 2019 06:15 |