applications/test/liquid, applications/test/tensor: Updated
Resolves bug-report https://bugs.openfoam.org/view.php?id=2557
This commit is contained in:
parent
161b165a8c
commit
4c49a1ed00
2 changed files with 7 additions and 3 deletions
|
|
@ -1,3 +1,6 @@
|
|||
EXE_INC = \
|
||||
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/thermophysicalFunctions/lnInclude
|
||||
|
||||
EXE_LIBS = \
|
||||
-lthermophysicalProperties
|
||||
|
|
|
|||
|
|
@ -35,9 +35,10 @@ int main()
|
|||
Info<< "Check determinant " << e.x()*e.y()*e.z() << " " << det(t6) << endl;
|
||||
|
||||
Info<< "Check eigenvectors "
|
||||
<< (eigenVector(t6, e[0]) & t6) << e[0]*eigenVector(t6, e[0]) << " "
|
||||
<< (eigenVector(t6, e[1]) & t6) << e[1]*eigenVector(t6, e[1]) << " "
|
||||
<< (eigenVector(t6, e[2]) & t6) << e[2]*eigenVector(t6, e[2])
|
||||
<< (eigenVectors(t6, e) & t6) << " "
|
||||
<< (e.x()*eigenVectors(t6, e).x())
|
||||
<< (e.y()*eigenVectors(t6, e).y())
|
||||
<< (e.z()*eigenVectors(t6, e).z())
|
||||
<< endl;
|
||||
|
||||
Info<< "Check eigenvalues for symmTensor "
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue