applications/test/liquid, applications/test/tensor: Updated
Resolves bug-report https://bugs.openfoam.org/view.php?id=2557
This commit is contained in:
@ -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
|
||||||
|
|||||||
@ -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 "
|
||||||
|
|||||||
Reference in New Issue
Block a user