|September 26, 2007, 15:23||
I have a scalar field for whic
Join Date: Mar 2009
Location: Ottawa, Ontario, Canada
Posts: 37Rep Power: 8
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.
|Thread||Thread Starter||Forum||Replies||Last Post|
|which boundary is similar to 'Opening' of CFX||Hao||FLUENT||2||October 18, 2009 21: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 14:17|