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

How to derive this simple stress tensor calculation?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2010, 13:33
Default How to derive this simple stress tensor calculation?
  #1
Member
 
bearcat
Join Date: Jul 2009
Location: Ohio
Posts: 35
Rep Power: 16
bearcat is on a distinguished road
Send a message via MSN to bearcat
Most turbulence models are written in tensor expressions so we have to write out the full formulation before we can implement them. I am not very experienced in difficult tensor analysis. So can anyone explain a little about writing this term in the standard k-e model?

LHS=S_{ij}\frac{\partial U_{i}}{\partial x_{j}}=(\frac{\partial U_{i}}{\partial x_{j}}+\frac{\partial U_{j}}{\partial x_{i}})\frac{\partial U_{i}}{\partial x_{j}}

From other books, the LHS should equals RHS, which reads:

RHS=2[(\frac{\partial u}{\partial x})^{2}+(\frac{\partial v}{\partial y})^{2}+(\frac{\partial w}{\partial z})^{2}]+(\frac{\partial u}{\partial y}+\frac{\partial v}{\partial x})^{2}+( \frac{\partial u}{\partial z}+\frac{\partial w}{\partial x})^{2}+(\frac{\partial w}{\partial y}+\frac{\partial v}{\partial z})^{2}

How to get from LHS to RHS? In my understanding, for 3D domain LHS should be a 3x3 matrix as it's a product of two rank-two tensors. But RHS is a scalar. How can this happen?

Thank you very much.
bearcat is offline   Reply With Quote

Old   July 4, 2010, 14:46
Default
  #2
Administrator
 
jola's Avatar
 
Jonas Larsson
Join Date: Jan 2009
Location: Gothenburg, Sweden
Posts: 824
Rep Power: 10
jola is on a distinguished road
Send a message via MSN to jola Send a message via Skype™ to jola
Check out: http://www.cfd-online.com/Wiki/Einst...ion_convention

The LHS you have written is also a scalar and uses the Einstein summation convention
jola is offline   Reply With Quote

Old   July 4, 2010, 15:29
Default
  #3
Member
 
bearcat
Join Date: Jul 2009
Location: Ohio
Posts: 35
Rep Power: 16
bearcat is on a distinguished road
Send a message via MSN to bearcat
Quote:
Originally Posted by jola View Post
Check out: http://www.cfd-online.com/Wiki/Einst...ion_convention

The LHS you have written is also a scalar and uses the Einstein summation convention

The difficulty is that the index does not repeat in any individual term, we don't have any summation.

http://topex.ucsd.edu/geodynamics/shearer.pdf

this is about solid mechanics, but those concepts such as strain tensor and rotation tensor also apply to fluid mechanics.
bearcat is offline   Reply With Quote

Old   July 4, 2010, 18:03
Default
  #4
New Member
 
Guillaume Fournier
Join Date: Jun 2010
Posts: 3
Rep Power: 15
Guillaume_Fournier is on a distinguished road
Actually, (dui/dxj + duj/dxi)*dui/dxj = (dui/dxj)² + duj/dxi*dui/dxj

Now, you have two terms in which the indexes repeat themselves. Therefore, there is a summation on both i and j for each terms

After a few step, you will get the RHS from the LHS in your first post
Guillaume_Fournier is offline   Reply With Quote

Old   July 4, 2010, 19:27
Default
  #5
Member
 
bearcat
Join Date: Jul 2009
Location: Ohio
Posts: 35
Rep Power: 16
bearcat is on a distinguished road
Send a message via MSN to bearcat
yes, Guillaume, you're right from your direction.

On the other hand, isn't that

S_{ij}=\begin{bmatrix}
S_{11} &S_{12}  &S_{13} \\ 
S_{21} &S_{22}  &S_{23} \\ 
S_{31} &S_{32}  &S_{33} 
\end{bmatrix}=\frac{\partial U_{i} }{\partial x_{j}}+\frac{\partial U_{j}}{\partial x_{i}} =

\begin{bmatrix}
2\frac{\partial u}{\partial x} &\frac{\partial u}{\partial y}+\frac{\partial v}{\partial x}  &\frac{\partial u}{\partial z}+\frac{\partial w}{\partial x} \\ 
\frac{\partial v}{\partial x}+\frac{\partial u}{\partial y} &2\frac{\partial v}{\partial y}  &\frac{\partial v}{\partial z}+\frac{\partial w}{\partial y} \\ 
... &...  &2\frac{\partial w}{\partial z} 
\end{bmatrix} (not fully written because of Latex limit here)

and

\frac{\partial U_{i}}{\partial x_{j}}=\begin{bmatrix}
\frac{\partial u}{\partial x} &\frac{\partial u}{\partial y}  &\frac{\partial u}{\partial z} \\ 
\frac{\partial v}{\partial x} &\frac{\partial v}{\partial y}  &\frac{\partial v}{\partial z} \\ 
\frac{\partial w}{\partial x} &\frac{\partial w}{\partial y}  &\frac{\partial w}{\partial z} \\ 
\end{bmatrix}

They are all 3x3 matrices, how can their product be a scalar? Anything wrong with the above expressions?

Last edited by bearcat; July 4, 2010 at 20:00.
bearcat is offline   Reply With Quote

Old   July 5, 2010, 04:45
Default
  #6
New Member
 
Guillaume Fournier
Join Date: Jun 2010
Posts: 3
Rep Power: 15
Guillaume_Fournier is on a distinguished road
I think you're right in the way you wrote the expressions of S_{ij} and \frac{\partial u_i}{\partial x_j}

However, you're mistaken in the fact that S_{ij}\frac{\partial u_i}{\partial x_j} is not only a product of matrices when using Einstein's convention: you have to sum over i and j, which corresponds to computing the trace of the matrix.

Let me show you. I won't develop the Stress tensor, and I will call each of its components S11, S12....

Let's start with the Einstein's summation convention

S_{ij}\frac{\partial u_i}{\partial x_j} = S_{11}\frac{\partial u_1}{\partial x_1} + S_{12}\frac{\partial u_1}{\partial x_2} + S_{13}\frac{\partial u_1}{\partial x_3} + S_{21}\frac{\partial u_2}{\partial x_1}+ S_{22}\frac{\partial u_2}{\partial x_2} +  S_{23}\frac{\partial u_2}{\partial x_3} + S_{31}\frac{\partial u_3}{\partial x_1} + S_{32}\frac{\partial u_3}{\partial x_2} +  S_{33}\frac{\partial u_3}{\partial x_3}

That will eventually lead to the RHS term you wrote in your first message

Without the convention, it would be a classical matrix product between two 3x3 matrices, yielding a 3x3 matrix as well. If we call it M, we have

M_{11} =S_{11}\frac{\partial u_1}{\partial x_1}+ S_{12}\frac{\partial u_2}{\partial x_1} + S_{13}\frac{\partial u_3}{\partial x_1}

M_{12} =S_{11}\frac{\partial u_1}{\partial x_2}+  S_{12}\frac{\partial u_2}{\partial x_2} + S_{13}\frac{\partial  u_3}{\partial x_2}

M_{13} =S_{11}\frac{\partial u_1}{\partial x_3}+   S_{12}\frac{\partial u_2}{\partial x_3} + S_{13}\frac{\partial   u_3}{\partial x_3}

and so on for the next lines.

We can notice that the RHS term only contains the sum of the diagonal terms of M. Therefore, if you prefer to use the matrix product rather than the Einstein convention to compute and develop your term, you just have to remember that this convention is equivalent to the computation of the trace of the resultant matrix

Here we are. I hope it will help a little

Cheers

Guillaume

Last edited by Guillaume_Fournier; July 5, 2010 at 05:42.
Guillaume_Fournier is offline   Reply With Quote

Old   July 5, 2010, 14:34
Default
  #7
Member
 
bearcat
Join Date: Jul 2009
Location: Ohio
Posts: 35
Rep Power: 16
bearcat is on a distinguished road
Send a message via MSN to bearcat
Thank you for your explanation. This is very helpful discussion.

Quote:
Originally Posted by Guillaume_Fournier View Post
I think you're right in the way you wrote the expressions of S_{ij} and \frac{\partial u_i}{\partial x_j}

However, you're mistaken in the fact that S_{ij}\frac{\partial u_i}{\partial x_j} is not only a product of matrices when using Einstein's convention: you have to sum over i and j, which corresponds to computing the trace of the matrix.

Let me show you. I won't develop the Stress tensor, and I will call each of its components S11, S12....

Let's start with the Einstein's summation convention

S_{ij}\frac{\partial u_i}{\partial x_j} = S_{11}\frac{\partial u_1}{\partial x_1} + S_{12}\frac{\partial u_1}{\partial x_2} + S_{13}\frac{\partial u_1}{\partial x_3} + S_{21}\frac{\partial u_2}{\partial x_1}+ S_{22}\frac{\partial u_2}{\partial x_2} +  S_{23}\frac{\partial u_2}{\partial x_3} + S_{31}\frac{\partial u_3}{\partial x_1} + S_{32}\frac{\partial u_3}{\partial x_2} +  S_{33}\frac{\partial u_3}{\partial x_3}

That will eventually lead to the RHS term you wrote in your first message

Without the convention, it would be a classical matrix product between two 3x3 matrices, yielding a 3x3 matrix as well. If we call it M, we have

M_{11} =S_{11}\frac{\partial u_1}{\partial x_1}+ S_{12}\frac{\partial u_2}{\partial x_1} + S_{13}\frac{\partial u_3}{\partial x_1}

M_{12} =S_{11}\frac{\partial u_1}{\partial x_2}+  S_{12}\frac{\partial u_2}{\partial x_2} + S_{13}\frac{\partial  u_3}{\partial x_2}

M_{13} =S_{11}\frac{\partial u_1}{\partial x_3}+   S_{12}\frac{\partial u_2}{\partial x_3} + S_{13}\frac{\partial   u_3}{\partial x_3}

and so on for the next lines.

We can notice that the RHS term only contains the sum of the diagonal terms of M. Therefore, if you prefer to use the matrix product rather than the Einstein convention to compute and develop your term, you just have to remember that this convention is equivalent to the computation of the trace of the resultant matrix

Here we are. I hope it will help a little

Cheers

Guillaume
bearcat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Simple 1D Stress FE Model Jonny6001 Main CFD Forum 1 March 25, 2010 06:22
1D thermal stress problem simple barrodbeam newsboost OpenFOAM Running, Solving & CFD 3 January 2, 2009 16:12
Questions about the Reynolds stress model empirer2002 Main CFD Forum 1 January 5, 2006 08:37
shear stress scalar definitions? Novak Elliott CFX 0 April 6, 2003 02:45
What is the detail definition of wall shear stress zjm FLUENT 0 January 2, 2002 08:43


All times are GMT -4. The time now is 04:15.