|
[Sponsors] |
openfoam ext4.0 and problem in cyclic condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 19, 2019, 08:58 |
openfoam ext4.0 and problem in cyclic condition
|
#1 |
Senior Member
Hojatollah Gholami
Join Date: Jan 2019
Posts: 171
Rep Power: 7 |
Dear all.
I try to model periodic condition in top and down of fluid zone with createPatchDic. I first combine two faces and then use cyclic, but the solver take a error. my file createPatchDic is : pointSync true; // Patches to create. patchInfo ( { name elastic; dictionary { type wall; } constructFrom patches; patches (elastic1u elastic2u); } { name fix; dictionary { type wall; } constructFrom patches; patches (fix1u fix2u); } { name down //line 47 dictionary { type cyclic; neighbourPatch top; transform translational; separationVector (0 -0.05 0); } constructFrom patches; patches (top down); set f0; //line 58 } { name top dictionary { type cyclic; neighbourPatch down; transform translational; separationVector (0 -0.05 0); } constructFrom patches; patches (top down); set f0; } ); //---------------------------- and the errorr is Create time Reading createPatchDict. Create polyMesh for time = 0 Adding new patch elastic as patch 17 from { type wall; } Adding new patch fix as patch 18 from { type wall; } Moving faces from patch elastic1u to patch 17 Moving faces from patch elastic2u to patch 17 Moving faces from patch fix1u to patch 18 Moving faces from patch fix2u to patch 18 --> FOAM FATAL IO ERROR: keyword constructFrom is undefined in dictionary "/home/itp/foam/foam-extend-4.0/tutorials/tubes/fluid/system/createPatchDict:atchInfo" file: /home/itp/foam/foam-extend-4.0/tutorials/tubes/fluid/system/createPatchDict:atchInfo from line 47 to line 58. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 395. FOAM exiting //----------------- Did anybody have this error and how do you fix it? |
|
January 19, 2019, 09:33 |
|
#2 |
Senior Member
Hojatollah Gholami
Join Date: Jan 2019
Posts: 171
Rep Power: 7 |
the problem was due to ";" after the "name top" that added and problem is solved.
|
|
February 19, 2019, 11:53 |
|
#3 | |
Senior Member
Hojatollah Gholami
Join Date: Jan 2019
Posts: 171
Rep Power: 7 |
Success code
Quote:
|
||
Tags |
periodic condition |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Cyclic patch problem! | SMartella | OpenFOAM Meshing & Mesh Conversion | 7 | May 6, 2024 09:03 |
[Commercial meshers] Problem with cyclic boundaries in Openfoam 2.3, mesh import from ICEM | Scabbard | OpenFOAM Meshing & Mesh Conversion | 29 | October 6, 2020 22:14 |
Understanding the cyclic boundary condition | leroyv | OpenFOAM Running, Solving & CFD | 10 | May 31, 2020 10:05 |
Cyclic rotor stator boundary condition problem | fairuz | OpenFOAM | 3 | April 26, 2014 01:16 |
CAD -> gMsh -> enGrid -> OpenFOAM Problem | AlGates | OpenFOAM | 7 | August 6, 2010 13:46 |