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. openfoam fvDOM中的太阳辐射模型

openfoam fvDOM中的太阳辐射模型

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

    请问一下大家有没有做太阳辐射模型相关内容的呀~

    我发现在我使用fvDOM模型时,设置

    useExternalBeam true;
    solarCalculatorCoeffs
    {
        sunDirectionModel    tracking;
        .......
       sunLoadModel       fairWeather;
    }
    

    在useExternalBeam true;sunDirectionModel设置 tracking的前提下,sunLoadModel只能使用fairWeather模型才能得到正确的G场,constant和timeDependent就不行,大家知道什么原因吗?

    1 条回复 最后回复
  • S 离线
    S 离线
    sumeifang
    写于 最后由 李东岳 编辑
    #2

    这个问题解决了,主要是因为OpenFOAM在solarCalculator.C中有出纰漏
    修改如下并编译就好了,可以模拟在useExternalBeam下给定太阳辐射值(随时间变化)的效果

    void Foam::solarCalculator::correctSunDirection()
    {
        if (sunDirectionModel_ == mSunDirTracking)
        {
            calculateBetaTheta();
            calculateSunDirection();
            //directSolarRad_ = A_/exp(B_/sin(max(beta_, ROOTVSMALL)));
            if (sunLoadModel_ == mSunLoadTimeDependent)
            {
                directSolarRad_ = directSolarRads_->value(mesh_.time().value());
            }
            else if (sunLoadModel_ == mSunLoadFairWeatherConditions)
            {
                directSolarRad_ =  A_/exp(B_/sin(max(beta_, ROOTVSMALL)));
            }
        }
    }
    
    
    void Foam::solarCalculator::correctDirectSolarRad()
    {
        if (sunLoadModel_ == mSunLoadTimeDependent)
        {
            directSolarRad_ = directSolarRads_->value(mesh_.time().value());
        }
        else if (sunLoadModel_ == mSunLoadFairWeatherConditions)
        {
            directSolarRad_ =  A_/exp(B_/sin(max(beta_, ROOTVSMALL)));
        }
    }
    
    1 条回复 最后回复

  • 登录

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