Changeset 20081


Ignore:
Timestamp:
02/04/16 13:45:31 (9 years ago)
Author:
seroussi
Message:

BUG: fixed last problem with plume model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/Element.cpp

    r20078 r20081  
    15971597        a=(bottomplumedepth-topplumedepth)/2.;
    15981598        e=pow(a*a-c*c,1./2.)/a;
    1599         A0=(1-e*e)/(e*e*e)*(1/2*log((1+e)/(1-e))-e);
    1600         middleplumedepth=-topplumedepth-crustthickness-a;
     1599        A0=(1-pow(e,2.))/pow(e,3.)*(1./2.*log((1+e)/(1-e))-e);
    16011600        for(int i=0;i<numvertices;i++){
    16021601                y=xyz_list[i*3+0]-plumex;
     
    16071606                eprime=pow((a*a-plumeradius*plumeradius)/(a*a+lambda),1./2.);
    16081607                Alambda=(1.-e*e)/(e*e*e)*(1./2.*log((1.+eprime)/(1.-eprime))-eprime);
    1609                 dt=dtbg-(nusselt-1.)/(1.+A0*(nusselt-1.))*(Alambda*dtbg+middleplumedepth*dtbg*dAlambda);
     1608                dt=dtbg-(nusselt-1.)/(1.+A0*(nusselt-1.))*(Alambda*dtbg+x*dtbg*dAlambda);
    16101609                plumeheat=mantleconductivity*dt;
    16111610                crustheat=uppercrustheat*uppercrustthickness+lowercrustheat*(crustthickness-uppercrustthickness);
Note: See TracChangeset for help on using the changeset viewer.