prescribibg cyclic boundary in openfoam
Hi there,
I am fairly new to Openfoam and had a question on cyclic BC: I have a case, with a rectangular domain that I want to prescribe cyclic BC to its front-back and up-down boundaries. the mesh on those boundaries are structured and fully identical. In the U and p files inside the 0 folder, I have uased the new names of the boundaries (c_front, ....). Then I used the createPatchDict, and ran it. However, when I want to decompose it, it gives me errors that seems to be due to the Patch things. Also, inside the Ploymesh folder, I can't find the new names in the file boundary. Is there any subtle thing that I have to take care when I want to make those boundaries cyclic? Just in case, here is my createPatchDict // ----- createPatchDict ---------------------------------------------- FoamFile { version 2.0; format ascii; class dictionary; object createPatchDict; } // -------------------------------------------------------------------- pointSync false; patches ( { name c_up; patchInfo { type cyclic; matchTolerance 0.001; neighbourPatch c_down; } constructFrom patches; patches ( up ); } { name c_down; patchInfo { type cyclic; matchTolerance 0.001; neighbourPatch c_up; } constructFrom patches; patches ( down ); } { name c_front; patchInfo { type cyclic; matchTolerance 0.001; neighbourPatch c_back; } constructFrom patches; patches ( front ); } { name c_back; patchInfo { type cyclic; matchTolerance 0.001; neighbourPatch c_front; } constructFrom patches; patches ( back ); } ); // -------------------------------------------------------------------- |
All times are GMT -4. The time now is 07:52. |