Skip to content
  • 最新
  • Categories
  • 东岳流体
  • 随机看[请狂点我]
Skins
  • 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

  • Default (No Skin)
  • No Skin
Collapse
CFD中文网

CFD中文网

  1. CFD中文网
  2. OpenFOAM
  3. 后处理时候singleGraph可以提取两条线的值吗

后处理时候singleGraph可以提取两条线的值吗

Scheduled Pinned Locked Moved OpenFOAM
3 Posts 2 Posters 2.7k Views
  • 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.
  • C Offline
    C Offline
    cfd_上弦月
    wrote on last edited by
    #1

    我想计算过程中提取两条不同线上的不同物理场,singleGraph好像只能提取一条线?该怎么做

    1 Reply Last reply
  • 李东岳李 Online
    李东岳李 Online
    李东岳 管理员
    wrote on last edited by
    #2
    type sets;
    libs            ("libsampling.so");
    
    interpolationScheme cellPoint;
    
    setFormat       raw;
    
    sets
    (
        H0.4
        {
            type    lineUniform;
            axis    distance;
            start   (0 0.4 0.02);
            end     (0.2 0.4 0.02);
            nPoints 100;
        }
        H0.3
        {
            type    lineUniform;
            axis    distance;
            start   (0 0.3 0.02);
            end     (0.2 0.3 0.02);
            nPoints 100;
        }
        H0.2
        {
            type    lineUniform;
            axis    distance;
            start   (0 0.2 0.02);
            end     (0.2 0.2 0.02);
            nPoints 100;
        }
    );
    
    fields          (alphadMean U.waterMeany);
    
    

    上面的代码可以提取多条线

    9月CFD算法编程课: http://dyfluid.com/class.html

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

    1 Reply Last reply
  • C Offline
    C Offline
    cfd_上弦月
    wrote on last edited by
    #3

    谢谢李老师

    1 Reply Last reply

  • Login

  • Login or register to search.
  • First post
    Last post
0
  • 最新
  • Categories
  • 东岳流体
  • 随机看[请狂点我]