为什么计算成本增加空间分辨率双打时24倍?- 江南体育网页版- - - - -地球科学堆江南电子竞技平台栈交换 最近30从www.hoelymoley.com 2023 - 07 - 10 - t21:27:47z //www.hoelymoley.com/feeds/question/7927 https://creativecommons.org/licenses/by-sa/4.0/rdf //www.hoelymoley.com/q/7927 4 为什么计算成本增加空间分辨率双打时24倍? 汉Zhengzu //www.hoelymoley.com/users/5214 2016 - 04 - 29 - t16:44:21z 2016 - 04 - 30 - t08:50:18z < p >在中国的书中,我读了数值模型的空间分辨率之间的关系和计算成本。< / p > < p >状态:当模型更精细的空间分辨率,结果将是做精。但实现细网格解决方案,计算成本将会增加。例如,当网格分辨率在3 d模型框架部分(如从10公里、5公里),计算成本将增加24的一个因素。< / p > < p >这是为什么呢?我怎么能确定计算成本的增加空间网格分辨率变化?< / p >

Update

The model here is a 3-d numerical model for weather forcasting like WRF, MM5, etc.

Update 2

Here is an schematic representation of the impact of model resolution on the calculation of chemical oxidants enter image description here

//www.hoelymoley.com/questions/7927/why-does-computation-cost-increase-24-times-when-the-spatial-resolution-doubles/7930 # 7930 8 由半日西蒙回答为什么计算成本增加空间分辨率双打时24倍? 半日西蒙 //www.hoelymoley.com/users/39 2016 - 04 - 30 - t07:46:26z 2016 - 04 - 30 - t07:46:26z < p >我不能回答为什么有24倍,根据教科书,但它很可能是一个特定的模型。一般来说,< / p > < p >如果你双解决3 d模型在每个维度,你增加细胞的数量(或元素)模型2 ^ 3 = 8美元。< / p >

Typically the maximum length of the time step that a model may be run at and remain stable is proportional to $\frac{\Delta x}{u}$, where $\Delta x$ is the size of a grid cell and $u$ is the speed of the flow in that cell (see info on the CFL condition) (for simplicity I'm assuming that the flow is parallel to one grid axis, which makes this one-dimensional; but the same result applies if not). This means that if you double the spatial resolution, you will probably also have to halve the timestep to maintain numerical stability. This gives an extra factor of two on the computation time, taking us to $2^4 = 16$ times.

This will vary in its details from model to model, and it is entirely feasible that additional non-linear processes in a given model push that to 24 times.

//www.hoelymoley.com/questions/7927/why-does-computation-cost-increase-24-times-when-the-spatial-resolution-doubles/7931 # 7931 0 由戈登斯坦格回答为什么计算成本增加空间分辨率双打时24倍? 戈登斯坦格 //www.hoelymoley.com/users/4507 2016 - 04 - 30 - t08:08:44z 2016 - 04 - 30 - t08:08:44z < p >进一步西蒙的回答,也记住的不仅仅是计划网格大小影响的计算时间,这也是互动层大气模型的数量。一些更复杂的全球气候模型大约30垂直层,添加大量的数字运算时间。< / p >
Baidu
map