Skip to content
Snippets Groups Projects
Commit dd9bf745 authored by Kutalmış Berçin's avatar Kutalmış Berçin Committed by Andrew Heather
Browse files

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

parent 50bbc2bd
No related branches found
No related tags found
No related merge requests found
...@@ -65,6 +65,20 @@ functions ...@@ -65,6 +65,20 @@ functions
libs ("libfieldFunctionObjects.so"); libs ("libfieldFunctionObjects.so");
writeControl writeTime; writeControl writeTime;
} }
lambVector1
{
type lambVector;
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
field U;
}
div1
{
type div;
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
field lambVector;
}
fieldAverage1 fieldAverage1
{ {
type fieldAverage; type fieldAverage;
...@@ -87,6 +101,20 @@ functions ...@@ -87,6 +101,20 @@ functions
prime2Mean on; prime2Mean on;
base time; base time;
} }
lambVector
{
mean on;
prime2Mean off;
base time;
}
div(lambVector)
{
mean on;
prime2Mean off;
base time;
}
); );
} }
} }
......
...@@ -33,6 +33,7 @@ divSchemes ...@@ -33,6 +33,7 @@ divSchemes
div(phi,B) Gauss limitedLinear 0.1; div(phi,B) Gauss limitedLinear 0.1;
div(B) Gauss linear; div(B) Gauss linear;
div(phi,nuTilda) Gauss limitedLinear 0.1; div(phi,nuTilda) Gauss limitedLinear 0.1;
div(lambVector) Gauss linear;
div((nuEff*dev2(T(grad(U))))) Gauss linear; div((nuEff*dev2(T(grad(U))))) Gauss linear;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment