#!/usr/bin/env ruby1.8 # #= dcmodel thumbnail generate ruby script # # Editor :: yamasita # Version:: 2008/01/22 21:19:57 # #== Overview # #This file is generate by following ruby script automatically. # # /GFD_Dennou_Club/ftp/arch/deepconv/arare/sample/2008-01-22_yamasita/thum-src/dcmodel-thum.rb # version "$Revision: 1.31 $ : $Date: 2007/05/22 05:13:14 $" # #Please edit this file according to your purpose. # #== Usage # #Please check following sample page and reference manual. # # http://www.gfd-dennou.org/library/dcmodel/doc/dcmodel-tools/dcmodel-thum-sample # http://www.gfd-dennou.org/library/dcmodel/doc/dcmodel-tools/dcmodel-thum-rdoc # ################################################## require "/GFD_Dennou_Club/ftp/arch/deepconv/arare/sample/2008-01-22_yamasita/thum-src/dcmodel-thum.rb" ###################################################### # DCModelThumbnail のインスタンスを作成 (必須) thumb = DCModelThumbnail.new # サムネイル実行コマンド (必須)。最後に実行すること END{ thumb.create } #thumb.copyright = "GFD Dennou Club" # コピーライト thumb.index = "../index" # 作成されるサムネイルのファイル名 (拡張子除く) #thumb.index_ext = ".htm" # 作成されるサムネイルの拡張子名 thumb.infofile = "#{File.basename(thumb.index)}.txt" # 「情報ファイル (infofile)」のファイル名 #thumb.ext_list.push("bmp") # 画像ファイルとして認識させたい拡張子の # 追加。デフォルトでは # gif, png, jpg, jpeg, # GIF, PNG, JPG, JPEG # が認識される。 #thumb.headlimit = "headlimit_" # headlimit に当てはまらないものは画像と # しては無視され、当てはまるものは「情報 # ファイル」において、接頭部分 headlimit # を省略して指定することが可能となる。 #thumb.blankfig = true # 画像ファイル名を表示しない thumb.figdir = "../figdir" # 絵のあるディレクトリの名前。 # 必ず存在していなければならない。 thumb.thumbnaildir = "../thumbdir" # サムネイル画像を置くディレクトリの名前 thumb.thumbnailtail = "_thumb.png" # サムネイル画像の拡張子名 #thumb.thumbnailpage = "1" # サムネイル画像化する元画像のページ番号 #thumb.convert_cmd = "convert -depth 8 -geometry" # convert コマンドおよびオプション。この # 後ろに画像サイズが 200x150 のような形 # 式で指定される。 thumb.convert_overwrite = true # convert コマンドが実行される際、既に出 # 力先のファイルがある場合に上書きするた # めのフラグ。これが false の場合、出力 # 先のファイルが存在し、且つ元のファイル # よりも新しい場合は変換を行わない。 #thumb.css = "/GFD_Dennou_Club/ftp/arch/dcmodel/htmltools/dcmodel.css" # スタイルシートファイル #thumb.rd2_path = "/usr/bin/rd2" # rd2 コマンドへのパス #thumb.rd2htmlextlib = "/GFD_Dennou_Club/ftp/arch/dcmodel/lib/ruby/1.8" # rd2-ext-lib へのライブラリへのパス #thumb.mksigen = false # SIGEN ファイルを作らない場合は false # にセットする #thumb.norobots = true # HTML のロボット検索を禁止する場合には # true にセットする #thumb.img_width = 200 # 画像ファイルサイズ (幅) #thumb.img_height = 150 # 画像ファイルサイズ (高さ) thumb.figtable_num = 7 # 横にならべるファイル数 #thumb.style = <<-STYLE # a:link { color:#269900; } # a:visited { color:#269900; } # a:hover { color:#99FF33; } #STYLE # スタイルシートを直接設定するためのもの # (css ファイルに書き込む情報を直接指定 # できる) #thumb.html_author = "yamasita" # html の作成者情報 (デフォルトはユーザ # アカウント名が自動取得される) thumb.title = "deepconv/arare4 : Scamarock and Klemp (1989) の Warm bubble 実験(1)" # html ヘッダのタイトル # 本体に書き出すメッセージ。サムネイルの # 部分よりも上に出力される。この変数自体 # は Array オブジェクトで、その内部に # String オブジェクトが格納される。 # フッターメッセージ。 # "=" ではなく、"<<" で代入することに注意!! thumb.footer = Array.new #thumb.footer << <<-Footer # #Footer # メッセージ。 # "=" ではなく、"<<" で代入することに注意!! thumb.message = Array.new thumb.message << <<-Message =begin [((<地球流体電脳倶楽部|URL:http://www.gfd-dennou.org>))] [(()) | (()) | (())] [(())] = deepconv/arare4 : Scamarock and Klemp (1989) の Warm bubble 実験 (1) Scamarock and Klemp (1989) (以下 SK1989 とする) が行った Cold bubble 実験 の初期値を変えた Warm bubble 実験を行う. * 空間格子間隔は水平鉛直ともに 300 m. * 水平計算領域を SK1989 の 2 倍とり, 領域の中心に初期温位擾乱を置く. * 水平方向の境界は周期境界. == 計算設定 * 計算領域 * 水平 48 km * 鉛直 12 km * 基本場の設定 * 地表気温 300 K, 地表気圧 1000 hPa * 領域全体で等温位 * 物理過程の設定 * 熱に対する乱流拡散係数は運動量に対する拡散係数と同じ * 最大値は 75 m^2/sec に設定. * 放射強制なし * スポンジ層: 上層の 3 km に設定, 緩和時間は 300 sec. * ニュートン冷却なし * 大気成分 * 乾燥成分 N2 * 凝結成分なし (相対湿度 0) * 空間/時間格子間隔, 境界条件 * 空間格子間隔 300 m * 格子点数は 160 x 40 * 時間格子間隔 * 長い時間ステップ: 1 sec * 短い時間ステップ: 0.25 sec * 境界条件 * 水平境界: 周期境界条件 * 上下境界: 応力なし, w=0 , 熱フラックスなし * 初期条件 * x = 24 km, z = 3 km を中心に cos 型の正の温位擾乱を与える. * 振幅は 15 K * 積分時間 * 1500 sec == ソースコード, 設定ファイル * ((<ソースコード|URL:../arare4-20061224>)) * main プログラムは (()). オリジナル版は (()) * (()) * (()) == 結果一覧 以下の図は全計算領域の右下 1/4 の範囲 (0