|
[Sponsors] |
Using createPatch and cyclicAMI in FOAM Extend 4.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 16, 2020, 21:06 |
Using createPatch and cyclicAMI in FOAM Extend 4.0
|
#1 |
New Member
mekim
Join Date: Sep 2019
Posts: 21
Rep Power: 7 |
Dear all!
I would like to simulate air flow around a rotating blade with rpm=17188.7, Compressible, transonic flow, and just one blade with cyclic conditions by using OpenFOAM extend 4.0. when I run createPatch, I get the following error. Code:
--> FOAM FATAL IO ERROR: keyword patchInfo is undefined in dictionary "/home/mekim/foam/mekim-4.0/run/rotor37/system/createPatchDict" file: /home/mekim/foam/mekim-4.0/run/rotor37/system/createPatchDict from line 20 to line 78. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 395. FOAM exiting I think it is due to the version difference. But I couldn't find the error. createPatchDict: Code:
pointSync false; // Patches to create. patches ( { //- Master side patch name cyclic1; patchInfo { type cyclicAMI; //matchTolerance 0.001; neighbourPatch cyclic2; transform noOrdering; //transform translational; separationVector (0.037175513 0.0 0); } constructFrom patches; patches (periodic1); //set f0; } { //- Slave side patch name cyclic2; patchInfo { type cyclicAMI; //matchTolerance 0.001; neighbourPatch cyclic1; transform noOrdering; //transform translational; separationVector (-0.037175513 0.0 0); } constructFrom patches; patches (periodic2); //set f0; } ); |
|
June 20, 2020, 06:19 |
|
#2 |
New Member
Mattia
Join Date: May 2018
Location: Novara - Italy
Posts: 29
Rep Power: 8 |
Hi
foam-extend's concept of AMI is GGI (Generalized Grid Interface); you can find source code at fvMesh/cyclicGgi and fields/cyclicGgi Beside that, your createPatchDict is wrongly defined (OF syntax) as foam-extend expects patchInfo instead of patches keyword. Try to change Code:
patches ( { //- Master side patch name cyclic1; patchInfo { type cyclicAMI; //matchTolerance 0.001; neighbourPatch cyclic2; transform noOrdering; //transform translational; separationVector (0.037175513 0.0 0); } constructFrom patches; patches (periodic1); //set f0; } ... Code:
patchInfo ( { //- Master side patch name cyclic1; dictionary { type cyclicGgi; //matchTolerance 0.001; neighbourPatch cyclic2; transform noOrdering; //transform translational; separationVector (0.037175513 0.0 0); } constructFrom patches; patches (periodic1); //set f0; } ... Last edited by time-; June 20, 2020 at 06:20. Reason: cycicAMI to cyclicGgi |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using createPatch and cyclicAMI in FOAM Extend to create periodicbox | manuc | OpenFOAM Running, Solving & CFD | 1 | April 12, 2022 12:36 |
Setting cyclicAMI and cyclic Boundary conditions (ICEM Mesh to OpenFoam) | bowen1024 | OpenFOAM Pre-Processing | 4 | March 1, 2018 20:28 |
CyclicAMI issues | vabishek | OpenFOAM Pre-Processing | 1 | December 6, 2015 17:37 |