|
[Sponsors] | |||||
Splitting a patch into lower and upper surfaces |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
Join Date: May 2025
Posts: 7
Rep Power: 2 ![]() |
Hello everyone,
I have a fluid domain (box) with a tilted rectangular panel that is cut out of the fluid domain. I have imported my mesh from SALOME with all the necessary named selections for my boundaries. For automation purposes, however, I want to split the upper and lower surfaces of my tilted panel patches, and I'm struggling. Using topoSet, I have created faceSets for my panels, but when I try to split them based on the normal vector, and even when I specify in the source info that I want my panel to be the source faceSet, it just takes eveything that corrsponds to the normal, including internal surfaces. Any help is much appreciated! Code:
actions
(
{
name solarPanel1;
type faceSet;
action new;
source patchToFace;
patch solarPanel1;
}
{
name upper1;
type faceSet;
action new;
source normalToFace;
sourceInfo
{
faceSet solarPanel1;
normal (.49999961698725573916 0 .86602562491683672008);
cos 0.01;
}
}
);
|
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 360
Rep Power: 29 ![]() ![]() |
Yes, the behaviour you describe is exactly what topoSet is supposed to do.
Create a faceSet from the patch, and create a faceSet from the face-normals. You seem to be under the impression, that providing faceSet solarPanel1 in the sourceInfo of your second definition implicitely results in a Boolean operation. Your observations imply that this is not the case, and I am not sure whether this is supposed to happen anyway. The annotated topoSetDict of OpenFOAM-12 does not contain anything that might suggest something like this could work. Is this a hallucination of ChatGPT? What you need, is to explicitly perform a Boolean operation with the action subset. |
|
|
|
|
|
![]() |
| Tags |
| boundaries, createpatch, toposet |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ncrit for a glider Xfoil. How to use it. GPT4 answer | AlanMattanó | Main CFD Forum | 0 | April 10, 2023 13:16 |
| chtMultiRegionFoam speed up | qwertz | OpenFOAM Running, Solving & CFD | 8 | September 18, 2021 07:16 |
| Different upper and lower bound for different design variables for shape optimization | bikalpa10 | SU2 | 0 | December 14, 2020 17:27 |
| ANSYS: Design of Experiments and Optimization - Upper and Lower Bounds | mrswordf1sh | ANSYS | 0 | April 5, 2018 08:33 |
| [snappyHexMesh] upper and lower patch for a 0_thick Membrane in a wind tunnel | hfs | OpenFOAM Meshing & Mesh Conversion | 7 | October 15, 2013 17:41 |