[overture] Re: cns jameson solver and amr

  • From: Bill Henshaw <henshaw@xxxxxxxx>
  • To: overture@xxxxxxxxxxxxx
  • Date: Fri, 10 Apr 2009 19:40:08 -0700

Hi Joel,
  You're correct that using AMR and the Jameson cns solver is broken.
Here is a fix. Change the file cg/common/src/addGrids.C around line 658
as follows:
-------------------
    for( level=0; level<numberOfLevels; level++ )
    {
    // maxReLambda[level]=0.;
    // maxImLambda[level]=0.;
        maxReLambda[level]=-1.;  // *wdh* 090410 set to -1 so 
getTimeSteppingEigenvalue performs correctly
        maxImLambda[level]=-1.;
    }
--------------------

...Bill

Joel Guerrero wrote:
Hi,

I'm using the cns jameson solver and it works fine when i'm not using amr, but 
when I use amr the timestep is not computed, so basically it is set to the 
dtmax value or to the plotting frequency value.  Btw, at the moment i am using 
overture v22, I haven't tried with v23.


Cheers,

joel




Other related posts: