|
[Sponsors] |
How to specify a timevarying nonuniform gradient of p at a patch |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 4, 2007, 11:08 |
Hello everyone,
I want to a
|
#1 |
New Member
Thomas Gallinger
Join Date: Mar 2009
Posts: 28
Rep Power: 17 |
Hello everyone,
I want to apply calculated values onto the gradient of p at a boundary patch. There are new values in every time step and they are non-uniform. Apllying some values to p is quite simple, but how to specify values for the gradient at the boundary of a field? Does anyone have a suggestion? Any help appreciated! Many Thanks Thomas |
|
October 4, 2007, 17:00 |
Hi Thomas!
If you need it a
|
#2 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Thomas!
If you need it at every time-step, you propably will have to program a boundary condition. Have a look at $FOAM_SRC/finiteVolume/fields/fvPatchFields/derived/fixedFluxPressure (that boundary condition sets a pressure gradient, so it might give you an idea how to do it) Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
October 5, 2007, 03:02 |
Thanks very much Bernhard!
|
#3 |
New Member
Thomas Gallinger
Join Date: Mar 2009
Posts: 28
Rep Power: 17 |
Thanks very much Bernhard!
I will try it. Thomas |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Specifying nonuniform boundary condition | maka | OpenFOAM Running, Solving & CFD | 59 | October 22, 2014 15:52 |
Set nonuniform boundary values | nikwin | OpenFOAM Running, Solving & CFD | 1 | November 30, 2008 08:12 |
Boundary condition vector field gradient from two sides of patch face | quba | OpenFOAM | 0 | December 12, 2007 06:26 |
FixedValue nonuniform BC | dmoroian | OpenFOAM Running, Solving & CFD | 1 | November 3, 2006 05:26 |
Nonuniform gradient boundary condition | ankgupta8um | OpenFOAM Running, Solving & CFD | 1 | March 14, 2006 02:34 |