mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of develop.openfoam.com:Development/OpenFOAM-plus
This commit is contained in:
@ -1,2 +1,2 @@
|
||||
api=1906
|
||||
patch=190708
|
||||
patch=190724
|
||||
|
||||
23
etc/caseDicts/postProcessing/fields/lambVector
Normal file
23
etc/caseDicts/postProcessing/fields/lambVector
Normal file
@ -0,0 +1,23 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Version: v1906
|
||||
\\ / A nd | Web: www.OpenFOAM.com
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Description
|
||||
Calculates and writes the second largest eigenvalue of the sum of the
|
||||
square of the symmetrical and anti-symmetrical parts of the velocity
|
||||
gradient tensor.
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
type lambVector;
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
field U;
|
||||
|
||||
executeControl writeTime;
|
||||
writeControl writeTime;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -259,7 +259,7 @@ inline Foam::quaternion::quaternion
|
||||
- rotationTensor.zz()
|
||||
);
|
||||
|
||||
w_ = (rotationTensor.xz() - rotationTensor.xz())/s;
|
||||
w_ = (rotationTensor.xz() - rotationTensor.zx())/s;
|
||||
v_[0] = (rotationTensor.xy() + rotationTensor.yx())/s;
|
||||
v_[1] = 0.25*s;
|
||||
v_[2] = (rotationTensor.yz() + rotationTensor.zy())/s;
|
||||
|
||||
Reference in New Issue
Block a user