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
4 帖子 2 发布者 3.3k 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • 液 离线
    液 离线
    液固两相流
    写于 最后由 编辑
    #1

    目前我在采用稳态的欧拉拉格朗日求解器,求解水轮机的磨损问题,颗粒数为50000,网格数为1100w左右。颗粒文件的设置如下:```
    code_text

    solution
    {
        active          true;
        
        calcFrequency   15;
    
        maxTrackTime    6;
    
        maxCo           0.6;
    
        coupled         true;
    
        cellValueSourceCorrection off; //suggested to be off
    
        interpolationSchemes
        {
        
           Urel      	cellPoint;		//U for water
           rho     		cell;	 		//rho of water
           mu      		cell;			 //mu of water
           DUcDt        cell;	 		//DUcDt of water 
    
        }
    
        integrationSchemes
        {
            U               Euler;
        }
    
        sourceTerms
        {
         resetOnStartup false;
            schemes
            {
                U semiImplicit 1;
            }
        }
    }
    
    constantProperties
    {
        rho0 2650;	//the density for the particle
    }
    
    subModels
    {
        particleForces
        {
            sphereDrag; //drag forces
    
            gravity;  // gravity force
    
    		pressureGradient //pressure gradient force
    		{
    		  U   Urel;
    		}
    		
    		virtualMass    //virtual mass force
    		{
    		  Cvm   0.5;
    		}
    		
    		MRF
    		{
    		 omega (0 0 -104.72);
    		 centreOfRotation (0 0 0);
    		 Ctemp	MRFC;
    		}
    	
         }
    
        injectionModels
        {
    
            model1
            {
    		 type					patchInjection; 		
             parcelBasisType   		fixed;					
             patchName        		INLET_SV;					
             U0                		(0 0 0);				
    		 nParticle          	420;
    		 duration            	1;					
    		 parcelsPerSecond		50000;
             flowRateProfile 		constant 1;
    		 massFlowRate     		 0;       			
    		 //positionsFile   		"kinematicCloudPositions";		
                sizeDistribution
                {
                    type        fixedValue;
                    fixedValueDistribution
                    {
                        value   0.0002;//m
                    }
                }
            }
        }
    
        dispersionModel stochasticDispersionRAS;
    
        patchInteractionModel UserLocalInteraction;
        //using the tabakoff rebound model 
    
        UserLocalInteractionCoeffs
        {
            patches
            (
                "(.*)"
                {
                    type rebound;
    				reboundModel 2;
                }
    
                OUTLET_SC
                {
                    type none;
                }
                INLET_SV
                {
                    type escape;
                }
                OUTLET_SV
                {
                    type none;
                }
                INLET_GV
                {
                    type none;
                }
                OUTLET_GV
                {
                    type none;
                }
                INLET_RUN
                {
                    type none;
                }
                OUTLET_RUN
                {
                    type none;
                }
                INLET_DT
                {
                    type none;
                }
    
                INLET_SC
                {
                    type none;
                   
                }
                OUTLET_DT
                {
                    type escape;
                   
                }
            );
        }
    
       
        heatTransferModel none;
    
        surfaceFilmModel none;
    
        collisionModel none;
    
        stochasticCollisionModel none;
    
        radiation off;
    }
    
    

    流场迭代15步之后,会进行颗粒的迭代,颗粒计算平均耗时5min。
    但每次计算至210步时,颗粒就算不动了(前面的颗粒计算均是正常的)。
    我如果把颗粒数降至10000,计算至750步,颗粒就算不动了。

    请问一下大家又碰到这类问题吗?有什么比较好的解决办法吗?

    1 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    写于 最后由 编辑
    #2

    发代表性网格截面看一下

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

    液 1 条回复 最后回复
  • 液 离线
    液 离线
    液固两相流
    在 中回复了 李东岳 最后由 编辑
    #3

    @东岳
    我的网格有多个交界面(用的是cyclicAMI),交界面对于拉格朗日的计算会有影响吗?

    1 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    写于 最后由 编辑
    #4

    很有可能,cyclicAMI有可能把粒子算丢了

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

    1 条回复 最后回复

  • 登录

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