For boundary conditions combining roller boundary and enforced displacement

Hi FF++'s developers and users.

Suppose the boundary condition is such that one side of a square is pulled along the x-axis in the right direction for a unit length and is not enforced along the y-axis on that side.
If the two sides of the square are parallel to both the x and y axes, this should simply require a enforced displacement in the x axis direction only (the y axis direction is free).
Now, how would one implement a forced displacement of a square so that one side of the square is along a straight line at an angle of 45 degrees?

I would like some advice on this.
Thank you in advance.
Ayataka

I think that the BC could be
u\cdot W=1, and \sigma N-(\sigma N)\cdot W\ W=0 on \Gamma,
Where W is a unitary vector defined on the boundary (direction of traction), possibly not constant. Here u is the velocity vector, \sigma is the stress tensor, N is the normal to the boundary. The second condition can be also written (\sigma N)\times W=0.
Next, if your momentum equation is -\mathop{\rm div}\sigma=f, the variational formulation would be u\cdot W=1 on \Gamma,
\int_\Omega\sigma:Dv-\int_\Omega f\cdot v=0, for all test v such that v\cdot W=0 on \Gamma.
Here Dv is the symmetric gradient Dv=(\nabla v+(\nabla v)^t)/2.

1 Like

Dear François Bouchut

Thank you very much for your reply.
I spent a few days considering it, but could not find out the essentials.
Is u a displacement?
We can find the unitary vector W whose outer product with σN is zero (i.e. W and σNare parallel) and set the Dirichlet condition (u=W^-1) on the boundary gamma.

Could you please show us FF++ sample code to perform this analysis?

Sincereley
Ayataka

Dear Ayataka,
In my statements, u is the velocity field, not the displacement. I was considering an imposed velocity 1 in the direction of W, u\cdot W=1. I realize that it is not what you asked for, you stated an imposed displacement. Thus it has to be modified.
Anyway to complete the equations we need some constitutive relations, characterizing the material. In general it could be elasto-visco-plastic, compressible or not. If elasticity is dominant (like steel), considering equations on the displacement is mandatory. The equations can be simple if you consider small deformations, or complicate if you want to consider large deformations. Are you thinking of Hooke’s law for elastic small deformations?
There is an example here Normal boundary condition - #12 by k-matsushima-19

1 Like

Dear François Bouchut

Thank you very much for your reply and your patients.
I consider employing the linear easticity (Hooke’s law).

Referring the topic you gave me , Normal boundary condition - #12 by k-matsushima-19
is this how I should do it?

Add a penalty term to prevent movement normal to the roller boundary?..

Sincereley
Ayataka

There is also an example explained in the Free Fem documentation p.65

Adapting it to your case gives
elasticity.edp (874 Bytes)

Dear François Bouchut

Thank you for your reply and coding the sample!
I have created the code as attached, using your reference code and previous examples.
Have I done what you intended me to do???

Sincereley

250203_Slide and Roller B.C…edp (2.3 KB)

Alternatively, can we give a condition on the right boundary such that u N = f(y)?
Where, f(y) = 1./sqrt(2.)*(1.-y), N is unit vector at 45° diagonally to the upper right.

Dear François Bouchut

I apologise again and again.
Here’s the thing.

Sincereley
Ayataka
250203_Slide and Roller B.C._rev.edp (2.5 KB)

Dear François Bouchut and FF++ users

I’d like to apply the code developed on the basis of the above discussion to a hexagon.
Assuming a linear elastic body, we consider a boundary condition where the right half of the regular hexagon is under tension with a strain of 1 (see attached image 1).
However, the result is as shown in the attached image 2, where a mesh inversion occurs near the corners of the hexagon.
It may be possible to suppress this if a boundary condition is given at this corner point where the vertical displacement is zero…
If you have any good ideas, please let me know.



250204_Hexagon.edp (4.2 KB)

Dear Ayataka,
Your first code (rectangle) looks correct. For the hexagon I don’t know, I don’t understand why there could be a difference in terms of behaviour with respect to the rectangle.

1 Like

Dear François Bouchut

Thank you very much for your answers to my questions.
Is there something mathematically wrong with a hexagon …?
I will continue trial and error …

Sincereley
Ayataka