Pressure equation
Hi,
so i have the following question. I have an incompressible flow with a prescribed velocity field for each time step and want to calculate pressure via Poisson equation. Is it as simple as: phi = fvc::interpolate(rho) *( (fvc::interpolate(U) & mesh.Sf()) ); fvScalarMatrix pEqn( fvm::laplacian(p) == fvc::div( fvc::div(phi,U) ) ); pEqn.solve() Thx for your reply! |
All times are GMT -4. The time now is 13:10. |