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

How to specify a timevarying nonuniform gradient of p at a patch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2007, 11:08
Default Hello everyone, I want to a
  #1
New Member
 
Thomas Gallinger
Join Date: Mar 2009
Posts: 28
Rep Power: 17
thomas is on a distinguished road
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
thomas is offline   Reply With Quote

Old   October 4, 2007, 17:00
Default Hi Thomas! If you need it a
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
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
gschaider is offline   Reply With Quote

Old   October 5, 2007, 03:02
Default Thanks very much Bernhard!
  #3
New Member
 
Thomas Gallinger
Join Date: Mar 2009
Posts: 28
Rep Power: 17
thomas is on a distinguished road
Thanks very much Bernhard!

I will try it.

Thomas
thomas 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
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


All times are GMT -4. The time now is 13:57.