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).
如题,例如温度场和速度场,如何在计算过程中输出每一时间步T和U的乘积;
volVectorField res("", T*U); res.write();
大体如此,需要自己写代码
好的,谢谢老师,不过这个是写到哪个文件中呢?
@东岳 是写在createFields.H中吗?还是在Foam.C中?
@东岳 哦哦,已解决,在foam.C添加上述语段就可以了
@东岳 老师好,如何在指定时间范围内对新变量求平均,我尝试在controldict添加fieldaverage,但是计算时没有Mean和prime2mean文件输出,应该如何解决?