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

Calculated gradient boundary condition similar to gammaContactAngle

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 26, 2007, 16:23
Default I have a scalar field for whic
  #1
Member
 
Adam Donaldson
Join Date: Mar 2009
Location: Ottawa, Ontario, Canada
Posts: 37
Rep Power: 17
adona058 is on a distinguished road
I have a scalar field for which I would like to set the gradient along the boundary condition at each time step.

The value of the gradient impacts the contact angle of the scalar field with the boundary, but the range of the scalar values is different then what I would assume the gammaContactAngle boundary condition was designed for. (I am assuming the existing boundary condition is for a scalar value ranging from 0 to 1, whereas the one I am working with ranges from ~0.264 to ~0.404).

In order to complete the calculation I am looking for, I need to do the following:

1)Determine which of the boundary conditions are of the type that I wish to set the gradient for

2) interpolate the values of the scalar field to the boundary faces and solve an expression describing the gradient with respect to the value of the scalar field.

3) Set the value of the gradient in each face of the boundary to the value calculated in step 2.


Would someone have an example where they have done this that they would be willing to share? or is there a resource describing how I might go about doing this.

Thank you,

Adam
adona058 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
which boundary is similar to 'Opening' of CFX Hao FLUENT 2 October 18, 2009 22:42
Boundary Condition for variable Gradient wilko OpenFOAM Running, Solving & CFD 1 March 13, 2009 13:30
Boundary condition vector field gradient from two sides of patch face quba OpenFOAM 0 December 12, 2007 06:26
Nonuniform gradient boundary condition ankgupta8um OpenFOAM Running, Solving & CFD 1 March 14, 2006 02:34
pressure gradient boundary condition kamesh FLUENT 0 May 9, 2005 15:17


All times are GMT -4. The time now is 14:09.