Skip to content
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(不使用皮肤)
  • 不使用皮肤
折叠
CFD中文网

CFD中文网

  1. CFD中文网
  2. OpenFOAM
  3. 求助,cfdem中liggghts软件应用相关问题

求助,cfdem中liggghts软件应用相关问题

已定时 已固定 已锁定 已移动 OpenFOAM
5 帖子 3 发布者 2.2k 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • 我 离线
    我 离线
    我也想学好CFD
    写于 最后由 李东岳 编辑
    #1

    最近想用liggghts做一个算例,但是出了一点问题

    在用fix wall/gran设置墙壁的时候没有效果,粒子还是会从边界穿出去,对照另一个算例写的命令整体差不多,但是那个算例就能挡住粒子,不知道为什么

    这是我仿真图,粒子会从边界右边出来
    171d1893-31c5-4d6f-88cc-a1bec570cef7-image.png

    这是那个算例,颗粒可以堆积
    894386a8-d5e0-4e81-abcc-78ccec202d1b-image.png

    下面是我的命令,有大佬可以帮我看看问题一在哪吗,不胜感激!!

    atom_style      granular
    atom_modify     map array
    boundary        f f f
    newton          off
    communicate     single vel yes
    units           si
    
    region          domain block -3 3 0 4 0 1 units box
    create_box      1 domain
    
    
    neighbor        0.004 bin
    neigh_modify    delay 0
    
    pair_style  gran model hertz tangential history
    pair_coeff  * *
    
    timestep    0.00001
    
    fix integr all nve/sphere
    fix gravity all gravity 9.81 vector 0.0 -1.0 0.0
    
    fix m1 all property/global youngsModulus peratomtype 1e6
    fix m2 all property/global poissonsRatio peratomtype 0.42
    fix m3 all property/global coefficientRestitution peratomtypepair 1 0.9
    fix m4 all property/global coefficientFriction peratomtypepair 1 0.1
    fix m5 all property/global coefficientRollingFriction peratomtypepair 1 0.5
    
    
    fix	wallxmin all wall/gran model hertz tangential history primitive type 1 xplane -2.95
    fix	wallxmax all wall/gran model hertz tangential history primitive type 1 xplane 2.95
    fix	wallymin all wall/gran model hertz tangential history primitive type 1 yplane 0.0
    fix	wallymax all wall/gran model hertz tangential history primitive type 1 yplane 3.8
    fix	wallzmin all wall/gran model hertz tangential history primitive type 1 zplane 0.0
    
    fix pts1 all particletemplate/sphere 123575 atom_type 1 density constant 1000 radius constant 0.002
    fix pdd1 all particledistribution/discrete 123457 1 pts1 1.0
    
    region	spray block -2.8 -2.0 2.0 3.0 0.2 0.8 units box
    fix	push all addforce 0.01 0.0 0.0 region spray
    
    region	fire block -2.7 -2.2 3.0 3.6 0.4 0.6 units box
    fix  ins1 all insert/rate/region seed 5330 distributiontemplate pdd1 nparticles 10000 particlerate 10000 vel constant 0.0 0.0 -1.0 &
        insert_every 500 overlapcheck yes region fire ntry_mc 10000
    
    thermo          1000
    thermo_modify   lost ignore norm no
    compute_modify  thermo_temp dynamic yes
    
    run 1
    
    dump dmp all custom 200 post/liggghts_init_*.liggghts id type x y z vx vy vz fx fy fz omegax omegay omegaz radius
         
    run 100000 upto
    1 条回复 最后回复
  • 我 离线
    我 离线
    我也想学好CFD
    写于 最后由 李东岳 编辑
    #2

    找到了这样一句话

    In a worst-case scenario, this can blow particles out of the simulation box. Thus, as a general rule you should not use the fix wall/gran/region command with union or interesect regions that have convex points or edges resulting from the union/intersection (convex points/edges in the union/intersection due to a single sub-region are still OK).
    
    

    不知道是不是原因,看不太懂,求解答

    C 1 条回复 最后回复
  • C 离线
    C 离线
    chapaofan
    在 中回复了 我也想学好CFD 最后由 编辑
    #3

    @我也想学好CFDSnipaste_2024-06-06_10-36-39.png
    我给你跑了一下,除了z方向墙设置太大会漏粒子,其他没问题呀,x方向的墙可以正常碰撞呀

    李东岳李 我 2 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    在 中回复了 chapaofan 最后由 编辑
    #4

    @chapaofan liggghts这玩意是我知识盲区,大佬也是真厉害,直接给跑出来了。

    http://dyfluid.com/index.html
    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    1 条回复 最后回复
  • 我 离线
    我 离线
    我也想学好CFD
    在 中回复了 chapaofan 最后由 编辑
    #5

    @chapaofa 大佬辛苦啦,我跑就是这样,不知道为啥,感觉命令没问题,我换台电脑试试吧。谢谢啦!

    1 条回复 最后回复

  • 登录

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]