CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

setValues() equivalent for fixing gradients?

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   March 9, 2012, 08:08
Question setValues() equivalent for fixing gradients?
New Member
Join Date: Apr 2010
Posts: 22
Rep Power: 9
lrunber is on a distinguished road
Dear Foamers,

I would like to be able to fix the pressure gradient within the domain at arbitrary points in an unsteady fashion.

The functionality is available for setting fixed "Dirichlet" values with setValues(), however I was wondering if there is perhaps a similar function for fixing gradients? Also, any advice w.r.t. writing such a function myself would be highly appreciated.

lrunber is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Output of velocity gradients wersoe OpenFOAM Programming & Development 13 June 24, 2016 09:54
Velocity Gradients or Pressure Gradients? owayz OpenFOAM 9 August 14, 2012 13:09
Large pressure gradients = anisotropy??? cfd_enthusiast Main CFD Forum 0 February 9, 2010 12:09
density gradients in CFX post prabhu CFX 1 June 12, 2006 06:47
extract velocity gradients with cfx4.2 franco belosi CFX 1 November 28, 2002 19:41

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