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

Can Poissonbs equation be solved in FOAM like this

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 1, 2005, 20:20
Default For transient problem, we can
  #1
Member
 
Luckyluke
Join Date: Mar 2009
Posts: 51
Rep Power: 17
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


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 Off
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 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


All times are GMT -4. The time now is 00:50.