
[Sponsors] 
November 26, 2004, 18:36 
How to calculate CFL Number in starCD

#1 
Guest
Posts: n/a

Hello,
How to calculate CFL number / Courant Number in starCD? Xobile 

November 28, 2004, 10:14 
Re: How to calculate CFL Number in starCD

#2 
Guest
Posts: n/a

Take a look at the post in the archive by Giovanni on Mon, 19 May 2003, 1:19 a.m.


November 28, 2004, 20:17 
Re: How to calculate CFL Number in starCD

#3 
Guest
Posts: n/a

Hello,
I am trying to find out the CFL number and as suggested by 4xF , I went into archives and got this command to get the CFL number and I tried using it but I have got errors: The command is:: In PROSTAR RESDAT,10 write the problem file & run the case trlo,star.rpo stor iter 10 getc vis cset news flui popt cont $cplo But when i do the above , i run the case after typing RESDAT,10 but I cannot open the file as it says Error in opening star.rpo what to do? and what is the reason?? Xobile 

November 29, 2004, 07:29 
Re: How to calculate CFL Number in starCD

#4 
Guest
Posts: n/a

Do you have an .rpo file in your working directory?


November 29, 2004, 08:24 
Re: How to calculate CFL Number in starCD

#5 
Guest
Posts: n/a

It should should be
resd,,"freq to write rpo file" or you can do this in monitor numeric behaviour  write freq for residuals then after you run the transient case trlo,star.rpo !load the rpo file as per a pstt file stor iter first !or what ever iteration you want to see if you are using 320 or higher you will see the courant number listed in the scalar data panel or else you can execute the command getc cnum note that if you use v315A you need to do a "getc vis" Steve 

November 29, 2004, 20:44 
Re: How to calculate CFL Number in starCD

#6 
Guest
Posts: n/a

I am doing the same thing as suggested by 4xF and steve but there is no star.rpo file created. So I am not able to load any star.rpo file.
can anyone tell me what is the reason? Any problems with settings of my starCD?? Xobile 

November 30, 2004, 05:12 
Re: How to calculate CFL Number in starCD

#7 
Guest
Posts: n/a

Please take a look at what steve wrote. The answer to your problem is there since you *need* to ouput the .rpo file.


December 14, 2004, 17:24 
Re: How to calculate CFL Number in starCD

#8 
Guest
Posts: n/a

C'mon guys! Why dont we try just calculating the CFL number as per it's definition using a normal .pst or .pstt file using the "operate" command?
Or was this a silly suggestion? 

December 15, 2004, 08:29 
Re: How to calculate CFL Number in starCD

#9 
Guest
Posts: n/a

Do you know by chance how to define a CFl number on an unstructured mesh which does not have a priory any defined grid directions? Because I don't... So, why would n't we get the CFL number as given back by STAR and use it instead?


December 17, 2004, 17:29 
Re: How to calculate CFL Number in starCD

#10 
Guest
Posts: n/a

Well... lets assume that the CFLnumbers are to be used for engineering purposes, and that we do know the shape of our cells (i.e, tetrahedrals, pyramids or which ever..). Lets then assume that we know how to calculate the volume of the cell, and how to derive a typical cell side length from the volume. Eureka!!! I see a solution to the problem, do you?
How do you think the CFLcalculation is implemented for an unstructured mesh in the code? They sure ain't waving the magick stick, even if they do have access to slightly more info in the solver than what is given in Prostar. 

December 18, 2004, 07:37 
Re: How to calculate CFL Number in starCD

#11 
Guest
Posts: n/a

And what if you would not know the shape of your cell? Say, you just need for the solver to know which neighbors you share and what is the face you have in common for calculating fluxes? This is how an unstructured solvers works and you do not need explicitely to know how the cell is shaped.
And now comes the magic stick (which is cell shape independent): CFL = (Mass_flux)*dt/(rho*cell_volume) Have fun... 

Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
How to calculate the SWIRL NUMBER  David  FLUENT  1  January 6, 2013 02:23 
how to calculate Nusselt number,in CFX?  prayskyer  CFX  2  June 19, 2006 01:24 
how to calculate Nusselt number?  prayskyer  Main CFD Forum  0  June 17, 2006 20:57 
how to calculate the Damköhler number?  alfaia  FLUENT  0  June 15, 2005 15:11 
to calculate local nusselt number  Shoeb  CDadapco  2  January 20, 2005 11:38 