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

Pressure from Divergence free Velocity

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2015, 17:32
Default Pressure from Divergence free Velocity
  #1
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: http://www.cs.ubc.ca/~rbridson/docs/...-curlnoise.pdf), 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

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
[ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 14 November 14, 2018 07:54
Pressure Outlet Guage pressure Mohsin FLUENT 36 April 29, 2016 17:16
lid-driven cavity in matlab using BiCGStab Don456 Main CFD Forum 1 January 19, 2012 15:00
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 20:04


All times are GMT -4. The time now is 05:25.