How to solve Poisson equation in CFX 4?
Hi, all I want to solve a semiPoisson equation for a user scalar, it is in the form: D^2(PHI)/DX^2 + D^2(PHI)/DY^2 = f(PHI). Because the right term is a function of scalar PHI, it may cause some converge problem as I think, how to make this works in CFX 4.4 by command file or by user subroutine? aks for help. Thanks

Re: How to solve Poisson equation in CFX 4?
This is just a diffusion equation with a linear source. Turn off convection (NO CONVECTION under the diffusion scheme) and set your source coeffient in the SP term which will be multiplied by PHI by the solver.
This has been done to solve for electric fields. Jeff 
Re: How to solve Poisson equation in CFX 4?
OK, thanks, it work for SUM[AM(PHI_PPHI_M)] = S_U + S_P *PHI_P, but if the right side is not simply S_P * PHI_P but a function of PHI, for example EXP(PHI), is there any differency?

Re: How to solve Poisson equation in CFX 4?
Depending on the form of the expression, separate any terms out that are multiplied by just PHI, and put those into S_P. Evaluate everything else (including functions of PHI) and assign it to S_U. The more you can put into S_P the better (see documentation on linearization of sources).
Jeff 
All times are GMT 4. The time now is 12:33. 