Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    fvOptions的问题

    OpenFOAM
    3
    4
    3376
    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.
    • S
      sejabs last edited by

      近来学习openFOAM,发现有fvoptions,但是在网上查不到详细的说明和较为粗浅的例子进行学习。请问

      1. fvOptions是实现运行时添加源项的,但是如何实现?我看到的所有例子中 type 应该都是内建的,定义的文件在哪里?
      2. 有没有可能通过fvOptions实现动态的源项?例如弹性的多孔介质什么的,孔的大小受到邻近流体流速场、压力场等的调节什么的,这样就构成互相影响的关系。如果有现成的类似例子就更好了,因为这和我的课题方向更类似一些。
      X 1 Reply Last reply Reply Quote
      • B
        buxiangle2012 last edited by

        这个我没有研究过,但是我有些链接是讲这个的,希望对你有用
        http://xiaopingqiu.github.io/2016/03/20/fvOptions1/
        http://www.sourceflux.de/blog/software-design-fvoptions/

        1 Reply Last reply Reply Quote
        • X
          xpqiu 教授 @sejabs last edited by

          @sejabs

          1. 源码在src/fvOptions目录下;
          2. 可能可以用 codedSource 这个来实现,这个允许动态的源项,具体还需要琢磨一下。
          1 Reply Last reply Reply Quote
          • S
            sejabs last edited by

            谢谢各位的回复!

            1 Reply Last reply Reply Quote
            • First post
              Last post

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