IGModel-SW 1.0

motion_equation Module Reference

This module provides some subroutines which calculate the rate of change of velocity over time(i.e solve the equation of motion). More...

Functions/Subroutines

subroutine, public motion_equation_Init (icgrid)
 Initialize the motion_equation module.
subroutine, public calc_motion_eq_dvdt (DVelDtN, xy_VelN, xy_HeightN, xy_Coli, diff_eval)
 Evaluates the right-hand side of the semi-discrete equation of motion, and calculates the rate of change of velocity at time level n for all grid points.
real(DP), dimension(3) local_k (s_pos)
 Represents the vertical unit vector in geographic coordinate system in terms of cartesian unit vectors.

Variables

type(Field_IcGrid2D), save xy_Zeta
 The variable of derived type Field_IcGrid2D to manage the field data of relative vorticity.
type(Field_IcGrid2D), save mecha_energy
 The variable of derived type Field_IcGrid2D to manage the field data of mechanical energy.
type(Field_IcGrid2D), save grad_mecha_energy
 The variable of derived type Field_IcGrid2D to manage the gradient field data of the sum of geopotential and kinetic energy.

Detailed Description

This module provides some subroutines which calculate the rate of change of velocity over time(i.e solve the equation of motion).



Copyright (C) GFD Dennou Club, 2011-2012. All rights reserved.
license ??

Author:
Yuta Kawai

Function/Subroutine Documentation

subroutine,public motion_equation::calc_motion_eq_dvdt ( type(Field_IcGrid2D),intent(inout)  DVelDtN,
type(Field_IcGrid2D),intent(in)  xy_VelN,
type(Field_IcGrid2D),intent(in)  xy_HeightN,
type(Field_IcGrid2D),intent(in)  xy_Coli,
type(Derivate_Field_IcGrid2D),intent(inout)  diff_eval 
)

Evaluates the right-hand side of the semi-discrete equation of motion, and calculates the rate of change of velocity at time level n for all grid points.

Specifically, this subroutine evaluates the right-hand side of the following semi-discrete equation as described in Eq (6) in Tomita et al(2001).

\[ \left( \DP{\Dvect{v}}{t} \right)_n = - ( \zeta_n + f ) \Dvect{k} \times \Dvect{v}_n - \nabla \left( gh + \dfrac{\Dvect{v} \cdot \Dvect{v}}{2} \right) \]

where the subscript $n$ denotes the physical field at time level n.

Parameters:
[in,out]DVelDtNThe variable of derived type Field_IcGrid2D which manages the rate of change of velocity field with time at time level n.
[in]xy_VelNThe variable of derived type Field_IcGrid2D which manages the velocity field at time level n.
[in]xy_HeightNThe variable of derived type Field_IcGrid2D which manages the surface height field at time level n.
[in]xy_Coli
[in]diff_evalThe variable of derived type IcGridHDiffOptr which manages some data for the differential operators acting on a physical field on icosahedral grid.

Definition at line 186 of file motion_equation.f90.

Here is the call graph for this function:

Here is the caller graph for this function:

real(DP),dimension(3) motion_equation::local_k ( real(DP),dimension(3),intent(in)  s_pos) [private]

Represents the vertical unit vector in geographic coordinate system in terms of cartesian unit vectors.

Parameters:
[in]s_pos地理座標系における位置ベクトル $(\phi, \theta, r)$.
Returns:
引数で与えられた経度・緯度における鉛直方向の単位ベクトル(成分は直交座標系表示).

Definition at line 305 of file motion_equation.f90.

Here is the caller graph for this function:

subroutine,public motion_equation::motion_equation_Init ( type(IcGrid2D_FVM),intent(inout)  icgrid)

Initialize the motion_equation module.

Parameters:
[in,out]icgridThe variable of derived type IcGrid2D_FVM.

Definition at line 122 of file motion_equation.f90.

Here is the caller graph for this function:


Variable Documentation

type(Field_IcGrid2D),save motion_equation::grad_mecha_energy

The variable of derived type Field_IcGrid2D to manage the gradient field data of the sum of geopotential and kinetic energy.

Definition at line 107 of file motion_equation.f90.

type(Field_IcGrid2D),save motion_equation::mecha_energy

The variable of derived type Field_IcGrid2D to manage the field data of mechanical energy.

Definition at line 103 of file motion_equation.f90.

type(Field_IcGrid2D),save motion_equation::xy_Zeta

The variable of derived type Field_IcGrid2D to manage the field data of relative vorticity.

Definition at line 99 of file motion_equation.f90.

 All Classes Namespaces Files Functions Variables