CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Can Poissonbs equation be solved in FOAM like this

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 1, 2005, 19:20
Default For transient problem, we can
  #1
Member
 
Luckyluke
Join Date: Mar 2009
Posts: 51
Rep Power: 8
luckyluke is on a distinguished road
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.
luckyluke is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Diffusion equation solved using Parallel Computing Sachin Paramane Main CFD Forum 0 June 11, 2007 23: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


All times are GMT -4. The time now is 04:06.