Setting side/wedge boundary condition
1 Attachment(s)
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 |
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 |
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 |
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 |
transform type
2 Attachment(s)
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 |
All times are GMT -4. The time now is 17:02. |