Hello moderator,
Please forgive me if the question is silly. I am struggling with solve_em.F, I knew this file aim to calculation the varaible in each time step. I just imitate the original solve_em.F to use other variables such as grid%ph_2,grid%t_phy and grid%dt. I want to use the variable dz8w for the distance between two vertical levels. However I found the value is zero, so is grid%alt. I use (grid%ph_2+grid%phb)/g, then the value is non-zero. I am quite confused. I attached the solve_em.F file and the part I am coding is just following CALL section.
I appreciate you help me out.
Please forgive me if the question is silly. I am struggling with solve_em.F, I knew this file aim to calculation the varaible in each time step. I just imitate the original solve_em.F to use other variables such as grid%ph_2,grid%t_phy and grid%dt. I want to use the variable dz8w for the distance between two vertical levels. However I found the value is zero, so is grid%alt. I use (grid%ph_2+grid%phb)/g, then the value is non-zero. I am quite confused. I attached the solve_em.F file and the part I am coding is just following CALL section.
I appreciate you help me out.