Difference between revisions of "Sig Turbomachinery MRF Library"

From OpenFOAMWiki
(References: changed for the up to date formulation)
(added new chapter for the shear stress tensor)
Line 22: Line 22:
  
 
<math> \frac{\partial\vec{b}}{\partial t} + \vec{c} \bullet \nabla \vec{b} = \frac{\partial^\prime\vec{b}}{\partial t} + \vec{w} \bullet \nabla \vec{b} + \vec{\omega} \times \vec{b}  \qquad (5)</math>
 
<math> \frac{\partial\vec{b}}{\partial t} + \vec{c} \bullet \nabla \vec{b} = \frac{\partial^\prime\vec{b}}{\partial t} + \vec{w} \bullet \nabla \vec{b} + \vec{\omega} \times \vec{b}  \qquad (5)</math>
 +
 +
With the relationship of eq. 14 this yields to
 +
 +
<math> \frac{\partial\vec{b}}{\partial t} = \frac{\partial^\prime\vec{b}}{\partial t} - \vec{u} \bullet \nabla \vec{b} + \vec{\omega} \times \vec{b}</math>
  
 
Additional, the following identities are valid with any vector <math> \vec{a} </math> and a scalar <math> \alpha </math> [http://en.wikipedia.org/wiki/Dyadic_product#Identities]
 
Additional, the following identities are valid with any vector <math> \vec{a} </math> and a scalar <math> \alpha </math> [http://en.wikipedia.org/wiki/Dyadic_product#Identities]
Line 121: Line 125:
  
 
<math> \vec{c} \otimes \vec{w} \boldsymbol{\neq} \vec{w} \otimes \vec{c}</math>
 
<math> \vec{c} \otimes \vec{w} \boldsymbol{\neq} \vec{w} \otimes \vec{c}</math>
 +
 +
== Shear Stress Tensor ==
 +
 +
  
 
== References ==
 
== References ==
 
* FLUENT 6.3 User's Guide; [http://my.fit.edu/itresources/manuals/fluent6.3/help/html/ug/node416.htm "Equations for a Rotating Reference Frame"]; Chap. 10.2.2
 
* FLUENT 6.3 User's Guide; [http://my.fit.edu/itresources/manuals/fluent6.3/help/html/ug/node416.htm "Equations for a Rotating Reference Frame"]; Chap. 10.2.2

Revision as of 15:50, 7 March 2010

1 Momentum Equation

1.1 Some mathematical useful identities

The first time derivation of any vector  \vec{b} formulated in the absolute and relative frame of reference, according to [1], where  \vec{\omega} is the angular frequency between these two coordinate systems. Any quantity with an ' is related to the relative frame of reference.

 \frac{d \vec{b}}{d t} = \frac{d^\prime \vec{b}}{d t}+\vec{\omega} \times \vec{b} \qquad (1)

If  \nabla is a vector operator, then it is valid

 \vec{\nabla} \equiv \vec{\nabla}^\prime  \qquad (2)

Therefor the total time derivation of any vector  \vec{b} can be split off into a local term and a convective term. In the absolute frame of reference it gives with the absolute velocity  \vec{c}

 \frac{d\vec{b}}{d t} = \frac{\partial\vec{b}}{\partial t} + \vec{c} \bullet \nabla \vec{b}  \qquad (3)

And in the relative frame of reference it gives with the relative velocity  \vec{w}

 \frac{d^\prime\vec{b}}{d t} = \frac{\partial^\prime\vec{b}}{\partial t} + \vec{w} \bullet \nabla^\prime \vec{b}  \qquad (4)

If we insert eq. 2-4 into the 1, one can write

 \frac{\partial\vec{b}}{\partial t} + \vec{c} \bullet \nabla \vec{b} = \frac{\partial^\prime\vec{b}}{\partial t} + \vec{w} \bullet \nabla \vec{b} + \vec{\omega} \times \vec{b}  \qquad (5)

With the relationship of eq. 14 this yields to

 \frac{\partial\vec{b}}{\partial t} = \frac{\partial^\prime\vec{b}}{\partial t} - \vec{u} \bullet \nabla \vec{b} + \vec{\omega} \times \vec{b}

Additional, the following identities are valid with any vector  \vec{a} and a scalar  \alpha [2]

 (\alpha \vec{a}) \otimes \vec{b} = \vec{a} \otimes (\alpha \vec{b}) = \alpha (\vec{a} \otimes \vec{b})  \qquad (6)

and [3]

 {\nabla} \bullet \left( {\vec{a} \otimes \vec{b}}\right)  = \left( {\nabla}\bullet{\vec{a}} \right) \vec{b} + \vec{a} \bullet {\nabla}{\vec{b}}  \qquad (7)

and [4]

 {\nabla} \bullet (\vec{a} \times \vec{b})=\vec{b} \bullet ({\nabla} \times \vec{a})-\vec{a} \bullet ({\nabla} \times \vec{b})  \qquad (8)

1.2 Derivation

We are now deriving the momentum equation in the relative coordinate system but formulated with the absolute velocity.

If we use eq. 6, then it can be easily shown, that the following statement is valid

 \left( \varrho \vec{c} \right) \otimes \vec{c} =  \vec{c} \otimes \left( \varrho \vec{c} \right)  \qquad (9)

If we use the solution from eq. 9, and apply them to eq. 7, the following can be shown


\begin{array}{rcl}
\nabla \bullet  \left[ \left( \varrho \vec{c} \right) \otimes \vec{c} \right] & = &
\left[\nabla \bullet \left( \varrho \vec{c} \right)\right] \vec{c} + \left( \varrho \vec{c} \right) \bullet \nabla \vec{c} \qquad (10)\\
 =  \nabla \bullet \left[ \vec{c} \otimes \left( \varrho \vec{c} \right) \right] & = &
\left[\nabla \bullet \vec{c} \right] \left( \varrho \vec{c} \right) +  \vec{c} \bullet \nabla \left( \varrho \vec{c} \right) \qquad (11)
\end{array}

Furthermore, if we apply  \vec{b} = \varrho \vec{c} in eq. 5, this gives us

\dfrac{\partial \left( \varrho \vec{c} \right)}{\partial t} + \vec{c} \bullet \nabla \left( \varrho \vec{c} \right) = \frac{\partial^\prime\left( \varrho \vec{c} \right)}{\partial t} + \vec{w} \bullet \nabla \left( \varrho \vec{c} \right) + \vec{\omega} \times \left( \varrho \vec{c} \right) \qquad (12)

Now we add the first term on the right hand side of eq. 11  \left[\nabla \bullet \vec{c} \right] \left( \varrho \vec{c} \right) to eq. 12 and apply furthermore eq. 11. Then it follows


\begin{array}{rcl}
\dfrac{\partial \left( \varrho \vec{c} \right)}{\partial t} + \left[\nabla \bullet \vec{c} \right] \left( \varrho \vec{c} \right) + \vec{c} \bullet \nabla \left( \varrho \vec{c} \right) 
& = & \dfrac{\partial^\prime\left( \varrho \vec{c} \right)}{\partial t} + \vec{w} \bullet \nabla \left( \varrho \vec{c} \right) + \vec{\omega} \times \left( \varrho \vec{c} \right) + \left[\nabla \bullet \vec{c} \right] \left( \varrho \vec{c} \right) \\
= \dfrac{\partial \left( \varrho \vec{c} \right)}{\partial t} + \nabla \bullet  \left[ \left( \varrho \vec{c} \right) \otimes \vec{c} \right] & = & \dfrac{\partial^\prime\left( \varrho \vec{c} \right)}{\partial t} + \vec{\omega} \times \left( \varrho \vec{c} \right) + \underbrace{\vec{w} \bullet \nabla \left( \varrho \vec{c} \right) + \left[\nabla \bullet \vec{c} \right] \left( \varrho \vec{c} \right)}_{A1}  \\
\end{array} \qquad (13)

Consider, that the origin of the absolute and relative frame of reference or coincident. Then it is valid to say, that the position vector is equal in both systems  \vec{r} =\vec{r}^\prime . But, be aware, the components of these vectors are not equal, because they are defined in different base systems. If we now use  \vec{b} =\vec{r}^\prime in eq. 1, it gives usthe well known relation between the absolute and relative velocity.


\begin{array}{rcl}
\dfrac{d \vec{r}^\prime}{d t} = \dfrac{d \vec{r}}{d t} & = & \dfrac{d^\prime \vec{r}^\prime}{d t} + \vec{\omega} \times \vec{r}^\prime \\
= \vec{c} & = & \vec{w} + \left( \vec{\omega} \times \vec{r}^\prime \right) = \vec{w} + \vec{u} 
\end{array}\qquad (14)

If we now use the solution from eq. 14 and apply this to the first term on the right hand side of eq. 11, the following is valid


\begin{array}{rcl}
\left[\nabla \bullet \vec{c} \right] \left( \varrho \vec{c} \right)
& = & \left[\nabla \bullet \left( \vec{w}+\vec{u} \right)  \right] \left( \varrho \vec{c} \right) \\
& = &  \left[\nabla \bullet \vec{w} \right] \left( \varrho \vec{c} \right) + \underbrace{\left[\nabla \bullet \left( \vec{\omega} \times \vec{r}^\prime \right)\right]}_{A2}  \left( \varrho \vec{c} \right)
\end{array}\qquad (15)

If we now apply eq. 8 to the term A2 of eq. 15, we get

 \nabla \bullet \left( \vec{\omega} \times \vec{r}^\prime \right) = \vec{r}^\prime \bullet \underbrace{({\nabla} \times \vec{\omega})}_{0} - \vec{\omega} \bullet \underbrace{({\nabla} \times \vec{r}^\prime)}_{0} = 0 \qquad (16)

If you consider for example \vec{\omega} = (0, 0, \omega)^T and \vec{r}^\prime = (x^\prime, y^\prime, z^\prime)^T in cartesian coordinates and apply the cross product component-by-component, then the result from eq. 16 maybe become a little bit more clearer. With eq. 16, eq. 15 becomes

 \left[\nabla \bullet \vec{c} \right] \left( \varrho \vec{c} \right) = \left[\nabla \bullet \vec{w} \right] \left( \varrho \vec{c} \right) \qquad (17)

Now with eq. 17 and eq. 7 term A1 from eq. 13 writes to


\begin{array}{rcl}
\left[\nabla \bullet \vec{c} \right] \left( \varrho \vec{c} \right) + \vec{w} \bullet \nabla \left( \varrho \vec{c} \right) & = & \left[\nabla \bullet \vec{w} \right] \left( \varrho \vec{c} \right) + \vec{w} \bullet \nabla \left( \varrho \vec{c} \right) \\
& = & \nabla \bullet  \left[ \vec{w} \otimes \left( \varrho \vec{c} \right) \right]
\end{array}\qquad (18)

If we now insert eq. 18 into eq. 13, we get


\dfrac{\partial \left( \varrho \vec{c} \right)}{\partial t} + \nabla \bullet  \left[ \left( \varrho \vec{c} \right) \otimes \vec{c} \right] = \dfrac{\partial^\prime\left( \varrho \vec{c} \right)}{\partial t} + \nabla \bullet  \left[ \vec{w}  \otimes \left( \varrho \vec{c} \right) \right] +
\vec{\omega} \times \left( \varrho \vec{c} \right)\qquad (19)

The momentum equation of an inertial coordinate system is equal to


\dfrac{\partial \varrho \vec{c}}{\partial t} + \nabla \bullet \left( \varrho \vec{c} \otimes \vec{c}\right)
= -\nabla p + \nabla \bullet \tau + \varrho \vec{k}\qquad (20)

If we now apply eq. 19 to eq. 20 we get the momentum equation in a relative coordinate system, see also but not limited to ref. 1, 2, 3


\dfrac{\partial^\prime \left( \varrho \vec{c}\right)}{\partial t} + \nabla \bullet \left( \varrho \vec{w} \otimes \vec{c} \right) + \vec{\omega} \times \left( \varrho \vec{c} \right)
= -\nabla p + \nabla \bullet \tau + \varrho \vec{k}\qquad (21)

Furthermore it can be shown that the tensor 2. rank from the dyadic product of \vec{c} \otimes \vec{w} is not symmetric, if you write it down component-by-component in cartesian coordinates. So that it must be valid to write

 \vec{c} \otimes \vec{w} \boldsymbol{\neq} \vec{w} \otimes \vec{c}

2 Shear Stress Tensor

3 References