CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   boundary conditions for p, U, omega, k and nut for an "internal wall" of a mesh (https://www.cfd-online.com/Forums/openfoam-solving/220863-boundary-conditions-p-u-omega-k-nut-internal-wall-mesh.html)

purnp2 September 25, 2019 06:24

boundary conditions for p, U, omega, k and nut for an "internal wall" of a mesh
 
Hello, FOAM community,
I am running a simulation over a compressor blade to read laminar to turbulent transition phenomenon over its surface. I imported a case (.cas) file from Fluent using 'fluentMeshToFoam' because the case file is 2D and has an internal wall. I followed the instructions from here:
http://openfoamwiki.net/index.php/Ho...internal_walls

I hope I have followed the instruction with 100% accuracy because there is a possibility that I made some mistake as not every step is mentioned for my typical case. Anyhow, the <checkMesh -allTopology -allGeometry> command gives OK result.

After I split the internal wall (part_3-surface_body) into two new surfaces (wall_for_internal_Purn_1 and wall_for_internal_Purn_2) and ran the simulation over the mesh, I have very weird result because I used slip boundary conditions for all the parameters on the two new walls (wall_for_internal_Purn_1 and wall_for_internal_Purn_2). Please check the velocity distribution in the attached photo:
https://drive.google.com/open?id=1Vg...Egfl-M-6EWAmi9

Now, my question is what boundary conditions should I use for these two new walls for the parameters p, U, k, omega and nut in such a way that solver feels like these walls don't exist there and the fluid flows across these walls without any interference.
For a quick reference of where the internal wall is, see this photo where the internal wall is broken into two parts and shown in yellow line:
https://drive.google.com/open?id=1L0...w6pKIU4xjXpd8c
https://drive.google.com/open?id=1L0...w6pKIU4xjXpd8c

To avoid any confusion and misunderstanding, I am attaching my whole case directory at the current stage in zipped form. I am using KDmodel as a RASModel but you may use the standard k-Omega model.
https://drive.google.com/open?id=14D...EcjX6gW5tj_sDH

I appreciate the time you are putting to solve/read this problem.
Thank you.
Purn P.
https://drive.google.com/open?id=1Vg...Egfl-M-6EWAmi9

purnp2 September 28, 2019 15:28

Solution
 
Hello,
I solved the above problem by this command:
Code:

stitchMesh -overwrite -perfect <master_patch> <slave_patch>
I wish creator of this page " http://openfoamwiki.net/index.php/Ho...internal_walls " may consider adding the above command in subscript.
Thank you for reading my question. :)


All times are GMT -4. The time now is 12:43.