CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

Blockage in CFD code

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

LinkBack Thread Tools Display Modes
Old   December 22, 2000, 05:22
Default Blockage in CFD code
Posts: n/a

I am currently playing with the CFD code in that comes with the book by Peric and Ferziger.

I would very much like to implement a method for setting blockage internally in the domain.

Can any one give me a hint on how to do this ?

What is the best way ?

Thanks in advance.


  Reply With Quote

Old   December 23, 2000, 04:31
Default Re: Blockage in CFD code
Abhijit Tilak
Posts: n/a
hi Roued,

I am not sure how the code u are referring to is written. but the general way is (Patankar's funda). for any grid point u write the equation as

Ap_phi_p = Sigma A_i Phi_i +Su

Where Ap= Sigma A_i+Sp

Phi is a general variable (u,v,w,t,p,k,e ....)

Make Sp very large (say 1e25) and similarly Su= 1e25 (must be equal to value of Sp) for the grid point for which u want to freeze the value. U can initialise the value required and it will remain unchanged throuthout the iterations. if u put Phi_p =0 for u,v,w u will create islands in the flow path. Specify these values for all the grid-points that u want to freeze.

Note: for equations having large value of variables this may blow up due to overflow (typically k-e) Some care is required in grid spacing at blocked areas.

Hope this helps

Abhijit Tilak.
  Reply With Quote


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
CFD Code with Fortran murat Main CFD Forum 0 October 11, 2009 17:05
the best CFD code for women For the marketers Main CFD Forum 17 August 24, 2006 12:17
Where do we go from here? CFD in 2001 John C. Chien Main CFD Forum 36 January 24, 2001 22:10
CFD JOBS and Expected Salary.... Noel Harrison Main CFD Forum 11 November 22, 2000 08:15
public CFD Code development Heinz Wilkening Main CFD Forum 38 March 5, 1999 12:44

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