mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'tut-lambvector' into 'develop'
TUT: pimpleFoam/channelDFSEM395 - added example use of Lamb vector See merge request Development/OpenFOAM-plus!267
This commit is contained in:
@ -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
|
|||||||
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
|
|||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user