how to add pressureGradientExplicitSource in the PISO algorithm？
I am simulating the laminar steady pipe flow, the flow is driven by pressure gradient. Firstly,I add a constant of dp/dx in the UEqn Matrix, the velocity seems right but the pressure is wrong. Even after changing the varies BCs, the solution still wrong.
I find there is pressureGradientExplicitSource codes in the OF, but do somebody could tell me how to add it into the icoFoam solver? Thanks in advance.
|All times are GMT -4. The time now is 12:37.|