CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General 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 Tree3Likes
  • 2 Post By Alex C.
  • 1 Post By leflix

Reply
 
LinkBack Thread Tools Search this Thread 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: 13
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
Member
 
Join Date: Jul 2013
Posts: 55
Rep Power: 12
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 and Bou Med like this.
Alex C. is offline   Reply With Quote

Old   August 30, 2013, 20:24
Default
  #3
Senior Member
 
Join Date: Aug 2011
Posts: 272
Rep Power: 15
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.
Bou Med likes this.
leflix is offline   Reply With Quote

Old   August 31, 2013, 05:35
Default
  #4
New Member
 
Join Date: Apr 2013
Posts: 15
Rep Power: 13
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: 272
Rep Power: 15
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

Old   January 3, 2017, 03:29
Default
  #6
New Member
 
Bouanani Mohammed
Join Date: Jan 2017
Location: Tlemcen
Posts: 4
Rep Power: 9
Bou Med is on a distinguished road
Send a message via Skype™ to Bou Med
Hi
Do you think that the ghost cell methode is a right choice to simulate a rigid cylinder inside a fluid ?
Thank you
Bou Med is offline   Reply With Quote

Old   January 3, 2017, 10:37
Default
  #7
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Bou Med View Post
Hi
Do you think that the ghost cell methode is a right choice to simulate a rigid cylinder inside a fluid ?
Thank you

It can give you acceptable results for laminar flows but in case of turbulence you need a very fine grid. You can find many papers for the IB method in several journals
FMDenaro 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
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 13:06
CFD Salary CFD Main CFD Forum 17 January 3, 2017 17:09
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


All times are GMT -4. The time now is 19:39.