Commit 7bf9ca87 authored by Andrew Heather's avatar Andrew Heather Committed by Andrew Heather
Browse files

Merge branch 'tut-lambvector' into 'develop'

TUT: pimpleFoam/channelDFSEM395 - added example use of Lamb vector

See merge request OpenFOAM-plus!267
parents 01ea3cc7 dd9bf745
......@@ -65,6 +65,20 @@ functions
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
}
lambVector1
{
type lambVector;
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
field U;
}
div1
{
type div;
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
field lambVector;
}
fieldAverage1
{
type fieldAverage;
......@@ -87,6 +101,20 @@ functions
prime2Mean on;
base time;
}
lambVector
{
mean on;
prime2Mean off;
base time;
}
div(lambVector)
{
mean on;
prime2Mean off;
base time;
}
);
}
}
......
......@@ -33,6 +33,7 @@ divSchemes
div(phi,B) Gauss limitedLinear 0.1;
div(B) Gauss linear;
div(phi,nuTilda) Gauss limitedLinear 0.1;
div(lambVector) Gauss linear;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment