Changeset 22845


Ignore:
Timestamp:
06/15/18 08:52:56 (7 years ago)
Author:
bdef
Message:

NEW:Testing transmitivity limiting based on frozen ground

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/HydrologyDCInefficientAnalysis.cpp

    r22841 r22845  
    597597        IssmDouble sediment_transmitivity;
    598598        IssmDouble FullLayer_transmitivity;
     599        IssmDouble T;
    599600        IssmDouble base_elev,prestep_head,water_sheet;
    600601        IssmDouble sediment_thickness       = element->GetMaterialParameter(HydrologydcSedimentThicknessEnum);
    601 
     602        bool isthermal;
     603
     604        element->FindParam(&isthermal,TransientIsthermalEnum);
    602605        element->FindParam(&unconf_scheme,HydrologydcUnconfinedFlagEnum);
    603606        SedTrans_input->GetInputValue(&FullLayer_transmitivity,gauss);
     607
    604608        switch(unconf_scheme){
    605609        case 0:
     
    621625                _error_("UnconfinedFlag is 0 or 1");
    622626        }
     627
     628        /*Let's deal with the frozen parts for which transmitivity is zero*/
     629        if (isthermal){
     630                element->GetInputValue(&T,gauss,TemperatureEnum);
     631                if (T<273.1) sediment_transmitivity=0.;
     632        }
     633
    623634        return sediment_transmitivity;
    624635}/*}}}*/
Note: See TracChangeset for help on using the changeset viewer.