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).
在非压缩的求解器中,我查了4.1之下的创建通量的createPhi文件,发现有两个一个里面写的是fvc::flux(U),还有一个是linearInterpolate(hU) & mesh.Sf().说明里面写了前一个是相对relative.这两者有什么区别呢?我試了非压缩下的标量运输,fvc::flux(U)和linearInterpolate(U) & mesh.Sf()(和上面比少了一个h)两个的结果是一样的,请问下这两者是不是同一种东西两个写法呢?
createPhi
fvc::flux(U)
linearInterpolate(hU) & mesh.Sf()
linearInterpolate(U) & mesh.Sf()
请问下这两者是不是同一种东西两个写法呢?
fvc::flux(U)可以选定各种格式,如果你指定他的格式是linear,那么fvc::flux(U)=linearInterpolate(U) & mesh.Sf()
linear
fvc::flux(U)=linearInterpolate(U) & mesh.Sf()