|
[Sponsors] |
is tr(A) in dev(A) mathematically appropriate? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 26, 2020, 13:21 |
is tr(A) in dev(A) mathematically appropriate?
|
#1 |
Member
Rishikesh
Join Date: Apr 2016
Posts: 63
Rep Power: 10 |
My question is, is it accurate to use Subtracting 1/3 * trace(A)*I from matrix A, and call it deviatoric part of the matrix?
The solution to UEqn.H leads to turbulence->divDevRhoReff (or divDevReff depending on solver). Here, the deviatoric part of stress tensor is calculated using the dev() or dev2() operators on gradU. These are defined in OpenFOAM/primitives/TensorI.H where it makes use of trace. Code:
//- Return the deviatoric part of a tensor template<class Cmpt> inline Tensor<Cmpt> dev(const Tensor<Cmpt>& t) { return t - SphericalTensor<Cmpt>::oneThirdI*tr(t); } //- Return the deviatoric part of a tensor template<class Cmpt> inline Tensor<Cmpt> dev2(const Tensor<Cmpt>& t) { return t - SphericalTensor<Cmpt>::twoThirdsI*tr(t); } However, since there is a divergence operator subsequent to all of this, the final result, after summation over indices, becomes equivalent to 1/3*tr(gradU). But is it mathematically correct to have the definition of diagonal matrix as 1/3*trace(A)*I? Or in a simpler question of equivalence Is the matrix 1 0 0 0 5 0 0 0 6 equivalent to 4 0 0 0 4 0 0 0 4 I would really appreciate if someone with mathematical, or openfoam knowledge can help me understand this. |
|
Tags |
divdevreff, trace, ueqn |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Difference Between CFD Simulation and Mathematically Calculated Porous Media Results | trhn | Main CFD Forum | 0 | June 21, 2019 05:12 |
Is a single layer sigma-coordinate equation, mathematically equivalent to 2D-SWE? | nima_jedari_attari_1987 | Main CFD Forum | 0 | August 13, 2015 23:10 |
Mathematically tie two blades together | SSP221 | ANSYS | 0 | November 5, 2012 21:49 |
Sequential calculation of Temperature and mass tra | J.W.Ryu | FLUENT | 7 | June 18, 2002 08:12 |