applications/test/liquid, applications/test/tensor: Updated

Resolves bug-report https://bugs.openfoam.org/view.php?id=2557
This commit is contained in:
Henry Weller
2017-05-19 08:28:00 +01:00
parent 161b165a8c
commit 4c49a1ed00
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,6 @@
EXE_INC = \ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalFunctions/lnInclude -I$(LIB_SRC)/thermophysicalModels/thermophysicalFunctions/lnInclude
EXE_LIBS = \
-lthermophysicalProperties

View File

@ -35,9 +35,10 @@ int main()
Info<< "Check determinant " << e.x()*e.y()*e.z() << " " << det(t6) << endl; Info<< "Check determinant " << e.x()*e.y()*e.z() << " " << det(t6) << endl;
Info<< "Check eigenvectors " Info<< "Check eigenvectors "
<< (eigenVector(t6, e[0]) & t6) << e[0]*eigenVector(t6, e[0]) << " " << (eigenVectors(t6, e) & t6) << " "
<< (eigenVector(t6, e[1]) & t6) << e[1]*eigenVector(t6, e[1]) << " " << (e.x()*eigenVectors(t6, e).x())
<< (eigenVector(t6, e[2]) & t6) << e[2]*eigenVector(t6, e[2]) << (e.y()*eigenVectors(t6, e).y())
<< (e.z()*eigenVectors(t6, e).z())
<< endl; << endl;
Info<< "Check eigenvalues for symmTensor " Info<< "Check eigenvalues for symmTensor "