CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

MATLAB Application of wall boundary

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 17, 2016, 08:30
Default MATLAB Application of wall boundary
  #1
New Member
 
Join Date: Sep 2016
Posts: 3
Rep Power: 8
Jbsl is on a distinguished road
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.
Jbsl is offline   Reply With Quote

Old   October 17, 2016, 09:21
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,266
Rep Power: 67
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Jbsl View Post
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.

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.
FMDenaro is offline   Reply With Quote

Reply

Tags
inviscid, matlab, wall boundary condition

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 09:34.