mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
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 = \
|
||||
-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 "
|
||||
|
||||
Reference in New Issue
Block a user