Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
如题,有两个volScalarField,即为v1,v2,程序中计算v1+v2,那么除了internalField相加外,边界上的值也相加吗?没找到openfoam中对+的定义。@东岳 了解具体细节吗?
边界上的值也相加吗?
是的。边界和内部都相加。边界为calculated边界条件。
calculated
在初始化场的时候,比如这种
volScalarField test ( IOobject ( ... ) mesh //如果不写边界条件类型,除了特殊的边界条件,都为calculated,如果计算,就有值。一般情况下,边界条件很重要,要谨慎 scalar(0) );