|
[Sponsors] |
April 20, 2012, 13:05 |
how to setup cyclic patch pair?
|
#1 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
Dear OpenFOAMers,
I have a channel with an inlet and an outlet. The points are matched on both the inlet and the outlet. Is there a way to convert the inlet and the outlet into a cyclic pair? Thanks! Pei-Ying |
|
April 20, 2012, 18:37 |
|
#3 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
Hi, baserinia,
Thanks for the link! But, if I already have a mesh that has an Inlet patch and an Outlet patch, is there a way to convert the Inlet patch and the Outlet patch into a cyclic pair? Pei-Ying |
|
April 20, 2012, 19:52 |
|
#4 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
If you already have a mesh, you can edit the constant/polyMesh/boundary file and change the definition from patch to cyclic/cyclicAMI. If your patches are non-conformal, you will need to use cyclicAMI. There will be several entries that will need to be supplied; have a look at the $FOAM_TUTORIALS/incompressible/simpleFoam/pipeCyclic case to get started.
|
|
April 20, 2012, 20:03 |
|
#5 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
Thanks a lot mturcios777,
I will give it a try this weekend. Pei-ying |
|
April 21, 2012, 08:14 |
|
#6 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
Hi, mturcios777,
WOW, this pipeCyclic case is quite complicated. I have never encountered #codeStream before. After I finished running the case using ./Allrun, I cannot even do reconstructPar and/or paraFoam/paraview to process the results. Pei-Ying |
|
April 23, 2012, 13:31 |
|
#7 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
What version of OF are you running? If you haven't modified the tutorial case it should reconstruct just fine.
In the future, please follow the guidelines in this thread to get a better chance that we can help you: http://www.cfd-online.com/Forums/ope...-get-help.html Good luck! |
|
April 25, 2012, 09:51 |
|
#8 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
Thanks a lot Marco!
I am using OpenFOAM-2.1.x on OpenSUSE 12.1. I am not able to do reconstructPar. It looks like I will have to set allowSystemOperations 1; in $WM_PROJECT_DIR/etc/controlDict It looks like #codeStream is a powerful way to specify BC using C++. This is something new to me and will have to learn it in more detail to understand it. Anyhow, this example is sufficient for me know how to set cyclicAMI. Pei-Ying |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cyclic Boundary Condition | Luiz Eduardo Bittencourt Sampaio (Sampaio) | OpenFOAM Running, Solving & CFD | 36 | July 2, 2012 13:23 |
simpleSRFoam, makePatch and cyclic patch | vaina74 | OpenFOAM Running, Solving & CFD | 7 | February 28, 2011 08:26 |
CheckMeshbs errors | ivanyao | OpenFOAM Running, Solving & CFD | 2 | March 11, 2009 03:34 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |