Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
5285277d
Commit
5285277d
authored
Jun 27, 2008
by
Andrew Heather
Committed by
graham
Jun 27, 2008
Browse files
small updates to tuts
parent
1f121751
Changes
29
Hide whitespace changes
Inline
Side-by-side
tutorials/lesCavitatingFoam/throttle/constant/polyMesh/blockMeshDict
View file @
5285277d
...
...
@@ -18,39 +18,39 @@ convertToMeters 1.0e-3;
vertices
(
( 0.00 -2.50 -0.5
0
)
( 5.00 -2.50 -0.5
0
)
( 5.00 -0.15 -0.5
0
)
( 7.00 -0.15 -0.5
0
)
( 7.00 -2.50 -0.5
0
)
(17.00 -2.50 -0.5
0
)
(17.00 -0.15 -0.5
0
)
(17.00 0.15 -0.5
0
)
(17.00 2.50 -0.5
0
)
( 7.00 2.50 -0.5
0
)
( 7.00 0.15 -0.5
0
)
( 5.00 0.15 -0.5
0
)
( 5.00 2.50 -0.5
0
)
( 0.00 2.50 -0.5
0
)
( 0.00 0.15 -0.5
0
)
( 0.00 -0.15 -0.5
0
)
( 0.00 -2.50 -0.
1
5)
( 5.00 -2.50 -0.
1
5)
( 5.00 -0.15 -0.
1
5)
( 7.00 -0.15 -0.
1
5)
( 7.00 -2.50 -0.
1
5)
(17.00 -2.50 -0.
1
5)
(17.00 -0.15 -0.
1
5)
(17.00 0.15 -0.
1
5)
(17.00 2.50 -0.
1
5)
( 7.00 2.50 -0.
1
5)
( 7.00 0.15 -0.
1
5)
( 5.00 0.15 -0.
1
5)
( 5.00 2.50 -0.
1
5)
( 0.00 2.50 -0.
1
5)
( 0.00 0.15 -0.
1
5)
( 0.00 -0.15 -0.
1
5)
( 0.00 -2.50 0.5
0
)
( 5.00 -2.50 0.5
0
)
( 5.00 -0.15 0.5
0
)
( 7.00 -0.15 0.5
0
)
( 7.00 -2.50 0.5
0
)
(17.00 -2.50 0.5
0
)
(17.00 -0.15 0.5
0
)
(17.00 0.15 0.5
0
)
(17.00 2.50 0.5
0
)
( 7.00 2.50 0.5
0
)
( 7.00 0.15 0.5
0
)
( 5.00 0.15 0.5
0
)
( 5.00 2.50 0.5
0
)
( 0.00 2.50 0.5
0
)
( 0.00 0.15 0.5
0
)
( 0.00 -0.15 0.5
0
)
( 0.00 -2.50 0.
1
5)
( 5.00 -2.50 0.
1
5)
( 5.00 -0.15 0.
1
5)
( 7.00 -0.15 0.
1
5)
( 7.00 -2.50 0.
1
5)
(17.00 -2.50 0.
1
5)
(17.00 -0.15 0.
1
5)
(17.00 0.15 0.
1
5)
(17.00 2.50 0.
1
5)
( 7.00 2.50 0.
1
5)
( 7.00 0.15 0.
1
5)
( 5.00 0.15 0.
1
5)
( 5.00 2.50 0.
1
5)
( 0.00 2.50 0.
1
5)
( 0.00 0.15 0.
1
5)
( 0.00 -0.15 0.
1
5)
);
blocks
...
...
tutorials/lesCavitatingFoam/throttle/constant/polyMesh/boundary
View file @
5285277d
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version:
1.5
|
| \\ / O peration | Version:
dev
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
...
...
@@ -10,6 +10,7 @@ FoamFile
version 2.0;
format binary;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
tutorials/lesCavitatingFoam/throttle/system/controlDict
View file @
5285277d
...
...
@@ -20,13 +20,13 @@ startTime 0;
stopAt endTime;
endTime 2e-
3
;
endTime 2e-
4
;
deltaT 1e-8;
writeControl adjustableRunTime;
writeInterval
1
e-
4
;
writeInterval
2
e-
5
;
purgeWrite 0;
...
...
tutorials/lesCavitatingFoam/throttle/system/fvSolution
View file @
5285277d
...
...
@@ -63,7 +63,7 @@ solvers
PISO
{
nCorrectors
2
;
nCorrectors
3
;
nNonOrthogonalCorrectors 0;
// removeSwirl 2;
...
...
tutorials/lesCavitatingFoam/throttle3D/constant/polyMesh/blockMeshDict
View file @
5285277d
...
...
@@ -18,39 +18,39 @@ convertToMeters 1.0e-3;
vertices
(
( 0.00 -2.50 -0.5
0
)
( 5.00 -2.50 -0.5
0
)
( 5.00 -0.15 -0.5
0
)
( 7.00 -0.15 -0.5
0
)
( 7.00 -2.50 -0.5
0
)
(17.00 -2.50 -0.5
0
)
(17.00 -0.15 -0.5
0
)
(17.00 0.15 -0.5
0
)
(17.00 2.50 -0.5
0
)
( 7.00 2.50 -0.5
0
)
( 7.00 0.15 -0.5
0
)
( 5.00 0.15 -0.5
0
)
( 5.00 2.50 -0.5
0
)
( 0.00 2.50 -0.5
0
)
( 0.00 0.15 -0.5
0
)
( 0.00 -0.15 -0.5
0
)
( 0.00 -2.50 -0.
1
5)
( 5.00 -2.50 -0.
1
5)
( 5.00 -0.15 -0.
1
5)
( 7.00 -0.15 -0.
1
5)
( 7.00 -2.50 -0.
1
5)
(17.00 -2.50 -0.
1
5)
(17.00 -0.15 -0.
1
5)
(17.00 0.15 -0.
1
5)
(17.00 2.50 -0.
1
5)
( 7.00 2.50 -0.
1
5)
( 7.00 0.15 -0.
1
5)
( 5.00 0.15 -0.
1
5)
( 5.00 2.50 -0.
1
5)
( 0.00 2.50 -0.
1
5)
( 0.00 0.15 -0.
1
5)
( 0.00 -0.15 -0.
1
5)
( 0.00 -2.50 0.5
0
)
( 5.00 -2.50 0.5
0
)
( 5.00 -0.15 0.5
0
)
( 7.00 -0.15 0.5
0
)
( 7.00 -2.50 0.5
0
)
(17.00 -2.50 0.5
0
)
(17.00 -0.15 0.5
0
)
(17.00 0.15 0.5
0
)
(17.00 2.50 0.5
0
)
( 7.00 2.50 0.5
0
)
( 7.00 0.15 0.5
0
)
( 5.00 0.15 0.5
0
)
( 5.00 2.50 0.5
0
)
( 0.00 2.50 0.5
0
)
( 0.00 0.15 0.5
0
)
( 0.00 -0.15 0.5
0
)
( 0.00 -2.50 0.
1
5)
( 5.00 -2.50 0.
1
5)
( 5.00 -0.15 0.
1
5)
( 7.00 -0.15 0.
1
5)
( 7.00 -2.50 0.
1
5)
(17.00 -2.50 0.
1
5)
(17.00 -0.15 0.
1
5)
(17.00 0.15 0.
1
5)
(17.00 2.50 0.
1
5)
( 7.00 2.50 0.
1
5)
( 7.00 0.15 0.
1
5)
( 5.00 0.15 0.
1
5)
( 5.00 2.50 0.
1
5)
( 0.00 2.50 0.
1
5)
( 0.00 0.15 0.
1
5)
( 0.00 -0.15 0.
1
5)
);
blocks
...
...
tutorials/lesCavitatingFoam/throttle3D/constant/polyMesh/boundary
View file @
5285277d
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version:
1.5
|
| \\ / O peration | Version:
dev
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
...
...
@@ -10,6 +10,7 @@ FoamFile
version 2.0;
format binary;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
tutorials/lesCavitatingFoam/throttle3D/system/fvSolution
View file @
5285277d
...
...
@@ -63,7 +63,7 @@ solvers
PISO
{
nCorrectors
2
;
nCorrectors
3
;
nNonOrthogonalCorrectors 0;
// removeSwirl 2;
...
...
tutorials/lesCavitatingFoam/throttle3D/system/machines
deleted
100644 → 0
View file @
1f121751
shelob
tutorials/lesCavitatingFoam/throttle3D/system/sampleDict
deleted
100644 → 0
View file @
1f121751
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object sampleDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// interpolationScheme : choice of
// cell : use cell-centre value only; constant over cells
// cellPoint : use cell-centre and vertex values
// cellPointFace : use cell-centre, vertex and face values.
// 1] vertex values determined from neighbouring cell-centre values
// 2] face values determined using the current face interpolation scheme
// for the field (linear, gamma, etc.)
interpolationScheme cellPointFace;
// setFormat : choice of
// xmgr
// jplot
// gnuplot
// raw
setFormat raw;
// Surface output format. Choice of
// null : suppress output
// foamFile : separate points, faces and values file
// dx : DX scalar or vector format
// vtk : VTK ascii format
// raw : x y z value format for use with e.g. gnuplot 'splot'.
// stl : ascii stl. Does not contain values!
surfaceFormat vtk;
// sampling definition:
//
// Dictionary with fields
// type : type of sampling method
// name : name of samples. Used e.g. as filename
// axis : how to write point coordinate
// ... : depending on method
//
//
// sample: choice of
// uniform evenly distributed points on line
// face one point per face intersection
// midPoint one point per cell, inbetween two face intersections
// midPointAndFace combination of face and midPoint
//
// curve specified points, not nessecary on line, uses
// tracking
// cloud specified points, uses findCell
//
//
// axis: how to write point coordinate. Choice of
// - x/y/z: x/y/z coordinate only
// - xyz: three columns
// (probably does not make sense for anything but raw)
// - distance: distance from start of sampling line (if uses line) or
// distance from first specified sampling point
//
// type specific:
// uniform, face, midPoint, midPointAndFace : start and end coordinate
// uniform: extra number of sampling points
// curve, cloud: list of coordinates
sets
(
IN1
{
type uniform;
axis y;
start (11.8224e-3 -1.0e-3 1.0e-8);
end (11.8224e-3 1.0e-3 1.0e-8);
nPoints 100;
}
IN
{
type uniform;
axis y;
start (12.0864e-3 -1.0e-3 1.0e-8);
end (12.0864e-3 1.0e-3 1.0e-8);
nPoints 50;
}
M1
{
type uniform;
axis y;
start (12.3424e-3 -0.147539e-3 1.0e-8);
end (12.3424e-3 0.147539e-3 1.0e-8);
nPoints 50;
}
M2
{
type uniform;
axis y;
start (12.6032e-3 -0.147539e-3 1.0e-8);
end (12.6032e-3 0.147539e-3 1.0e-8);
nPoints 50;
}
OUT
{
type uniform;
axis y;
start (12.8928e-3 -0.147539e-3 1.0e-8);
end (12.8928e-3 0.147539e-3 1.0e-8);
nPoints 50;
}
IN1_GR1
{
type uniform;
axis y;
start (11.778e-3 -1.0e-3 1.0e-8);
end (11.778e-3 1.0e-3 1.0e-8);
nPoints 100;
}
OUT_GR1
{
type uniform;
axis y;
start (13.14e-3 -2.0e-3 1.0e-8);
end (13.14e-3 2.0e-3 1.0e-8);
nPoints 200;
}
);
surfaces
();
// Fields to sample.
fields
(
// magUMean
UMeanx
);
// ************************************************************************* //
tutorials/rasCavitatingFoam/0/U
→
tutorials/rasCavitatingFoam/
throttle/
0/U
View file @
5285277d
File moved
tutorials/rasCavitatingFoam/0/gamma
→
tutorials/rasCavitatingFoam/
throttle/
0/gamma
View file @
5285277d
File moved
tutorials/rasCavitatingFoam/0/k
→
tutorials/rasCavitatingFoam/
throttle/
0/k
View file @
5285277d
File moved
tutorials/rasCavitatingFoam/0/omega
→
tutorials/rasCavitatingFoam/
throttle/
0/omega
View file @
5285277d
File moved
tutorials/rasCavitatingFoam/0/p
→
tutorials/rasCavitatingFoam/
throttle/
0/p
View file @
5285277d
File moved
tutorials/rasCavitatingFoam/0/rho
→
tutorials/rasCavitatingFoam/
throttle/
0/rho
View file @
5285277d
File moved
tutorials/rasCavitatingFoam/Allclean
→
tutorials/rasCavitatingFoam/
throttle/
Allclean
View file @
5285277d
File moved
tutorials/rasCavitatingFoam/Allrun
→
tutorials/rasCavitatingFoam/
throttle/
Allrun
View file @
5285277d
...
...
@@ -12,10 +12,7 @@ refineMeshByCellSet()
cellSet
>
& log.cellSet.
$1
echo
"refining primary zone -
$1
"
refineMesh
-dict
>
& log.refineMesh.
$1
rm
-rf
0/polyMesh
mv
1e-08/polyMesh 0/
rm
-rf
1e-08
refineMesh
-dict
-overwrite
>
& log.refineMesh.
$1
}
runApplication blockMesh
...
...
tutorials/rasCavitatingFoam/constant/RASProperties
→
tutorials/rasCavitatingFoam/
throttle/
constant/RASProperties
View file @
5285277d
File moved
tutorials/rasCavitatingFoam/constant/polyMesh/blockMeshDict
→
tutorials/rasCavitatingFoam/
throttle/
constant/polyMesh/blockMeshDict
View file @
5285277d
...
...
@@ -18,39 +18,39 @@ convertToMeters 1.0e-3;
vertices
(
( 0.00 -2.50 -0.5
0
)
( 5.00 -2.50 -0.5
0
)
( 5.00 -0.15 -0.5
0
)
( 7.00 -0.15 -0.5
0
)
( 7.00 -2.50 -0.5
0
)
(17.00 -2.50 -0.5
0
)
(17.00 -0.15 -0.5
0
)
(17.00 0.15 -0.5
0
)
(17.00 2.50 -0.5
0
)
( 7.00 2.50 -0.5
0
)
( 7.00 0.15 -0.5
0
)
( 5.00 0.15 -0.5
0
)
( 5.00 2.50 -0.5
0
)
( 0.00 2.50 -0.5
0
)
( 0.00 0.15 -0.5
0
)
( 0.00 -0.15 -0.5
0
)
( 0.00 -2.50 -0.
1
5)
( 5.00 -2.50 -0.
1
5)
( 5.00 -0.15 -0.
1
5)
( 7.00 -0.15 -0.
1
5)
( 7.00 -2.50 -0.
1
5)
(17.00 -2.50 -0.
1
5)
(17.00 -0.15 -0.
1
5)
(17.00 0.15 -0.
1
5)
(17.00 2.50 -0.
1
5)
( 7.00 2.50 -0.
1
5)
( 7.00 0.15 -0.
1
5)
( 5.00 0.15 -0.
1
5)
( 5.00 2.50 -0.
1
5)
( 0.00 2.50 -0.
1
5)
( 0.00 0.15 -0.
1
5)
( 0.00 -0.15 -0.
1
5)
( 0.00 -2.50 0.5
0
)
( 5.00 -2.50 0.5
0
)
( 5.00 -0.15 0.5
0
)
( 7.00 -0.15 0.5
0
)
( 7.00 -2.50 0.5
0
)
(17.00 -2.50 0.5
0
)
(17.00 -0.15 0.5
0
)
(17.00 0.15 0.5
0
)
(17.00 2.50 0.5
0
)
( 7.00 2.50 0.5
0
)
( 7.00 0.15 0.5
0
)
( 5.00 0.15 0.5
0
)
( 5.00 2.50 0.5
0
)
( 0.00 2.50 0.5
0
)
( 0.00 0.15 0.5
0
)
( 0.00 -0.15 0.5
0
)
( 0.00 -2.50 0.
1
5)
( 5.00 -2.50 0.
1
5)
( 5.00 -0.15 0.
1
5)
( 7.00 -0.15 0.
1
5)
( 7.00 -2.50 0.
1
5)
(17.00 -2.50 0.
1
5)
(17.00 -0.15 0.
1
5)
(17.00 0.15 0.
1
5)
(17.00 2.50 0.
1
5)
( 7.00 2.50 0.
1
5)
( 7.00 0.15 0.
1
5)
( 5.00 0.15 0.
1
5)
( 5.00 2.50 0.
1
5)
( 0.00 2.50 0.
1
5)
( 0.00 0.15 0.
1
5)
( 0.00 -0.15 0.
1
5)
);
blocks
...
...
tutorials/rasCavitatingFoam/constant/polyMesh/boundary
→
tutorials/rasCavitatingFoam/
throttle/
constant/polyMesh/boundary
View file @
5285277d
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version:
1.5
|
| \\ / O peration | Version:
dev
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
...
...
@@ -10,6 +10,7 @@ FoamFile
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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