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).
直接自己写还是有类似fvm::ddt隐式模块?
fvc::ddt: \begin{equation} \frac{\p\phi}{\p t}=\frac{\phi^t - \phi^{t-\Delta t}}{\Delta t} \end{equation} fvm::ddt: \begin{equation} \frac{\p\phi}{\p t}=\frac{\phi^{t+\Delta t} - \phi^{t}}{\Delta t} \end{equation}
fvc::ddt
fvm::ddt
使用fvc,所包含的头文件以及其它设置文件都与fvm是一样的吗
一样的没区别
我想在shallowWaterFoam里加上粘性项 在预测步中
solve(hUEqn == -magg * h * fvc::grad(h + h0))
加入粘性项变成
solve(hUEqn == -magg*h*fvc::grad(h + h0)+fvm::laplacian(nu, hU));
在校正步中需要加入吗?
不需要