The Lambda2
function object computes the second largest eigenvalue of the sum of the square of the symmetrical and anti-symmetrical parts of the velocity gradient tensor.
Operand | Type | Location |
---|---|---|
input | volVectorField | $FOAM_CASE/<time>/<inpField> |
output file | - | - |
output field | volScalarField | $FOAM_CASE/<time>/<outField> |
Example of the Lambda2
function object by using functions
sub-dictionary in system/controlDict
file:
Lambda21 { // Mandatory entries (unmodifiable) type Lambda2; libs (fieldFunctionObjects); // Optional (inherited) entries field <inpField>; result <fieldResult>; region region0; enabled true; log true; timeStart 0; timeEnd 1000; executeControl timeStep; executeInterval 1; writeControl timeStep; writeInterval 1; }
where the entries mean:
Property | Description | Type | Required | Default |
---|---|---|---|---|
type | Type name: Lambda2 | word | yes | - |
libs | Library name: fieldFunctionObjects | word | yes | - |
The inherited entries are elaborated in:
Example by using the postProcess
utility:
postProcess -func Lambda2
Tutorial:
Source code:
History