From 06e2a6b791da684cd17394eb87c2a26a8a827406 Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 9 Mar 2012 14:56:54 +0000 Subject: [PATCH] STYLE: added further explanation to Q utility header --- applications/utilities/postProcessing/velocityField/Q/Q.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/applications/utilities/postProcessing/velocityField/Q/Q.C b/applications/utilities/postProcessing/velocityField/Q/Q.C index 74de3084b5..0f9c6d8d8c 100644 --- a/applications/utilities/postProcessing/velocityField/Q/Q.C +++ b/applications/utilities/postProcessing/velocityField/Q/Q.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -27,6 +27,8 @@ Application Description Calculates and writes the second invariant of the velocity gradient tensor. + Q = 0.5*(sqr(tr(gradU)) - tr(((gradU)&(gradU)))) [1/s^2] + The -noWrite option just outputs the max/min values without writing the field.