|
[Sponsors] |
[Other] Finding and Selecting Inlet and Outlet Faces |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Ataberk
Join Date: Nov 2019
Posts: 14
Rep Power: 5 ![]() |
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! |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Member
Melih Meriç
Join Date: Apr 2011
Posts: 46
Rep Power: 14 ![]() |
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. |
||
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
Ataberk
Join Date: Nov 2019
Posts: 14
Rep Power: 5 ![]() |
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. |
||
![]() |
![]() |
![]() |
![]() |
#4 | |
Senior Member
Join Date: Feb 2020
Posts: 114
Rep Power: 5 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
Tags |
ansys, python, script, spaceclaim |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] decomposePar ignores some boundary patches | Kalabagh | OpenFOAM Meshing & Mesh Conversion | 6 | January 22, 2020 14:50 |
Selecting cell closest to coordinates (and setting its field value) | rando_foamer | OpenFOAM Pre-Processing | 2 | May 14, 2019 05:15 |