Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
f95b67b5
Commit
f95b67b5
authored
Jul 30, 2019
by
sergio
Committed by
Andrew Heather
Jul 30, 2019
Browse files
Merge branch 'master' of develop.openfoam.com:Development/OpenFOAM-plus
parents
962e6f63
8dd3c7f2
Changes
7
Hide whitespace changes
Inline
Side-by-side
META-INFO/api-info
View file @
f95b67b5
api=1906
patch=1907
08
patch=1907
24
etc/caseDicts/postProcessing/fields/lambVector
0 → 100644
View file @
f95b67b5
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Version: v1906
\\ / A nd | Web: www.OpenFOAM.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Description
Calculates and writes the second largest eigenvalue of the sum of the
square of the symmetrical and anti-symmetrical parts of the velocity
gradient tensor.
\*---------------------------------------------------------------------------*/
type lambVector;
libs ("libfieldFunctionObjects.so");
field U;
executeControl writeTime;
writeControl writeTime;
// ************************************************************************* //
src/OpenFOAM/primitives/quaternion/quaternionI.H
View file @
f95b67b5
...
...
@@ -259,7 +259,7 @@ inline Foam::quaternion::quaternion
-
rotationTensor
.
zz
()
);
w_
=
(
rotationTensor
.
xz
()
-
rotationTensor
.
x
z
())
/
s
;
w_
=
(
rotationTensor
.
xz
()
-
rotationTensor
.
z
x
())
/
s
;
v_
[
0
]
=
(
rotationTensor
.
xy
()
+
rotationTensor
.
yx
())
/
s
;
v_
[
1
]
=
0
.
25
*
s
;
v_
[
2
]
=
(
rotationTensor
.
yz
()
+
rotationTensor
.
zy
())
/
s
;
...
...
tutorials/incompressible/pimpleFoam/LES/channel395DFSEM/system/controlDict
View file @
f95b67b5
...
...
@@ -65,19 +65,19 @@ 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;
lambVector1
{
type lambVector;
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
field U;
}
div1
{
type div;
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
field lambVector;
}
fieldAverage1
{
...
...
@@ -102,18 +102,18 @@ functions
base time;
}
lambVector
{
mean on;
prime2Mean off;
base time;
}
div(lambVector)
{
mean on;
prime2Mean off;
base time;
lambVector
{
mean on;
prime2Mean off;
base time;
}
div(lambVector)
{
mean on;
prime2Mean off;
base time;
}
);
}
...
...
tutorials/incompressible/simpleFoam/bump2D/system/blockMeshDict
View file @
f95b67b5
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1906 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
scale 1;
vertices
(
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
scale 1;
vertices
(
( -25.0 0 1 ) // 0
( 0 0 1 ) // 1
( 0.3 0 1 ) // 2
...
...
@@ -45,10 +45,10 @@ vertices
( 0.3 5 -1 ) // 21
( 0 5 -1 ) // 22
( -25.0 5 -1 ) // 23
);
);
blocks
(
blocks
(
// Medium level for tutorial
hex ( 0 1 13 12 11 10 22 23) (30 1 81) simpleGrading (0.002 1 20000)
hex ( 1 2 14 13 10 9 21 22) (25 1 81) simpleGrading (2 1 20000)
...
...
@@ -62,7 +62,7 @@ blocks
//hex ( 2 3 15 14 9 8 20 21) (480 1 648) simpleGrading (1 1 20000)
//hex ( 3 4 16 15 8 7 19 20) (200 1 648) simpleGrading (0.5 1 20000)
//hex ( 4 5 17 16 7 6 18 19) (240 1 648) simpleGrading (500 1 20000)
);
);
edges #codeStream
{
...
...
@@ -101,37 +101,37 @@ edges #codeStream
};
boundary
(
inlet
{
type patch;
faces
(
(0 11 23 12)
);
}
outlet
{
type patch;
faces
(
boundary
(
inlet
{
type patch;
faces
(
(0 11 23 12)
);
}
outlet
{
type patch;
faces
(
(17 18 6 5)
);
}
top
{
type symmetryPlane;
faces
(
(11 10 22 23)
);
}
top
{
type symmetryPlane;
faces
(
(11 10 22 23)
(10 9 21 22)
( 9 8 20 21)
( 8 7 19 20)
( 7 6 18 19)
);
);
}
symUp
...
...
@@ -143,15 +143,15 @@ boundary
);
}
bump
{
type wall;
faces
(
( 1 13 14 2)
bump
{
type wall;
faces
(
( 1 13 14 2)
( 2 14 15 3)
( 3 15 16 4)
);
);
}
symDown
...
...
@@ -161,7 +161,7 @@ boundary
(
( 4 16 17 5)
);
}
}
frontAndBack
{
...
...
@@ -180,12 +180,12 @@ boundary
( 3 8 7 4)
( 4 7 6 5)
);
}
);
mergePatchPairs
(
);
// ************************************************************************* //
}
);
mergePatchPairs
(
);
// ************************************************************************* //
tutorials/incompressible/simpleFoam/turbulentFlatPlate/0.kEpsilon/p
View file @
f95b67b5
...
...
@@ -46,7 +46,7 @@ boundaryField
{
type zeroGradient;
}
bottomWall
{
type zeroGradient;
...
...
tutorials/incompressible/simpleFoam/turbulentFlatPlate/0.kOmegaSST/p
View file @
f95b67b5
...
...
@@ -46,7 +46,7 @@ boundaryField
{
type zeroGradient;
}
bottomWall
{
type zeroGradient;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment