|
[Sponsors] |
[snappyHexMesh] How to create cyclic non-matching patches? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 16, 2020, 06:24 |
How to create cyclic non-matching patches?
|
#1 |
New Member
Tobias Kienzler
Join Date: Mar 2020
Posts: 13
Rep Power: 6 |
Hello,
I'd like to mesh part of periodic tube with cyclic patches, i.e. while the internal structure is irregular and provided by an OBJ file, the cyclic patches are identical but rotated. Just using a naive run on snappyHexMesh and createPatches Code:
FoamFile { version 2.0; format ascii; class dictionary; object createPatchDict; } pointSync false; // Patches to create. patches ( { name cyclAMI.Front; patchInfo { type cyclicAMI; neighbourPatch cyclAMI.Back; // Optional: explicitly set transformation tensor. // Used when matching and synchronising points. transform rotational; rotationAxis (0 0 1); rotationCentre (0 0 0); } constructFrom patches; patches (Front); } { name cyclAMI.Back; patchInfo { type cyclicAMI; neighbourPatch cyclAMI.Front; transform rotational; rotationAxis ( 0 0 1 ); rotationCentre ( 0 0 0 ); } constructFrom patches; patches (Back); } ); Cheers |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 06:09 |
[snappyHexMesh] snappyHexMesh and cyclic boundaries | Ruli | OpenFOAM Meshing & Mesh Conversion | 2 | December 9, 2013 06:51 |
Cyclic boundaries in OF 21x | morard | OpenFOAM | 25 | May 13, 2013 22:35 |
[mesh manipulation] CreatePatch to create cyclic boundary | sbence | OpenFOAM Meshing & Mesh Conversion | 18 | August 30, 2012 06:51 |
[snappyHexMesh] snappyHexMesh with cyclic patches? | Axel_T | OpenFOAM Meshing & Mesh Conversion | 1 | October 12, 2010 10:03 |