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

How to write a CFD code for cylinder wake?

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

Like Tree1Likes
  • 1 Post By Alex C.

Reply
 
LinkBack Thread Tools Display Modes
Old   August 30, 2013, 04:54
Default How to write a CFD code for cylinder wake?
  #1
New Member
 
Join Date: Apr 2013
Posts: 15
Rep Power: 3
shubiaohewan is on a distinguished road
Hi all,

I want to write a code for the wake flow behind a cylinder. Where should I start? (Of course, the cylinder.) I knew I should use the immersed boundary method. Do you have a tutorial code or reference where I can learn? Thanks.

Shu
shubiaohewan is offline   Reply With Quote

Old   August 30, 2013, 08:23
Default
  #2
New Member
 
Join Date: Jul 2013
Posts: 22
Rep Power: 3
Alex C. is on a distinguished road
It all depends on your previous experience with CFD codes. Asssuming you are new to the field, I would greatly suggest you to work the 2D case first. Going with the simplest methods at first, you could try a finite difference. You could also start with a finite volume (which will lead you further then finite difference) using Versteeg & Malalasekera Introduction book.

Also, unless you have strong experience, forget about turbulence modelling until you have strong results for inviscid and laminar flow.
lakeat likes this.
Alex C. is offline   Reply With Quote

Old   August 30, 2013, 20:24
Default
  #3
Senior Member
 
Join Date: Aug 2011
Posts: 251
Rep Power: 6
leflix is on a distinguished road
Quote:
Originally Posted by shubiaohewan View Post
Hi all,

I want to write a code for the wake flow behind a cylinder. Where should I start? (Of course, the cylinder.) I knew I should use the immersed boundary method. Do you have a tutorial code or reference where I can learn? Thanks.

Shu
Immersed boundary (direct forcing) for your case seems indeed the simplest way to tackle this problem. It gives good results. Use finite difference too for simplicity of implementation.
leflix is offline   Reply With Quote

Old   August 31, 2013, 05:35
Default
  #4
New Member
 
Join Date: Apr 2013
Posts: 15
Rep Power: 3
shubiaohewan is on a distinguished road
Quote:
Originally Posted by leflix View Post
Immersed boundary (direct forcing) for your case seems indeed the simplest way to tackle this problem. It gives good results. Use finite difference too for simplicity of implementation.
Thank you both, Alex and leflix. I have some experience with FD, but new to immersed boundary method. I don't know where I should start. Could you recommend a textbook on IB method with simple hand-on code? Thanks.

Shu
shubiaohewan is offline   Reply With Quote

Old   August 31, 2013, 07:10
Default
  #5
Senior Member
 
Join Date: Aug 2011
Posts: 251
Rep Power: 6
leflix is on a distinguished road
Quote:
Originally Posted by shubiaohewan View Post
T I don't know where I should start. Could you recommend a textbook on IB method with simple hand-on code? Thanks.

Shu

I don't have bibliography on mind right now,but you should find many papers in Journal for Computational Physics related to this topic.
Many different methods exist but the most simple to my mind is the direct forcing method where you ensure the no slip boundary condition on the surface of the cyinder as well as on all nodes inside the cylinder.
leflix 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
general ARCHITECTURAL structure of the code of a CFD code mecobio Main CFD Forum 0 August 12, 2013 08:04
Give me some advice CFD in Fortran code or Matlab code. tringuyenttt Main CFD Forum 4 May 29, 2013 08:32
Debugging Unsteady 2-D Panel Method Code: Wake Modeling RajeshAero Main CFD Forum 5 November 10, 2011 05:48
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 6 April 17, 2010 23:40
CFD Salary CFD Main CFD Forum 15 September 4, 1999 14:04


All times are GMT -4. The time now is 10:07.