Changeset 980


Ignore:
Timestamp:
10/08/19 16:34:06 (5 years ago)
Author:
dubos
Message:

devel : reduced ground stiffness for better stability (NH)

Location:
codes/icosagcm/devel/src/dynamics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/devel/src/dynamics/compute_NH_geopot.F90

    r939 r980  
    11MODULE compute_NH_geopot_mod 
    22  USE grid_param 
     3  USE icosa, ONLY : rstd 
    34  IMPLICIT NONE 
    45  PRIVATE 
    56 
    67  LOGICAL, SAVE :: debug_hevi_solver = .FALSE. 
     8  
     9  REAL(rstd) :: pbot=1e5, rho_bot=100. ! for NH solver 
    710 
    811#include "../unstructured/unstructured.h90" 
    912 
    10   PUBLIC :: compute_NH_geopot,compute_NH_geopot_unst 
     13  PUBLIC :: compute_NH_geopot,compute_NH_geopot_unst, pbot, rho_bot 
    1114 
    1215CONTAINS 
     
    190193 
    191194  SUBROUTINE compute_NH_geopot(tau, phis, m_ik, m_il, theta, W_il, Phi_il) 
    192     USE icosa 
    193195    USE disvert_mod 
    194196    USE caldyn_vars_mod 
    195197    USE omp_para 
    196     REAL(rstd), PARAMETER :: pbot=1e5, rho_bot=1e6 
    197198    REAL(rstd),INTENT(IN)    :: tau ! solve Phi-tau*dPhi/dt = Phi_rhs 
    198199    REAL(rstd),INTENT(IN)    :: phis(iim*jjm) 
  • codes/icosagcm/devel/src/dynamics/compute_caldyn_solver.F90

    r939 r980  
    11MODULE compute_caldyn_solver_mod 
    22  USE grid_param 
     3  USE compute_NH_geopot_mod, ONLY : compute_NH_geopot, pbot, rho_bot 
    34  IMPLICIT NONE 
    45  PRIVATE 
     
    104105  DECLARE_INDICES 
    105106  NUM :: X_ij, rho_ij, T_ij, gamma, Cvd, vreff, Rd_preff 
    106   REAL(rstd), PARAMETER :: pbot=1e5, rho_bot=1e6  ! FIXME 
    107107#define PHI_BOT(ij) Phi_bot 
    108108#include "../kernels_unst/caldyn_mil.k90" 
     
    122122    USE omp_para, ONLY : ll_begin, ll_end,ll_beginp1,ll_endp1 
    123123    USE disvert_mod, ONLY : ptop 
    124     USE compute_NH_geopot_mod 
    125     REAL(rstd), PARAMETER :: pbot=1e5, rho_bot=1e6 
    126124    REAL(rstd),INTENT(IN) :: tau ! "solve" Phi-tau*dPhi/dt = Phi_rhs 
    127125    REAL(rstd),INTENT(IN)    :: phis(iim*jjm) 
Note: See TracChangeset for help on using the changeset viewer.