# Confusion abt non-uniform staggered grid

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

 August 20, 2007, 07:49 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.

 August 21, 2007, 08:14 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.

 August 29, 2007, 04:46 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.

 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 msarkar OpenFOAM Running, Solving & CFD 34 November 3, 2015 11:12 javad814 OpenFOAM 1 September 26, 2011 13:30 Wolle OpenFOAM 2 April 11, 2011 07:32 claco OpenFOAM 7 April 20, 2010 04:32 kumar2 OpenFOAM Running, Solving & CFD 8 March 24, 2008 19:38

All times are GMT -4. The time now is 15:43.