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

CFL condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 12, 2004, 11:39
Default CFL condition
  #1
Sergei
Guest
 
Posts: n/a
In the Anderson's Book of CFD, there is a CFL condition for the problem of supersonic flow over a flat plate. There, he use MacCormack explicit in a time-dependent approach.

My problem is I've got a coordinate transformation, x=x(xi,eta), y=y(xi,eta), so that I don't know what to write instead of \Delta x and \Delta y in the CFL condition.

Thanks in advance.
  Reply With Quote

Old   October 13, 2004, 09:47
Default Re: CFL condition
  #2
versi
Guest
 
Posts: n/a
Many papers have answers. Let \xi_X and \xi_Y be metrics of corrd. transformation, in a illustrative way, D t= CFL /( |u * \xi_X +v * \xi_Y| + C * sqrt( xi_X**2 +xi_Y**2)). where C is sound speed. Note that the dimenson is consistent with definition of CFL number. One can similarly get Dt from another direction \eta. The minimum of the two is what desired.
  Reply With Quote

Old   October 13, 2004, 16:38
Default Re: CFL condition
  #3
Sergei
Guest
 
Posts: n/a
Thanks versi, very useful! I will try that.

I've got another question. If

x=x(nxi,neta); y=y(nxi,neta);

XI=XI(nxi,neta); ETA=ETA(nxi,neta);

Could you confirm that the next sentence is calcutating the metrics?

XI_x=zeros(nxi,neta); ETA_x=zeros(nxi,neta); XI_y=zeros(nxi,neta); ETA_y=zeros(nxi,neta); for i=2:nxi-1;

for j=2:neta-1;

XI_x(i,j)=(XI(i+1,j)-XI(i-1,j))/(x(i+1,j)-x(i-1,j));

ETA_x(i,j)=(ETA(i,j+1)-ETA(i,j-1))/(x(i,j+1)-x(i,j-1));

XI_y(i,j)=(XI(i+1,j)-XI(i-1,j))/(y(i+1,j)-y(i-1,j));

ETA_y(i,j)=(ETA(i,j+1)-ETA(i,j-1))/(y(i,j+1)-y(i,j-1));

end end

Thanks if you try that.
  Reply With Quote

Reply


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
CFL Condition Matt Umbel Main CFD Forum 19 June 30, 2020 09:20
CFL condition: can a mass balance problem arise if violated? bzz77 Main CFD Forum 3 August 24, 2011 16:12
Is CFL condition irrelevant for incompressible flow? violet FLUENT 0 November 5, 2009 18:33
CFL condition for higher order schemes Shyam Main CFD Forum 2 February 14, 2008 15:24
CFL condition for implicit CD schemes turb Main CFD Forum 4 August 16, 2005 13:56


All times are GMT -4. The time now is 16:30.