|
[Sponsors] |
October 21, 2018, 17:19 |
Fixed pressure gradient
|
#1 |
Senior Member
Guilherme
Join Date: Apr 2017
Posts: 245
Rep Power: 10 |
Hi,
I'm using OpenFOAM version 5.0 and would like to know, how I define a fixed pressure gradient for a periodic domain? Unfortunately fvOption - meanVelocityForce is not interesting as it varies the gradient over the simulation. |
|
October 21, 2018, 21:22 |
|
#2 |
Senior Member
Peter Baskovich
Join Date: Jul 2014
Posts: 127
Rep Power: 12 |
You could try jumpCyclic at the patches. It doesn't apply to the field like you asked but hopefully problem will allow the pressure gradient to develop.
|
|
October 22, 2018, 03:16 |
|
#3 |
Senior Member
Santiago Lopez Castano
Join Date: Nov 2012
Posts: 354
Rep Power: 16 |
Just add a bodyforce to the momentum predictor of piso, like fvOptions
|
|
October 22, 2018, 08:31 |
|
#4 | ||
Senior Member
Guilherme
Join Date: Apr 2017
Posts: 245
Rep Power: 10 |
Quote:
Unfortunately I am a beginner in programming (C++). Could you help me with that? Yesterday I tried this issue: Quote:
|
|||
Tags |
fvoptions, periodic bc, pressure gradient |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
streamwise pressure gradient | Ionut G | Fluent UDF and Scheme Programming | 2 | February 21, 2018 12:43 |
pimpleFoam in OF1612 shows same time step twice in log file | shang | OpenFOAM Bugs | 10 | January 24, 2018 11:43 |
Pressure Gradient in channelOodles | sega | OpenFOAM Running, Solving & CFD | 14 | August 12, 2009 07:21 |
Neumann pressure BC and velocity field | Antech | Main CFD Forum | 0 | April 25, 2006 03:15 |
Gas pressure question | Dan Moskal | Main CFD Forum | 0 | October 24, 2002 23:02 |