|
[Sponsors] |
Can Poissonbs equation be solved in FOAM like this |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 1, 2005, 20:20 |
For transient problem, we can
|
#1 |
Member
Luckyluke
Join Date: Mar 2009
Posts: 51
Rep Power: 17 |
For transient problem, we can achieve the solution as following:
fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) - fvm::laplacian(nu, U) ); solve(UEqn == -fvc::grad(p)); Then, if I want to solve a arbitrary Poisson's equation or elliptic equation in my solver code, I can do it with the similar code lines shown above? Thanks. BTW, I have successfully include VTK libs in my OpenFOAM solver. Thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Diffusion equation solved using Parallel Computing | Sachin Paramane | Main CFD Forum | 0 | June 12, 2007 00:48 |
Are the quations solved in FDM or FVM ? | anon | Main CFD Forum | 0 | December 12, 2005 23:29 |
All fields not solved | fabianpk | OpenFOAM Running, Solving & CFD | 1 | November 9, 2005 07:24 |
A NEW solver for steady Poissonbs equation | Ali (Ali) | OpenFOAM Running, Solving & CFD | 5 | February 7, 2005 13:26 |
Poisson's equation can be solved in Fluent? | Mark | FLUENT | 4 | October 30, 2003 16:20 |