MITgcm

【转载请注明出处: http://blog.csdn.net/lzl124631x

Massachusetts Institute of Technology (MIT) 麻省理工学院

EE & CS : http://www.eecs.mit.edu/

MITgcm ( M.I.T General  Circulation  Model) :  http://mitgcm.org/

Novel Aspects:
  • it can be used to study both atmospheric and oceanic phenomena; one hydrodynamical kernel is used to drive forward both atmospheric and oceanic models.
  • it has a non-hydrostatic capability and so can be used to study both small-scale and large scale processes.
  • finite volume techniques are employed yielding an intuitive discretization and support for the treatment of irregular geometries using orthogonal curvilinear grids and shaved cells.
  • tangent linear and adjoint counterparts are automatically maintained along with the forward model, permitting sensitivity and optimization studies.
  • the model is developed to perform efficiently on a wide variety of computational platforms.


Environment:
Ubuntu

Download Source: 
Visit  http://mitgcm.org/public/source_code.html. Three alternative ways are provided for downloading the source.

Download User Manual:

Build The Code:
Follow the instructions in section  3.4 Building the code.
% cd verification/exp2/build
% ../../../tools/genmake2 -mods=../code
Here I bumped into my first obstacle -- a puzzling error message. It's like that I should manually specify the optfile but finally I figured out that the problem was merely due to lack of a fortran compiler.
% sudo apt-get install gfortran
Now the corresponding optfile is  ../../../tools/build_options/linux_ia32_gfortran. Actually genmake2 can determine the optfile automatically now.
% ../../../tools/genmake2 -mods=../code
You can specify the opt-file with command line parameter -of=path_to_optfile
% make depend
% make
If compilation finished succesfully then an executable called mitgcmuvwill now exist in the local directory.

Run The Model:
% cd ../run
% cp ../input/* ./
% cp ../build/mitgcmuv ./
% ./mitgcmuv > output.txt

Install Matlab For Linux:

Read And Visualize Output in Matlab:
% /opt/matlab2009/bin/matlab
>> cd ~/MITgcm/utils/matlab
>> H=rdmds(’../../verification/exp2/run/Depth’);
>> contourf(H’);colorbar;
>> title(’Depth of fluid as used by model’);

>> eta=rdmds(’../../verification/exp4/run/Eta’,10);
>> imagesc(eta’);axis ij;colorbar;
>> title(’Surface height at iter=10’);

  • 4
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
### 回答1: 海洋数值模式是通过对海洋物理、化学和生物过程进行数值模拟,来预测海洋现象和变化的工具。对于不同的海洋现象,应该采用对应的海洋数值模式,以便更精确地进行预报。 以下是一些常见的海洋现象及推荐的数值模式: 1. 海洋温度和海表面高度:使用海洋大气耦合模式(例如在中国常用的FVCOM模式)和海洋环流模式(例如ROMS模式)。 2. 海洋波浪:使用波浪数值模式(例如SWAN模式)。 3. 潮汐:使用潮汐数值模式(例如TPXO模式)。 4. 海洋酸化:使用海洋生态模式(例如NEMURO模式)和海洋碳循环模式(例如CESM模式)。 5. 海洋风暴潮:使用风暴潮数值模式(例如ADCIRC模式)。 需要注意的是,不同的数值模式有其各自的优缺点和适用范围,同时也需要根据预报需求和数据可用性进行选择。 ### 回答2: 在预报不同海洋现象时,应根据具体现象的特点和需求来选择合适的海洋数值模式。海洋数值模式是通过数学方程描述海洋物理过程,模拟海洋状态和变化的工具。 对于海浪预报,可采用基于波浪动力学理论的数值模式,如WAM (WINDS WAVE MODELLING)模式、SWAN (SIMULATING WAVES NEARSHORE)模式等。这些模式能够根据风场和海底地形等参数,计算波浪的传播、变形和衰减等过程,准确预报海浪的高度、周期和方向等信息,为海上、近岸、沿岸等任务提供支持。 对于海流预报,可采用基于海洋动力学理论的数值模式,如ROMS (REGIONAL OCEAN MODELING SYSTEM)模式、HYCOM (HYBRID COORDINATED OCEAN MODEL)模式等。这些模式能够模拟海流的产生、传输和演变过程,预报海流的强度、方向和变化趋势等信息,为航海、渔业、海洋工程等提供参考。 对于海洋温度和盐度预报,可采用基于海洋热力学和海洋化学理论的数值模式,如MITgcm (MASSACHUSETTS INSTITUTE OF TECHNOLOGY GENERAL CIRCULATION MODEL)模式、NEMO (NORTH ATLANTIC AND ARCTIC MODELING FRAMEWORK)模式等。这些模式能够模拟海洋的热盐环流和混合过程,预报海洋的温度、盐度和密度等信息,对海洋环境、气候变化等研究具有重要意义。 当预报的海洋现象涉及多个物理过程交互作用时,还可以使用耦合模式,将不同的数值模式进行耦合,模拟海洋的综合变化。这样能够更精确地预报海洋现象的时空分布和演变过程,提高预报的准确性和全球覆盖范围。 总之,在预报不同海洋现象时,应根据具体的需求和研究目标,选择合适的海洋数值模式,以实现准确、可靠的预报结果。 ### 回答3: 在预报不同海洋现象时,应该根据具体情况选择合适的海洋数值模式进行预报。 首先,对于海洋温度和盐度的预报,可以采用海洋通用循环模式(OGCM)来模拟海洋的动力和物理过程。OGCM能够模拟海洋的水循环、热量传输和盐分输运,可以准确预测海洋的温度分布和盐度分布。 其次,对于海洋风和波浪的预报,可以使用海洋风场数值模式和海洋波浪数值模式。海洋风场数值模式可以模拟风对海洋的作用,预测海面风速和风向的变化,从而预报海洋表面流场的分布。海洋波浪数值模式可以模拟波浪的传播和变形过程,预报海洋的波浪高度、波长和波向等参数。 此外,对于海洋潮汐的预报,可以使用潮汐模式。潮汐模式能够计算海洋潮汐的周期、振幅和相位等信息,预测潮汐的变化规律,对于海洋工程和航海等应用具有重要意义。 最后,对于海洋环境的预报,可以综合运用以上各种数值模式,例如同时预报海洋风、波浪和潮汐的变化情况,对海洋环境的变化进行全面分析和预测。 总之,对于不同的海洋现象,我们应该根据需求选择适合的海洋数值模式进行预报,以提高预报的准确性和可靠性。
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值