找回密码
 注册
Simdroid-非首页
查看: 87|回复: 5

[建模专区] 高斯分布生成颗粒的最大半径跟设定值不一致

[复制链接]
发表于 2017-4-4 17:44:44 | 显示全部楼层 |阅读模式 来自 上海
本帖最后由 John.Lee 于 2017-4-4 19:27 编辑

为什么gauss分布生成的颗粒的最大半径比设定值大了这么多,而且超过设定最大半径的颗粒数量也很多
头像被屏蔽
 楼主| 发表于 2017-4-4 17:52:55 | 显示全部楼层 来自 上海
提示: 该帖被管理员或版主屏蔽
回复 不支持

使用道具 举报

 楼主| 发表于 2017-4-4 17:54:03 | 显示全部楼层 来自 上海
我的代码有什么毛病么

new

set random 10001

domain extent -2.0 2.0 0.0 2.0

cmat default model linear property kn 7.5e7 ks 6.25e7 fric 0.0

wall generate box -0.75 0.75 0.0 1.6

ball distribute box -0.75 0.75 0.0 1.6 &
                porosity 0.16 &
                gauss 1 &
                radius 0.0046 0.0104
               
               
ball attribute density 1000 damp 0.7

cycle 1000 calm 100
solve

return
回复 不支持

使用道具 举报

发表于 2017-4-4 19:25:53 | 显示全部楼层 来自 湖南长沙
HELP文件里的说明是这样的:Specify that the ball radii are chosen from a Gaussian distribution with mean value (fradlow + fradhi)/2 and standard deviation (fradhi - fradlow)/2. The optional f (default 0.1), multiplied by fradlow, constitutes the minimum radius allowed.
很明显只规定了平均值和标准差,以及最小半径,这里可没有设定最大半径的大小。你自己再认真学学概率论里边的正态分布定义吧。PS:以后别直接把QQ截图发上来了,论坛识别不了,可以先保存在上传图片文件。
回复 不支持

使用道具 举报

 楼主| 发表于 2017-4-5 11:40:37 | 显示全部楼层 来自 上海
John.Lee 发表于 2017-4-4 19:25
HELP文件里的说明是这样的:Specify that the ball radii are chosen from a Gaussian distribution with m ...

好的,谢谢哈
回复 不支持

使用道具 举报

发表于 2017-4-5 16:14:12 | 显示全部楼层 来自 湖南长沙

嗯呢,以后多多交流。
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-4-23 21:46 , Processed in 0.036740 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表