|
[Sponsors] |
Need help on boundary condition at corner point |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 10, 2023, 21:05 |
Need help on boundary condition at corner point
|
#1 |
New Member
Anh Dinh Le
Join Date: Apr 2020
Posts: 24
Rep Power: 6 |
Dear expert,
I am writing my own CFD code using finite difference method. The problem is the flow pass two cylinders. I created an O-type mesh with a cut line. The boundary condition is non-slip at wall. And at the cut-line (points 1, 2, 3,...), simply, using the average value from two points (1'-1'', 2'-2'', 3'-3'',...) near to the grid point at the cut-line. The problem is that it is difficult to choose boundary condition for grid point 0. I tried different boundary conditions: 1. P0=(Pa+Pa')/2 2. P0=(Pa+Pa')/2 and Ua=Ub/4, Va=Vb/4 and Ua'=Ub'/4, Va'=Vb'/4 (apply second order approximation) But the solution got strange result with pressure jump at the cut-line and some points near the cut-line and wall. Could you please give me advices to this problems? Thank you Last edited by AnhDL; September 10, 2023 at 22:29. |
|
September 11, 2023, 10:26 |
|
#2 |
New Member
Anh Dinh Le
Join Date: Apr 2020
Posts: 24
Rep Power: 6 |
Could anyone please help me?
|
|
September 11, 2023, 12:37 |
|
#3 |
Senior Member
Join Date: Jul 2009
Posts: 357
Rep Power: 18 |
The indexing that you are using for your mesh seems odd to me. Topologically your cut line is part of the same surface as the cylinder wall in (I,J) space, but you appear to be treating those pieces as partly I and partly J. Your results are more than likely the result of an indexing issue with your grid, and you are sticking values in the cells from parts of the grid that you don't mean to. Formally, the surface of the cylinder is no-slip, and then if you use an average properly, the point on the cylinder that corresponds to the cut location will get its values from the adjacent wall points - then the average of the no-slip velocities returns the correct no-slip velocity at the first cut point (zero if the wall is not moving).
|
|
September 11, 2023, 13:14 |
|
#4 | |
New Member
Anh Dinh Le
Join Date: Apr 2020
Posts: 24
Rep Power: 6 |
Quote:
|
||
September 11, 2023, 20:56 |
|
#5 |
Senior Member
Join Date: Jul 2009
Posts: 357
Rep Power: 18 |
So the cylinder surfaces and cutline comprise the j=1 grid line, if I understand your figures. So the next question is - are you sure that you are assigning the computed boundary pressure to both sides of the cutline? It looks like you are only assigning it to one side.
|
|
September 13, 2023, 04:14 |
|
#6 | |
New Member
Anh Dinh Le
Join Date: Apr 2020
Posts: 24
Rep Power: 6 |
Quote:
There is no problem with the tandem cylinders (pressure tendency on the cylinder surfaces fit the reference data) although the same boundary conditions were used. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Table bounds warnings at: END OF TIME STEP | CFXer | CFX | 4 | July 16, 2020 23:44 |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 08:44 |
problem about pressure boundary condition at sharp corner | yhaomin2007 | OpenFOAM Running, Solving & CFD | 1 | January 19, 2016 09:24 |
Problem in setting Boundary Condition | Madhatter92 | CFX | 12 | January 12, 2016 04:39 |
[snappyHexMesh] snappyHexMesh and cyclic boundaries | Ruli | OpenFOAM Meshing & Mesh Conversion | 2 | December 9, 2013 06:51 |