|
[Sponsors] |
October 17, 2016, 08:30 |
MATLAB Application of wall boundary
|
#1 |
New Member
Join Date: Sep 2016
Posts: 3
Rep Power: 10 |
Hello friends,
I'm currently working on my own solver of Eulers equations, using cell centered finite volume method with Maccormacks scheme. My domain is channel with circular bump (10% of height), and i have a problem with applying boundary condtition on bottom wall with that bump. I know i have to use formula vn = 0, however, i have no idea how to code it. On top wall it was no problem, since i just set the velocity in cell behind the wall to negative value of the velocity before the wall. So my question is how do i apply the vn = 0 on wall that is not straight? Hope my question makes sense. Sorry for my bad english. Any advice or reference will be welcomed. Have a nice day. |
|
October 17, 2016, 09:21 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,865
Rep Power: 73 |
Quote:
Just as an example for a 2d problem, if you have a cartesian reference system you just set: n.v= 0 = nx*u+ny*v -> u/v = -ny/nx of course if you have also no-slip condition you must associate the tangential condition t.v = 0. |
||
Tags |
inviscid, matlab, wall boundary condition |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
Velocity vector in impeller passage | ngoc_tran_bao | CFX | 24 | May 3, 2016 22:16 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
CFX13 Post Periodic interface | EtaEta | CFX | 7 | December 8, 2011 18:15 |
External Radiation Boundary Condition (Two sided wall), Grid Interface | CFD XUE | FLUENT | 0 | July 8, 2010 07:49 |