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).
我想实现一个速度边界条件,表达式如下 c1是个常数,r是颗粒半径 r不是常数,是程序中计算得到的。createFields.H中定义过的。 我想使用codedFixedValue可以实现吗?就是code里面可以直接用createFields.H中定义过的r吗?
@dingcy 可以,没问题。用类似这种调用就行
const volScalarField& r = mesh.lookupobject<volScalarField>("r");
@李东岳 好滴好滴,非常感谢,我这就试试