|
[Sponsors] |
Bug in the programmer's guide: divergence of a tensor field |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 17, 2012, 12:01 |
Bug in the programmer's guide: divergence of a tensor field
|
#1 |
Member
Sebastian Saegeler
Join Date: Nov 2009
Location: Munich
Posts: 70
Rep Power: 17 |
Hi everybody!
I wonder if there is a bug in the programmer's guide of OpenFOAM. In chapter 2.1.2 the divergence of a tensor field is given as In my opinion this is wrong. After the convention in chapter 1.3.1 (inner product) it should be instead Can anybody confirm that or do I make something wrong here? How is the implementation, does anybody know? Sebastian |
|
July 17, 2012, 15:54 |
|
#2 |
Senior Member
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23 |
It depends on if you multiply a row vector by a tensor or a tensor by a column vector. We want the tensor to act on the vector. What you've written should be:
__________________
Laurence R. McGlashan :: Website |
|
July 17, 2012, 16:35 |
|
#3 |
Member
Sebastian Saegeler
Join Date: Nov 2009
Location: Munich
Posts: 70
Rep Power: 17 |
||
July 18, 2012, 03:38 |
|
#5 |
Member
Sebastian Saegeler
Join Date: Nov 2009
Location: Munich
Posts: 70
Rep Power: 17 |
Last edited by sebastian; July 19, 2012 at 10:24. |
|
January 18, 2013, 23:03 |
error in wikipedia
|
#7 |
New Member
heidi
Join Date: Jan 2013
Posts: 2
Rep Power: 0 |
Hey, the following eq from wikipedia posted higher up in this thread has a typo:
"When I look up for the definition of the divergence of a tensor field, on wikipedia for instance this is " and further it is not consistent with the other parts of this thread - it should be Tik not Tki . Also there are some typos in the matrices you put up, but they are not too hard to figure out. And the overall thrust of the thread is correct. |
|
January 18, 2013, 23:05 |
|
#8 |
New Member
heidi
Join Date: Jan 2013
Posts: 2
Rep Power: 0 |
that is,
|
|
September 7, 2013, 07:09 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
FYI: I've consolidated this information here: http://openfoamwiki.net/index.php/Op...s_Guide_Errata
Feel free to add to this wiki page. By the way, the issue reported on this thread has already been fixed on the Programmer's Guide since OpenFOAM 2.2.0, at least from what I could find. |
|
June 9, 2016, 15:21 |
|
#10 |
New Member
Gustavo
Join Date: Jun 2016
Posts: 1
Rep Power: 0 |
I found several books and papers about tensors. Most of them are showing this:
Capture.JPG and Capture2.JPG I have implemented an algorithm in python to compute the tensor divergence to a 3d tensor field. I am not sure if my implementation is correct. Does any one have some tensor field and its divergence to compare? It could be a .txt, .mat, .py, etc. Thank you |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Programmers Guide Bugs | jens_klostermann | OpenFOAM Bugs | 2 | September 7, 2013 06:44 |
In Programmer's Guide p. 40 | makaveli_lcf | OpenFOAM Bugs | 3 | September 7, 2013 06:41 |
Quarter Burner mesh with periosic condition | SamCanuck | FLUENT | 2 | August 31, 2011 12:34 |
Bug in the Programmerbs Guide OF15 | ivan_cozza | OpenFOAM Bugs | 0 | October 19, 2008 06:15 |
Fluent 5.5. What the differences with fluent 5.3?? | confused | FLUENT | 2 | July 29, 2001 22:58 |