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

Velocity field in staggered grid

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2012, 19:38
Default Velocity field in staggered grid
  #1
Senior Member
 
Join Date: Dec 2011
Location: Madrid, Spain
Posts: 134
Rep Power: 15
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, 24 views)

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

Old   June 14, 2012, 20:24
Default
  #2
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 427
Rep Power: 19
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, 05:01
Default
  #3
Senior Member
 
Join Date: Dec 2011
Location: Madrid, Spain
Posts: 134
Rep Power: 15
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, 07:09
Default
  #4
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 427
Rep Power: 19
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, 08:42
Default
  #5
Senior Member
 
Join Date: Dec 2011
Location: Madrid, Spain
Posts: 134
Rep Power: 15
michujo is on a distinguished road
I will check it out, thanks!
michujo is offline   Reply With Quote

Reply

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
problems after decomposing for running alessio.nz OpenFOAM 7 March 5, 2021 05:49
Editing chtMultiRegionFoam to not solve velocity field tH3f0rC3 OpenFOAM 18 January 24, 2020 17:39
interpreting velocity field asharma OpenFOAM Post-Processing 2 October 9, 2010 02:19
Initial velocity field in StarCCM+ Subhadeep Siemens 3 December 21, 2008 04:40
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11


All times are GMT -4. The time now is 00:42.