CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

The directionMixed Boundary Condition

Register Blogs Community New Posts Updated Threads Search

In this blog, quick reference notes about OpenFOAM are posted in a form of a summary to address a specific topic per post.
Rate this Entry

The directionMixed Boundary Condition

Posted June 7, 2012 at 11:53 by Hisham
Updated June 7, 2012 at 14:45 by Hisham

A mixed boundary condition is a combination of a fixedValue (Drichilet) and a fixedGradient (Neumann) boundaries determined by a fraction value. When fraction = 1, the BC is fixedValue and when it is set to zero the BC is fixedGradient. Values in between calculate a value in between (see code).

The directionMixed BC allows changing the fraction value for different directions. Assuming a plane-strain stress analysis that needs fixation in X-direction (Dx = 0) and free Y-direction (zeroGradient) for the displacement. Note that the Z-direction is irrelevant. The BC would look like:
Quote:
PatchName
{
type directionMixed;
refValue uniform (0 0 0);
refGradient uniform (0 0 0);
valueFraction uniform (1 0 0 0 0 1);
}
The valueFraction has one rank higher than the variable (so as the gradient ). In this case it is a symmTensor [xx xy xz yy yz zz] because the variable is a vector. The refGradient is used for all components. The Left patch in this image was set to the aforementioned BC configurations and the top patch has a fixedValue disp.


Reference: http://www.cfd-online.com/Forums/ope...-mixed-bc.html
Posted in Uncategorized
Views 1782 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0

Comments

 

All times are GMT -4. The time now is 16:51.