Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    颗粒的injection model中,可以添加颗粒数随时间变化的关系吗?

    OpenFOAM
    2
    3
    279
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hotairballon1997 last edited by

      比如用patchInjection,想让inlet patch在第1,3,5...秒内入射100个颗粒,在第2,4,6...秒内入射10000个颗粒。

      请问可以通过在kinematicCloudProperties文件中调用time()变量实现吗?

      李东岳 1 Reply Last reply Reply Quote
      • 李东岳
        李东岳 管理员 @hotairballon1997 last edited by

        @hotairballon1997

        model1
                {
                    type            coneInjection;
                    SOI             0;
                    massTotal       6.0e-6;
                    parcelBasisType mass;
                    injectionMethod disc;
                    flowType        flowRateAndDischarge;
                    dInner          0;
                    dOuter          1.9e-4;
                    duration        1.25e-3;
                    position        (0 0.0995 0);
                    direction       (0 -1 0);
                    parcelsPerSecond 20000000;
                    flowRateProfile table
                    (
                        (0              0.1272)
                        (4.16667e-05    6.1634)
                        (8.33333e-05    9.4778)
                        (0.000125       9.5806)
                        (0.000166667    9.4184)
                        (0.000208333    9.0926)
                        (0.00025        8.7011)
                        (0.000291667    8.2239)
                        (0.000333333    8.0401)
                        (0.000375       8.8450)
                        (0.000416667    8.9174)
                        (0.000458333    8.8688)
                        (0.0005         8.8882)
                        (0.000541667    8.6923)
                        (0.000583333    8.0014)
                        (0.000625       7.2582)
                        (0.000666667    7.2757)
                        (0.000708333    6.9680)
                        (0.00075        6.7608)
                        (0.000791667    6.6502)
                        (0.000833333    6.7695)
                        (0.000875       5.5774)
                        (0.000916667    4.8649)
                        (0.000958333    5.0805)
                        (0.001          4.9547)
                        (0.00104167     4.5613)
                        (0.00108333     4.4536)
                        (0.001125       5.2651)
                        (0.00116667     5.2560)
                        (0.00120833     5.1737)
                        (0.00125        3.9213)
                        (0.001251       0.0000)
                        (1000           0.0000)
                    );
        
        

        这个flowRate你参考一下

        CFD课程 改成线上了 http://dyfluid.com/class.html
        CFD高性能服务器 http://dyfluid.com/servers.html

        H 1 Reply Last reply Reply Quote
        • H
          hotairballon1997 @李东岳 last edited by

          @李东岳 谢谢李老师,这个确实是我想找的功能。

          不好意思才看到您的回复,不知道为啥论坛里的消息有时候没有提示,也没有邮件提示。。

          1 Reply Last reply Reply Quote
          • First post
            Last post

          CFD中文网 | 东岳流体 | 京ICP备15017992号-2