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

Confusion abt non-uniform staggered grid

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 20, 2007, 07:49
Default Confusion abt non-uniform staggered grid
  #1
CF
Guest
 
Posts: n/a
Hello,

I'm trying to write a code using SIMPLE on staggered cartesian grids. The books I read mention that u,v,p each are solved on their control volume.

However, all the examples are given on uniform grids. What if the grid are non-uniform?

If the p nodes are defined on the center of its control volume, is it correct to say that the u nodes will be on the left, right faces of the p control volume?

In that case, is the left,right faces of the u control volume on the same location as the p nodes? But if that's the case, u will not be in the center of its own control volume.

Or the p nodes do not coincide with the left, right faces of the u control volume and u is at the center of its own control volume.

Which one is correct? Or can both be used? Is there any preferred choice? Thank you.
  Reply With Quote

Old   August 21, 2007, 08:14
Default Re: Confusion abt non-uniform staggered grid
  #2
student
Guest
 
Posts: n/a
the type of scheme you apply is important. and you have to use weighted interpolation.
  Reply With Quote

Old   August 29, 2007, 04:46
Default Re: Confusion abt non-uniform staggered grid
  #3
p
Guest
 
Posts: n/a
for a 1d problem let's say, two adjacent p control volumes will have lengths delta_x_1 and delta_x_2. the u control volume will thus have length 1/2(delta_x_1 + delta_x_2). is that the confusion? in the program have one delta_x array and subsequently when the delta_x of p cv is required, use that starightway. when the delta_x of the u cv is required, go by the algebra as above. remember delta_x_1/delta_x_2 ratio (larger/smaller) should not exeed 1.2 or so, if delta_x_1 is larger.
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Free jet simulation msarkar OpenFOAM Running, Solving & CFD 33 January 7, 2015 23:10
chtMultiRegionSimpleFoam javad814 OpenFOAM 1 September 26, 2011 13:30
Need help with boundary conditions: open to atmosphere Wolle OpenFOAM 2 April 11, 2011 07:32
rhoSimpleFoam claco OpenFOAM 7 April 20, 2010 04:32
RasInterFoam STRANGE RESULTS AT BOUNDARY kumar2 OpenFOAM Running, Solving & CFD 8 March 24, 2008 19:38


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