# obstacle question of nasavof2d

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

 October 7, 2008, 23:53 obstacle question of nasavof2d #1 stock Guest   Posts: n/a hi, i recently use nasavof2d to solve tank draining problem,and i want to set obstacle cells in the fluid.so i set beta(i,j)=-1.0 in obstacle cells by hand in subroutine setup,as if (XI(I).LE.0.40.AND.(YJ(J).GE.1.0.AND.YJ(J).LE.2.0) ) BETA(I,J)=-1.0 then running the fortran codes,when i used tecplot to display the result,i found velocity appeared in the obstacle cells.. i don't understand. thanks,stock

 October 8, 2008, 01:38 Re: obstacle question of nasavof2d #2 a Guest   Posts: n/a it's not strang, an example: assume solid is parallel to x-axis and you have no-slip condition on wall, then we set u-velocity of fictitious cells (in fact first row of obstacle, wall) equal to -1* u-velocity of cell in vicinity of wall, i.e., for a bottom wall: u(i,j) = -1.* u(i+1,j) (e.g. for i=1)

 October 8, 2008, 03:42 Re: obstacle question of nasavof2d #3 stock Guest   Posts: n/a thanks, but in the solavof2d,obstacle cells set only in the subroutine meshst as i do in the nasavof2d.it don't need to reset u-velocity or v-velocity in vicinity of obstacle wall. it only set u-velocity or v-velocity in boundary conditions.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post niklas OpenFOAM 2 July 31, 2013 16:03 ekh95 FLOW-3D 0 June 3, 2009 18:09 sam FLUENT 2 June 25, 2007 23:53 Carlos Main CFD Forum 4 August 23, 2002 05:55 K.L.Huang CD-adapco 1 March 29, 2000 04:57

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