|
[Sponsors] |
OpenFOAM v2306 preservePatches does not preserve cyclicAMI patches. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 19, 2023, 09:12 |
OpenFOAM v2306 preservePatches does not preserve cyclicAMI patches.
|
#1 |
Senior Member
ONESP-RO
Join Date: Feb 2021
Location: Somwhere on Planet Earth
Posts: 127
Rep Power: 5 |
Hello,
I want to keep two AMI patches together in a single processor. In the release notes of OpenFOAM v2112 (here: https://www.openfoam.com/news/main-n...v2112/parallel) it is stated that the preservePatches constraints now supports cyclicAMI patches. However, when I tried it using OpenFOAM v2306, the AMI patches are not kept in a single processor. Code:
numberOfSubdomains 8; method scotch; constraints { preservePatches { type preservePatches; patches (ami0 ami1); enabled true; } } PS: the circular region containing the rectangle is rotating, while the external region is fixed (as in any typical sliding mesh simulation). I appreciate your help.
__________________
Don't keep making the same mistakes. Try to make new mistakes. |
|
December 22, 2023, 04:36 |
|
#2 |
Member
Roland
Join Date: Mar 2009
Location: Netherlands
Posts: 92
Rep Power: 17 |
Hi,
The link you provide says: "The preservePatches constraint can be used to keep owner and neighbour cells of coupled patches on the same processor." This means that, if I understand it correctly, although parts of the coupled patches may be distributed across different processors, the owner and neighbour of each cell will be assigned to the same processor. You can see this in action in their second screenshot, where the neighbouring cells to the left and right of the green line are coloured the same, i.e. they belong to the same processor. |
|
December 22, 2023, 05:36 |
|
#3 | |
Senior Member
ONESP-RO
Join Date: Feb 2021
Location: Somwhere on Planet Earth
Posts: 127
Rep Power: 5 |
Quote:
I think that really makes sense now for me. I find it very tricky to read that webpage. I believe they should add a note. I expect everyone who is not reading that carefully to think that this constraint is made to preserve the AMI patches on a single processor.
__________________
Don't keep making the same mistakes. Try to make new mistakes. |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] [cfMesh] Error when creating AMI patches propeller | gabrielfelix | OpenFOAM Community Contributions | 2 | July 5, 2023 20:54 |
OpenFOAM course for beginners | Jibran | OpenFOAM Announcements from Other Sources | 2 | November 4, 2019 08:51 |
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology | wyldckat | OpenFOAM | 17 | November 10, 2017 15:54 |
Possible bug with stitchMesh and cyclics in OpenFoam | Jack001 | OpenFOAM Pre-Processing | 0 | May 21, 2016 08:00 |
CyclicAMI issues | vabishek | OpenFOAM Pre-Processing | 1 | December 6, 2015 16:37 |