Ignore:
Timestamp:
Feb 1, 2023, 9:34:37 AM (22 months ago)
Author:
llange
Message:

Mars PCM
Include geothermal flux as boundary conditions when solving the
diffusion equation for the soil temperature
By default, the geothermal flux is set to 0. To have geothermal flux >
0., it must be specified in the startfi. (I suggest to use a value of
30e-3 in this case)
Will be use with the PEM for studies of "paleosubsurfaces"
LL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/soil_settings.F

    r2818 r2887  
    22
    33!      use netcdf
    4       use comsoil_h, only: layer, mlayer, inertiedat, volcapa
     4      use comsoil_h, only: layer, mlayer, inertiedat, volcapa,flux_geo
    55      use iostart, only: inquire_field_ndims, get_var, get_field,
    66     &                   inquire_field, inquire_dimension_length
     
    435435        deallocate(oldtsoil)
    436436      endif ! of if (interpol)
    437      
    438 ! 6. Report min and max values of soil temperatures and thermal inertias
     437
     438
     439     
     440! 6. Load Geothermal Flux
     441! ----------------------------------------------------------------------
     442
     443
     444      call get_field("flux_geo",flux_geo,found,timeindex=indextime)
     445      if (.not.found) then
     446           write(*,*) "soil_settings: Failed loading <flux_geo>"
     447           write(*,*) "soil_settings: Will put  <flux_geo> to 0."
     448           flux_geo(:) = 0.
     449      endif
     450
     451
     452     
     453! 7. Report min and max values of soil temperatures and thermal inertias
    439454! ----------------------------------------------------------------------
    440455
Note: See TracChangeset for help on using the changeset viewer.