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

Velocity field in staggered grid

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 14, 2012, 18:38
Default Velocity field in staggered grid
  #1
Senior Member
 
Join Date: Dec 2011
Location: Madrid, Spain
Posts: 133
Rep Power: 6
michujo is on a distinguished road
Hi everybody, I am trying to write a simple 2D CFD code based on Patankar's book, 1980 (a.k.a. "The Bible"). I want to use a staggered grid and implement the SIMPLE algorithm. However I have a question (actually I have many but let's keep it simple):

- If there is one grid for pressure, one grid for u (x axis velocity) and one grid for v (y axis velocity), as sketched in the attached figure, how could I plot the velocity vector field, if u and v do not even share the same grid? do I have to, somehow, interpolate u and v onto the main grid?

Thanks a lot for your help.
Cheers.
Attached Images
File Type: jpg staggered grid.jpg (21.2 KB, 17 views)

Last edited by michujo; June 14, 2012 at 19:04.
michujo is offline   Reply With Quote

Old   June 14, 2012, 19:24
Default
  #2
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 287
Rep Power: 9
ztdep is on a distinguished road
Send a message via Yahoo to ztdep Send a message via Skype™ to ztdep
yes interpolation
ztdep is offline   Reply With Quote

Old   June 15, 2012, 04:01
Default
  #3
Senior Member
 
Join Date: Dec 2011
Location: Madrid, Spain
Posts: 133
Rep Power: 6
michujo is on a distinguished road
Ok, I will try and do that once I figure how to actually implement the SIMPLE algorithm.

Thanks for your help man.
michujo is offline   Reply With Quote

Old   June 15, 2012, 06:09
Default
  #4
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 287
Rep Power: 9
ztdep is on a distinguished road
Send a message via Yahoo to ztdep Send a message via Skype™ to ztdep
Quote:
Originally Posted by michujo View Post
Ok, I will try and do that once I figure how to actually implement the SIMPLE algorithm.

Thanks for your help man.
in my blog . i uploade a fortran 90 simple .
ztdep is offline   Reply With Quote

Old   June 15, 2012, 07:42
Default
  #5
Senior Member
 
Join Date: Dec 2011
Location: Madrid, Spain
Posts: 133
Rep Power: 6
michujo is on a distinguished road
I will check it out, thanks!
michujo is offline   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
Editing chtMultiRegionFoam to not solve velocity field tH3f0rC3 OpenFOAM 16 April 20, 2011 10:53
problems after decomposing for running alessio.nz OpenFOAM 5 April 20, 2011 08:44
interpreting velocity field asharma OpenFOAM Post-Processing 2 October 9, 2010 01:19
Initial velocity field in StarCCM+ Subhadeep CD-adapco 3 December 21, 2008 04:40
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


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