#!/usr/bin/env ruby
# -*- coding: euc-jp -*-
#
#= dcmodel thumnail generate ruby script
#
#  Editor :: sugiyama
#  Version:: 2011/06/23 20:06:39
#
#== Overview
#
#This file is generate by following ruby script automatically.
#
#      /home/sugiyama/bin/dcmodel-thum.rb
#
#Please edit this file according to your purpose.
#
#== Usage
#
#
##################################################

require "/GFD_Dennou_Club/ftp/arch/dcmodel/bin/dcmodel-thum.rb"

######################################################
if $0 == __FILE__ then
  thumb = DCModelThumbnail.new

#  thumb.copyright = "GFD Dennou Club"
  thumb.index     = "../exp"
#  thumb.index_ext = ".htm"
  thumb.infofile  = "exp.txt"
#  thumb.ext_list.push("bmp")
#  thumb.headlimit = "headlimit_"
  thumb.figdir    = "../img"
#  thumb.css       = "/GFD_Dennou_Club/ftp/arch/dcmodel/htmltools/dcmodel.css"
#  thumb.rd2_path  = "/usr/bin/rd2"
#  thumb.rd2htmlextlib = "/GFD_Dennou_Club/ftp/arch/dcmodel/lib"
  thumb.img_width  = 240
  thumb.img_height = 240
  thumb.figtable_num = 20
#  thumb.html_author  = "sugiyama"
  thumb.title     = "deepconv/arare4 vs. deepconv/arare5"
  thumb.message   = Array.new
  thumb.message   << <<-MSG
=begin
[((<地球流体電脳倶楽部|URL:http://www.gfd-dennou.org>))]
[((<dcmodel|URL:http://www.gfd-dennou.org/arch/dcmodel>)) |
((<dcmodel-tools|URL:http://www.gfd-dennou.org/arch/dcmodel/bin>))]

= 湿潤サーマル実験

== 目的

arare4 と arare5 で対流の立ち方が異なること (((<see 2012-12-27_sugiyama run1|URL:http://www.gfd-dennou.org/arch/deepconv/sample/2012-12-27_sugiyama/run1/exp.htm>))) をチェックする. arare4 と arare5 で同じ設定で計算を行う. 

((<2013-01-01_sugiyama run13|URL:http://www.gfd-dennou.org/arch/deepconv/sample/2013-01-01_sugiyama/run13/exp.htm>)) において, 音波減衰項の係数の決め方に問題があったことが発覚したので, それを修正して arare5 の計算をやり直す. 設定は ((<2012-12-27_sugiyama run1|URL:http://www.gfd-dennou.org/arch/deepconv/sample/2012-12-27_sugiyama/run1/exp.htm>)) に準じる. 

その他の設定など. 

  * 雲微物理無し
  * 乱流過程有り
  * 放射過程無し
  * 地表面フラックス無し
  * NDiffRatio = 50.0 => NDiffRatio = 1.0
  * dy = 1000 m => dy = 400 m (dx と合わせる)
  * 2 次の数値拡散を利用. AlphaNDiff2 = 1e-4
  * 基本場は温位一定

arare4 のソース

  * ((<ソース|URL:http://www.gfd-dennou.org/arch/deepconv/sample/2013-01-01_sugiyama/arare4_2/>)): arare4-20110303 tgz 版. 
    * 音波減衰項の修正
    * arare_earth.f90 において, 乱流過程や雲微物理過程の ON/OFF を可能に. 
    * 乱流プロセスにバグがあったので修正. 
  * ((<初期値・設定ファイル|URL:http://www.gfd-dennou.org/arch/deepconv/sample/2013-01-01_sugiyama/run15/conf/>)) 

arare5 のソース

  * ((<ソース|URL:http://www.gfd-dennou.org/arch/deepconv/sample/2013-01-01_sugiyama/arare5_3/>)): arare5 の cvs 版. 2012-12-25 に checkout. 
    * 2 次の数値拡散を利用できるように修正.
    * 音波減衰項の係数の決め方を修正
    * テストとして組成に対する浮力を OFF していたものを元に戻す. 
  * ((<設定ファイル|URL:http://www.gfd-dennou.org/arch/deepconv/sample/2013-01-01_sugiyama/run15/conf/>)) 

結果がほぼ一致する!

#== ソース, 設定ファイル, およびリスタートファイル・ヒストリーファイル
#
#* ((<置き場|URL:./>))
#  * メインプログラム (arare.f90) のみ若干修正

== 温位偏差の比較

  MSG
  thumb.create
end

