Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    关于程序调用问题

    OpenFOAM
    3
    4
    605
    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.
    • win
      win last edited by

      )e333f62a-d086-46ea-8848-fb3a7424c650-image.png
      fr是一个标量场,我想让其中大于1的值都改为0,但是用这个forAll循环,fr的值并没有改变。这是为什么啊?

      1 Reply Last reply Reply Quote
      • S
        Samuel-Tu last edited by

        你这循环后的值会改为了1吧:134:

        1 Reply Last reply Reply Quote
        • win
          win last edited by

          我说错了,我是想让大于1的值都改为1。但是没有改变。

          1 Reply Last reply Reply Quote
          • 马乔
            马乔 副教授 last edited by

            你这是什么版本啊,为嘛那一通运算没有量纲检查。forAll这个只会遍历内场。

            装逼没输过,吵架没赢过!

            1 Reply Last reply Reply Quote
            • First post
              Last post

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