|
[Sponsors] |
Symmetry boundary condition, 2D simulation in 3D mesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 3, 2021, 08:19 |
Symmetry boundary condition, 2D simulation in 3D mesh
|
#1 |
New Member
Shabi
Join Date: Dec 2020
Posts: 16
Rep Power: 6 |
Assume we have a 2D rectangular channel defined in the xy plane and the flow enters the domain from the left side and BC of the top and bottom is the no slip one.
Let us extrude the geometry in the z direction while keeping other conditions same(the z-component of the inlet velocity BC is zero). Are the results obtained from the 2D simulation and the 3D one different If 1) We extrude in the z direction with only one layer of cells? 2) We extrude in the z direction with more layer of cells? 3) What are the possibilities for the BC of the front and back section? What is the difference intuitively and physically between symmetry boundary condition and Neumann BC in the context above? In general, I appreciate any information about doing a 2D simulation in a 3D geometry... |
|
January 5, 2021, 11:10 |
|
#2 |
Senior Member
|
Let's just first focus on the math side with no specific code implementation in mind.
The 3D simulation will replicate the 2D results if, for any layer of cells in the 3rd dimension, the solved equations will be identical to the 2D ones (with one practical caveat I'll get back to soon). In order to achieve this you need all the extraneous terms (with respect to the 2D case) to disappear from the solved equations. Which, in turn, requires zero flow in the 3rd direction and zero extraneous derivatives. If you were simulating incompressible flows, a null divergence would have allowed for a constant velocity in the 3rd direction to be admissible just like the no flow condition, but that wouldn't work for general compressible cases. Now, with Neumann condition we refer to the setting of the normal derivative of a variable to 0. With symmetry condition we imply using Neumann for all the variables and a no flow condition. So, a problem has a symmetry boundary condition, a single variable has Neumann condition. In your case, replicating in 3D the 2D case requires the symmetry condition on both faces in the 3rd direction. The no flow or constant flow can be achieved either with a Dirichlet condition (assigning a value on the boundary) or with Neumann. In both cases a proper inlet value should be assigned. How and if these work also from the practical side is, however, very code dependent, as it is the fact that a single layer of cells will suffice or if more will be needed. In theory one should just work as many. However, as the number of cells in the third dimension grows, if the Re number is sufficiently high, even small numerical artifacts (like the grid coordinates not being perfectly aligned on the different planes) and the fact that the code is 3D, will eventually produce turbulence and a 3D flow, despite all that we said. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
Fluid Domain moving with Rigid body | Lloyd Sullivan | CFX | 3 | August 17, 2018 10:58 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
Boundary condition setting regarding turbine simulation using CFX | Lacerlacer | CFX | 11 | March 12, 2012 10:32 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |