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

Pressure equation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 3, 2013, 15:56
Default Pressure equation
  #1
New Member
 
Join Date: Nov 2013
Posts: 1
Rep Power: 0
Leon is on a distinguished road
Hi,
so i have the following question.
I have an incompressible flow with a prescribed velocity field for each time step and want to calculate pressure via Poisson equation.
Is it as simple as:

phi =
fvc::interpolate(rho)
*(
(fvc::interpolate(U) & mesh.Sf())
);

fvScalarMatrix pEqn(
fvm::laplacian(p) == fvc::div( fvc::div(phi,U) )
);
pEqn.solve()

Thx for your reply!
Leon is offline   Reply With Quote

Reply

Tags
pressure equation

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
error message cuteapathy CFX 14 March 20, 2012 07:45
The correction on pressure equation of SIMPLE algorithm in MRFSimpleFOAM solver renyun0511 OpenFOAM Running, Solving & CFD 0 November 10, 2010 01:47
Boundary condition in pressure equation Paolo Lampitella FLUENT 0 February 21, 2008 06:30
Does star cd takes reference pressure? monica CD-adapco 1 April 19, 2007 11:26
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) HB &DS CFX 0 January 9, 2000 13:19


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