|
[Sponsors] |
[ANSYS Meshing] Need help with selection of edges using scripting |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 5, 2017, 04:35 |
Need help with selection of edges using scripting
|
#1 | |
New Member
Join Date: Mar 2017
Posts: 1
Rep Power: 0 |
Hi everyone,
I have a problem with selecting edges using scripting in ANSYS Meshing. I am simulating a 2D flow passing over an airfoil with pressure jump below the airfoil and I am using scripting to automate the process. Without getting into details of the simulation, I first need to create named selection for inlets, outlets, etc to pass it to Fluent solver. I am currently stuck at how to select the edges for my named selection using scripting. I searched on the web and got one code on creating named selection for every single edge. but I need to create named selection for specific edges. Can anyone help me with this? How do I select specific edges using scripting in ANSYS Meshing? I am also using VS for debugging, does anyone know how do I access the attributes of edges in VS? like cooridnate info? Quote:
|
||
March 5, 2017, 16:49 |
|
#2 |
Senior Member
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 14 |
how would you tell code to go and select particular edge?
the above code is selecting each edge in the same pattern as it is drawn. if you have fixed geometry for all the simulation you do then you can see the range from what number edge to what number edge is your "inlet" is being formed and call them. sorry but I dont have time to go thru your project and fix it. Please try and see how you can code and reach particular edge and then select with similar code posted below Cheers KAPI |
|
Tags |
ansys, meshing, scripting |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh sticking point | natty_king | OpenFOAM Meshing & Mesh Conversion | 11 | February 20, 2024 09:12 |
[snappyHexMesh] sHM layer process keeps getting killed | MBttR | OpenFOAM Meshing & Mesh Conversion | 4 | August 15, 2016 03:21 |
[snappyHexMesh] SnappyHexMesh for internal Flow | vishwa | OpenFOAM Meshing & Mesh Conversion | 24 | June 27, 2016 08:54 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 09:38 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 21:11 |