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

Tensor/Einstein Notation - Multiplication Rule

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 21, 2014, 12:21
Unhappy Tensor/Einstein Notation - Multiplication Rule
  #1
New Member
 
Jack Chilvers
Join Date: Dec 2013
Location: St Neots, Cambridgeshire
Posts: 12
Rep Power: 12
jackchilvers is on a distinguished road
Dear all,

I am having an issue getting my head around the tensor/Einstein notation with regards to the multiplication of three tensors within a transport equation. For the purposes of code implementation, I would like to expand out the notation to make terms explicitly clear. For example, if you have two tensors multiplied like so:


A_{ij}B_{ik}A_{jk}

where A and B are 3x3 matrices, how would one go about expanding these terms? Your help is much appreciated (even a reference text on the subject at hand).

Jack
jackchilvers is offline   Reply With Quote

Old   June 21, 2014, 12:48
Default
  #2
Senior Member
 
truffaldino's Avatar
 
Join Date: Jan 2011
Posts: 249
Blog Entries: 5
Rep Power: 17
truffaldino is on a distinguished road
a[1,2]*b[1,3]*a[2,3]+a[2,1]*b[2,2]*a[1,2]+a[1,1]*b[1,3]*a[1,3]+
a[3,3]*b[3,2]*a[3,2]+a[3,3]^2*b[3,3]+a[3,2]*b[3,2]*a[2,2]+
a[1,2]*b[1,2]*a[2,2]+a[1,3]*b[1,1]*a[3,1]+a[3,2]*b[3,1]*a[2,1]+
a[2,3]*b[2,1]*a[3,1]+a[2,1]*b[2,1]*a[1,1]+a[1,3]*b[1,2]*a[3,2]+
a[1,1]^2*b[1,1]+a[1,1]*b[1,2]*a[1,2]+a[2,2]*b[2,1]*a[2,1]+
a[1,2]*b[1,1]*a[2,1]+a[2,2]*b[2,3]*a[2,3]+a[2,1]*b[2,3]*a[1,3]+
a[3,2]*b[3,3]*a[2,3]+a[3,1]*b[3,1]*a[1,1]+a[3,3]*b[3,1]*a[3,1]+
a[2,2]^2*b[2,2]+a[2,3]*b[2,2]*a[3,2]+a[3,1]*b[3,3]*a[1,3]+
a[2,3]*b[2,3]*a[3,3]+a[3,1]*b[3,2]*a[1,2]+a[1,3]*b[1,3]*a[3,3]
truffaldino is offline   Reply With Quote

Old   June 21, 2014, 12:59
Default
  #3
New Member
 
Jack Chilvers
Join Date: Dec 2013
Location: St Neots, Cambridgeshire
Posts: 12
Rep Power: 12
jackchilvers is on a distinguished road
Very comprehensive, thank you very much truffaldino!
jackchilvers is offline   Reply With Quote

Reply

Tags
einstein, mathematics, notation, tensors


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
[waves2Foam] Waves2Foam Related Topics ngj OpenFOAM Community Contributions 660 August 20, 2018 12:39
[swak4Foam] Installing swak4Foam to OpenFOAM in mac Kaquesang OpenFOAM Community Contributions 22 January 21, 2013 11:51
compiling firefoam Farshad_Noravesh OpenFOAM 27 December 24, 2012 04:21
Notation Standards and Uniformity yNot CFD-Wiki 0 April 5, 2008 15:00
gcc and executable file from Mac to Linux simone Marras Main CFD Forum 0 April 8, 2007 15:49


All times are GMT -4. The time now is 01:33.