|March 17, 2015, 18:32||
Pressure from Divergence free Velocity
Join Date: Mar 2015
Posts: 1Rep Power: 0
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.
|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|