- **OpenFOAM**
(*http://www.cfd-online.com/Forums/openfoam/*)

- - **Mathematical representation of fixedDisplacementZeroShear boundary condition**
(*http://www.cfd-online.com/Forums/openfoam/118159-mathematical-representation-fixeddisplacementzeroshear-boundary-condition.html*)

Mathematical representation of fixedDisplacementZeroShear boundary condition1 Attachment(s)
Hello all,
I am using fixedDisplacementZeroShear (in OpenFOAM-ext) for uniaxial compression loading problem. In the problem, there is a 3D solid cube geometry which is fixed at the bottom surface, where I use fixedDisplacementZeroShear boundary condition and traction force on the top surface. As I found fixedDisplacementZeroShear boundary condition is type of Directionmixed boundary condition which has fixed value and fixed gradient i.e. combination of Neumann and Dirichlet boundary conditions. I am using this boundary condition in the bottom surface of solid cube. I am wondering about mathematical representation of fixedDisplacementZeroShear boundary condition. Please find the mathematical representation of fixedDisplacementZeroShear boundary condition as attachment. if l = width= length of the cube . Am I representing it correctly? I'll be very grateful if one can give me advice. Thank you |

Hi Sangeeta,
If your boundary condition is this: Code:
`type fixedDisplacementZeroShear;` n,then the normal displacement of the patch Un is set to n & U, where U is (4 5 6) and '&' is a dot product.The shear components on the patch are then set such that the shear traction is zero (so essentially zero gradient). For example, if your patch is flat and has the unit normal (1 0 0), then the x-displacement Ux (normal displacement) is set to (1 0 0) & ( 4 5 6) which is equal to 4. The shear gradients are then zero, dUy/dx == dUz/dx == 0. This means on the patch we know that: Ux = 4, sigma_xy = sigma_xz = 0. And we don't know anything about the other sigma components. Hope it helps, Philip |

Hi Philip,
Thank you so much for the explanation. Actually I am using following code at bottom surface: type fixedDisplacementZeroShear; I am not mentioning the value uniform (0 0 0), but still getting the answer. Does it is okay to not to mention value uniform in case of fixed surface (i.e fixed displacement without shear)? Best regards, Sangeeta |

Hi Sangeeta,
Hmnn actually I think fixedDisplacementZeroShear was meant to give an error if the value is not specified - I suppose it assumes a value of ( 0 0 0 ) if the value is not specified so it is probably OK. To be safe, I would specify "value uniform ( 0 0 0 );". Best regards, Philip |

Hi Philip,
Thank you so very much for the information! Best regards, Sangeeta |

Hi Philip,
I have one more concern about boundary condition. As you mentioned in the http://www.cfd-online.com/Forums/ope...structure.html post: "fixedDisplacementZeroShear which applies a displacement in the normal direction and enforces zero shear stress in the tangential direction (equivalent to directionMixed). " It seems that fixedDisplacementZeroShear boundary condition works as symmetry boundary condition works? When I am using Symmetry and fixedDisplacementZeroShear boundary conditions to run microstructure, fixedDisplacementZeroShear is working well and giving converge solution but symmetry condition is giving diverge solution. I do not know why this is happening. I also checked my geometry and it is okay. As I know symmetry boundary condition assumes mirror symmetry of the geometry and shear stresses are zero in the plane of symmetry. What is the different between fixedDisplacementZeroShear and symmetry conditions? Best regards, Sangeeta |

Sangeeta,
Yes fixedDisplacementZeroShear should work as a symmetry plane. One difference between them is that the shear gradients are always zero for symmetry plane and never changed, but they shear gradient are constantly being changed in fixedDisplacementZeroShear (in updateCoeffs functions) to enforce the traction to be zero -> this must help convergence in your case. Actually on a related note, I just realised non-orthogonal correction has not be added to fixedDisplacementZeroShear, this will improve results and possibly convergence. I will added the correction and send it to you when I have some free time. Philip |

Hi Philip,
Thank you for the quick reply and help! I appreciate it! Best regards, Sangeeta |

Hi Philip,
I have run some more problems with symmetry and fixedDisplacementZeroShear boundary conditions to check the difference between these two. For simple dense geometries both conditions give same answers but not for microstructure (as I mentioned previously). As you mentioned that symmetry condition always consider shear gradient to be zero that mean it also enforces traction to be zero. As you mentioned: "shear gradient are constantly being changed in fixedDisplacementZeroShear (in updateCoeffs functions) to enforce the traction to be zero" Does it mean this boundary condition calculates new shear stress values (with some value not zero) in each step and then use the new calculated value to enforce the traction to be zero? As I understand if shear gradient have some value then it will change traction force with some value not zero (based on formula Traction = sigma . n). Best regards, Sangeeta |

1 Attachment(s)
Hi Sangeeta,
probably the easiest way to check is to look at the tractions on the surface. I have attached a post processing utility called surfaceTractions which reads in the stress tensor sigma and calculate three tractions fields for visualisation in ParaView: totalTraction, shearTraction and normalTraction.Check the shear tractions for both of your cases and see which is zero (or closest to zero). Philip |

Hi Philip,
Thank you for the valuable suggestions. I have run cases for both the boundary conditions and checked it for shear traction values. I am emailing these cases to you because files are larger in size and I cannot attach these here. Best regards, Sangeeta |

All times are GMT -4. The time now is 08:22. |