CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Pressure from Divergence free Velocity

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

LinkBack Thread Tools Display Modes
Old   March 17, 2015, 18:32
Default Pressure from Divergence free Velocity
New Member
Jonathan Tompson
Join Date: Mar 2015
Posts: 1
Rep Power: 0
jonathantompson is on a distinguished road
Hey guys,

I'm relatively new to navier-stokes (and CFD), although I have experience with other PDEs in the past. Feel free to tread me as a beginner with a reasonable math background...

What I want to do is actually rather odd, I want to simulate transient incompressible flow (using pisoFoam) within a very simple boundary setup from random initializations.

I can calculate a smooth and pseudo-random divergence free velocity field that conforms to my boundary conditions (using an approach similar to this paper:, but then I want to simulate this in OpenFoam. So what I need is to calculate the associated pressure. Does OpenFlow have a solver to do this? Alternatively, is there a way to flag a scalar field (such as pressure) to be derived from all other fields?

In Matlab I did try calculating the Laplacian of my velocity field, then I integrated this to get back pressure... However, when I plug the resultant pressure and velocity into OpenFoam I get very odd results. So I feel like it would be best to have OpenFoam handle deriving pressure from velocity.

If you want me to post my OpenFoam files let me know.

Thanks so much in advance for your help! I've been banging my head against a wall for two days now.
jonathantompson is offline   Reply With Quote


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
[ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 13 May 26, 2014 09:05
lid-driven cavity in matlab using BiCGStab Don456 Main CFD Forum 1 January 19, 2012 16:00
Pressure Outlet Guage pressure Mohsin FLUENT 34 January 12, 2012 06:45
Pressure Gradient and Velocity Divergence alvin11 Main CFD Forum 4 May 29, 2010 11:11
How to set pressure BC with mass Velocity Magnitud arwang FLUENT 2 March 12, 2007 21:04

All times are GMT -4. The time now is 03:56.