Openfoam计算泄露的问题
-
之前采用CFX计算气体泄露,里面有个source point的点,你可以随意设置泄漏点的位置,这种操作对于有多个可能的泄漏点计算来说就非常方便,想请教下,在openfoam中可不可以采用相同的设置方式来进行计算?(模拟的尺寸比较大,想采用openfoam试试)刚入手openfoam。
下图即为CFX的插入项 -
massSource1//注入源项 { type scalarSemiImplicitSource; timeStart 0.0; duration 2.0; selectionMode points; points ( (2.75 0.5 0) ); volumeMode absolute; injectionRateSuSp { rho (1e-4 0); // kg/s H2O (1e-4 0); // kg/s } }
参考下述,添加fvOptions
https://github.com/OpenFOAM/OpenFOAM-7/blob/master/tutorials/lagrangian/reactingParcelFoam/filter/constant/fvOptions -