|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Sebastian Saegeler
Join Date: Nov 2009
Location: Munich
Posts: 70
Rep Power: 5 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 345
Rep Power: 12 ![]() |
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 |
|
|
|
|
|
|
|
|
#3 |
|
Member
Sebastian Saegeler
Join Date: Nov 2009
Location: Munich
Posts: 70
Rep Power: 5 ![]() |
||
|
|
|
|
|
|
|
#5 |
|
Member
Sebastian Saegeler
Join Date: Nov 2009
Location: Munich
Posts: 70
Rep Power: 5 ![]() |
Last edited by sebastian; July 19, 2012 at 09:24. |
|
|
|
|
|
|
|
|
#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. |
|
|
|
|
|
|
|
|
#8 |
|
New Member
heidi
Join Date: Jan 2013
Posts: 2
Rep Power: 0 ![]() |
that is,
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Quarter Burner mesh with periosic condition | SamCanuck | FLUENT | 2 | August 31, 2011 11:34 |
| In Programmer's Guide p. 40 | makaveli_lcf | OpenFOAM Bugs | 2 | November 20, 2010 12:39 |
| Programmers Guide Bugs | jens_klostermann | OpenFOAM Bugs | 1 | March 6, 2010 02:06 |
| Bug in the Programmerbs Guide OF15 | ivan_cozza | OpenFOAM Bugs | 0 | October 19, 2008 05:15 |
| Fluent 5.5. What the differences with fluent 5.3?? | confused | FLUENT | 2 | July 29, 2001 21:58 |