|
[Sponsors] |
August 1, 2012, 23:12 |
Setting side/wedge boundary condition
|
#1 |
New Member
Thomas S
Join Date: Aug 2012
Posts: 11
Rep Power: 13 |
Hello,
I am trying to set a proper boundary condition for sidewalls. To illustrate my problem, I have attached a screenshot. The problem is to set boundary conditions on the green parts in the picture. I'd like to apply identical conditions for both sides. So for instance, flow stream leaving one side should enter the volume on the other side. I think some kind of 'wedge' boundary condition is most convenient but I haven't managed it so far. Is it possible to do it with wedge conditions? Or are there any more convenient? I am using Salome for meshing. Thanks for your help. Thoma |
|
August 22, 2012, 00:49 |
|
#2 |
New Member
Thomas S
Join Date: Aug 2012
Posts: 11
Rep Power: 13 |
Ok. I managed it by using cyclicAMI which is available since OpenFoam v2.1.0
http://www.openfoam.org/version2.1.0/ Here you don't need exact matching points on both sides. Nevertheless a similar meshing is required. To mesh it with Salome see here: http://www.salome-platform.org/forum/forum_10/272693881 Finally my boundary file looks like this: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class polyBoundaryMesh; location "constant/polyMesh"; object boundary; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 6 ( inlet { type patch; nFaces 350; startFace 125878; } outlet { type patch; nFaces 342; startFace 126228; } side1 { type cyclicAMI; neighbourPatch side2; transform translational; separationVector (-0.04 0 0); nFaces 1478; startFace 126570; } side2 { type cyclicAMI; neighbourPatch side1; transform translational; separationVector (0.04 0 0); nFaces 1478; startFace 128048; } wall { type wall; nFaces 4431; startFace 129526; } vane { type wall; nFaces 981; startFace 133957; } ) // ************************************************** *********************** // I hope this helps anyone who struggles with a similar problem I had. regards, Thomas |
|
February 20, 2013, 17:00 |
|
#3 |
New Member
Peter Skrifvars
Join Date: Oct 2009
Posts: 3
Rep Power: 16 |
Hi Thoma,
You mentioned 'Nevertheless a similar meshing is required.' Does this mean that you had to reorder the coupled faces in some manner that I don't find in Salome or OF applications ? Did you create this cyclicAMI with createPatch or just by editing the boundary file ? BR Peter |
|
February 20, 2013, 17:32 |
|
#4 |
New Member
Thomas S
Join Date: Aug 2012
Posts: 11
Rep Power: 13 |
Hi Peter.
you have to copy the mesh information from one side to the other. Follow the link I have posted above. There it is sxplained. I didn't use createPatch. Just edited the boundary file. Regards, Thomas |
|
July 15, 2014, 19:06 |
transform type
|
#5 | |
New Member
ZD
Join Date: Jul 2014
Posts: 11
Rep Power: 11 |
hi all,
I tried the processes above on my simulation using OF2.3. However, there is some problems. My case is a quarter of a cylinder. So the two section planes should be defined as cyclic BC. At beginning, I thought I should set the transform type to be "rotational" according this link. However, this setup causes a rotation of the entire flow field. Now, I think I should use the type of "translational". I set the separationVector to be the Z axis (0 0 1). But it reports errors as follows: Quote:
So I'm wondering if there is anyone can kindly provide any hints regarding this issue. Thank you |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting the inlet boundary condition with inclination | saisanthoshm88 | CFX | 1 | October 4, 2011 07:41 |
Cells with t below lower limit | Purushothama | Siemens | 2 | May 31, 2010 22:58 |
vorticity boundary condition | bearcharge | Main CFD Forum | 0 | May 14, 2010 12:32 |
boundary condition velocity inlet dont have gauge pressure setting value? | coolyihao | FLOW-3D | 0 | March 17, 2009 11:17 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |