CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

[Other] Finding and Selecting Inlet and Outlet Faces

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 17, 2020, 03:05
Default Finding and Selecting Inlet and Outlet Faces
  #1
New Member
 
Ataberk
Join Date: Nov 2019
Posts: 14
Rep Power: 7
berkozaydin is on a distinguished road
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!
berkozaydin is offline   Reply With Quote

Old   December 25, 2020, 08:29
Default
  #2
Member
 
Melih Meriç
Join Date: Apr 2011
Posts: 46
Rep Power: 15
mmntmflx is on a distinguished road
Quote:
Originally Posted by berkozaydin View Post
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!
I guess no one can understand what you want to do..

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.
mmntmflx is offline   Reply With Quote

Old   December 25, 2020, 08:44
Default
  #3
New Member
 
Ataberk
Join Date: Nov 2019
Posts: 14
Rep Power: 7
berkozaydin is on a distinguished road
Quote:
Originally Posted by mmntmflx View Post
I guess no one can understand what you want to do..

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.
I just want to name the inlet and outlet sections. Forget the point.
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.
berkozaydin is offline   Reply With Quote

Old   March 22, 2023, 09:42
Default
  #4
Senior Member
 
Join Date: Feb 2020
Posts: 114
Rep Power: 6
lbj007 is on a distinguished road
Quote:
Originally Posted by berkozaydin View Post
I just want to name the inlet and outlet sections. Forget the point.
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.
Hi, I also encountered a similar problem, I want to filter out all the faces such as in the z = 5 plane, but I do not know how to use scripting to implement this process.
lbj007 is offline   Reply With Quote

Reply

Tags
ansys, python, script, spaceclaim

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] 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


All times are GMT -4. The time now is 22:24.