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 C ( IOobject ( "C" runTime.timeName(), mesh, IOoject::MUST_READ, IOobject::AUTO_WRITE ), mesh );
类似这样子写出O2的读取,是否可以用这两个浓度去进行计算?
如果读取O2,那应该是;
volScalarField C ( IOobject ( "C" runTime.timeName(), mesh, IOoject::NO_READ, IOobject::AUTO_WRITE ), O2 );
@东岳 东岳老师,我可能没有表达清楚,您的意思是我的0文件夹中有一个O2的文件,然后这个C就是个符号而已,随意写,我在使用的时候就用C这个符号就好。 同理只要我0文件夹中有一个叫做C(碳)的文件,随意定义一个符号a,把O2换成C就可以用a作为碳的浓度去计算?