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

Einestine summation - help

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 23, 2007, 07:11
Default Einestine summation - help
  #1
taw
Guest
 
Posts: n/a
Can someone explain to me which one of this is right for;

d(u_i u_i)/dt = nu(d(u_i)/d(x_j))^2

for x - momentum

is it

A. d(u_1)^2/dt = nu(d(u_1)/d(x_1) + d(u_1)/d(x_2))^2

or

B. d(u_1)^2/dt = nu(d(u_1)/d(x_1))^2 + (d(u_1)/d(x_2))^2.

I am really confused, please help.

With regards,

Tilek
  Reply With Quote

Old   August 23, 2007, 09:45
Default Re: Einstein summation - help
  #2
JWilliams
Guest
 
Posts: n/a
With Einstein Summation, you will only sum over the repeated index (indices), (i.e. 'i' in this case)

For X-momentum (j=1) you would sum the i's (i=1,2,3)

But since this sounds like a homework assignment I won't put up the answer just yet.
  Reply With Quote

Old   August 23, 2007, 22:14
Default Re: Einestine summation - help
  #3
taw
Guest
 
Posts: n/a
Yeah thanks for the comment and I still look forward to your feedback.

A colleague here said it is (A). But I saw esp. the RHS to be possibly written as nu(d(u_i)/d(x_j))(d(u_i)/d(x_j)) in which case (B) looks the case applicable here. In my first thought also; if I have to write it in code (like Fortran), with a do loop, it sounds to be case (B). But in the line of the rule "sum first the repeated indices", it would look case (A) applies. I think this is a simple problem for those in turbulence research, which I am struggling right now. I appreciate feedback still.

Cheers, TAW
  Reply With Quote

Old   August 24, 2007, 09:47
Default Re: Einestine summation - help
  #4
JWilliams
Guest
 
Posts: n/a
Well for strictly ESN (Einstein Summation Notation), both are wrong. You will not sum the J's, since it is not a repeated index, so leave the J as is.

And if you want just i=1, just substitute in. This isn't really ESN if you just want i=1.
  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
Span-wise summation of Fluent 3D data ayannath23 FLUENT 2 May 26, 2011 17:36
How to control the time step and iteration for summation? josh_z Fluent UDF and Scheme Programming 2 February 23, 2010 11:02
How to get cumulative summation of one field lin OpenFOAM Running, Solving & CFD 7 May 17, 2009 10:52
Einstein's summation convention Lionel S. Main CFD Forum 2 February 23, 2007 16:28
How to get summation of one variable at x directio zhou1 FLUENT 3 October 21, 2003 11:17


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