compressibleInterFoam求解器怎么加入空化模型
- 
							
							
							
							
Okay。我看了一下, interPhaseChangeFoam只能用与不可压缩,所以你们打算添加可压缩VOF的方程;- 一种方式是基于compressibleInterFoam附加空化模型;
- 一种方式是基于interPhaseChangeFoam更改速度压力方程适用于可压缩模型;
 怎么编写compressibleTwoPhaseMixture库来调用空化模型? 这是一个非常大的问题,恐怕需要你自己完成。如果你选择第二种方法,你需要进行2步: - 确认空化模型是否需要改动来可压缩适配,若不需要修改可跳过,若需要修改可修改phaseChangeTwoPhaseMixture.C公式内的函数;
- incompressibleTwoPhaseMixture.C这个文件只是计算相界面的粘度、运动粘度等,个人认为不需要修改,可跳过; 不过最好确认下;
- 修改VOF模型中的速度和压力方程,可参考compressibleInterFoam中的处理方式,主要在压力方程中附加源项;
 在做改动前,最后要非常熟悉 interPhaseChangeFoam的流程,然后逐步的添加自己的模型。
- 一种方式是基于
- 
							
							
							
							
							
							
水相前面写的是: equationOfState rPolynomial;所以是多项式状态方程,在 rPolynomial.H里面写的是:Reciprocal polynomial equation of state for liquids and solids \f[ 1/\rho = C_0 + C_1 T + C_2 T^2 - C_3 p - C_4 p T \f] This polynomial for the reciprocal of the density provides a much better fit than the equivalent polynomial for the density and has the advantage that it support coefficient mixing to support liquid and solid mixtures in an efficient manner.所以就是: 
 \begin{equation}
 1/\rho = C_0 + C_1 T + C_2 T^2 - C_3 p - C_4 p T
 \end{equation}
- 
							
							
							
							
前辈你好,我最经也遇到这个问题,请问有时间交流一下吗? 
 
			

 如有时间,麻烦老哥发一份可否?1195143370@qq.com,拜谢!!!
 如有时间,麻烦老哥发一份可否?1195143370@qq.com,拜谢!!!