mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: update old keywords
This commit is contained in:
@ -26,7 +26,7 @@ boundaryField
|
|||||||
inlet
|
inlet
|
||||||
{
|
{
|
||||||
type cylindricalInletVelocity;
|
type cylindricalInletVelocity;
|
||||||
centre (-0.64 0.5 0);
|
origin (-0.64 0.5 0);
|
||||||
axis (1 0 0);
|
axis (1 0 0);
|
||||||
axialVelocity 40;
|
axialVelocity 40;
|
||||||
radialVelocity 20;
|
radialVelocity 20;
|
||||||
|
|||||||
@ -24,8 +24,8 @@ fvDOMCoeffs
|
|||||||
{
|
{
|
||||||
nPhi 2; // azimuthal angles in PI/2 on X-Y.(from Y to X)
|
nPhi 2; // azimuthal angles in PI/2 on X-Y.(from Y to X)
|
||||||
nTheta 2; // polar angles in PI (from Z to X-Y plane)
|
nTheta 2; // polar angles in PI (from Z to X-Y plane)
|
||||||
convergence 1e-2; // convergence criteria for radiation iteration
|
|
||||||
maxIter 3; // maximum number of iterations
|
maxIter 3; // maximum number of iterations
|
||||||
|
tolerance 1e-2; // convergence criteria for radiation iteration
|
||||||
}
|
}
|
||||||
|
|
||||||
// Number of flow iterations per radiation iteration
|
// Number of flow iterations per radiation iteration
|
||||||
|
|||||||
@ -24,8 +24,8 @@ fvDOMCoeffs
|
|||||||
{
|
{
|
||||||
nPhi 3; // azimuthal angles in PI/2 on X-Y.(from Y to X)
|
nPhi 3; // azimuthal angles in PI/2 on X-Y.(from Y to X)
|
||||||
nTheta 6; // polar angles in PI (from Z to X-Y plane)
|
nTheta 6; // polar angles in PI (from Z to X-Y plane)
|
||||||
convergence 0.05; // convergence criteria for radiation iteration
|
|
||||||
maxIter 3; // maximum number of iterations
|
maxIter 3; // maximum number of iterations
|
||||||
|
tolerance 0.05; // convergence criteria for radiation iteration
|
||||||
}
|
}
|
||||||
|
|
||||||
// Number of flow iterations per radiation iteration
|
// Number of flow iterations per radiation iteration
|
||||||
|
|||||||
@ -23,8 +23,8 @@ fvDOMCoeffs
|
|||||||
{
|
{
|
||||||
nPhi 4; // azimuthal angles in PI/2 on X-Y.(from Y to X)
|
nPhi 4; // azimuthal angles in PI/2 on X-Y.(from Y to X)
|
||||||
nTheta 0; // polar angles in PI (from Z to X-Y plane)
|
nTheta 0; // polar angles in PI (from Z to X-Y plane)
|
||||||
convergence 1e-2; // convergence criteria for radiation iteration
|
|
||||||
maxIter 4; // maximum number of iterations
|
maxIter 4; // maximum number of iterations
|
||||||
|
tolerance 1e-2; // convergence criteria for radiation iteration
|
||||||
}
|
}
|
||||||
|
|
||||||
// Number of flow iterations per radiation iteration
|
// Number of flow iterations per radiation iteration
|
||||||
|
|||||||
@ -24,8 +24,8 @@ fvDOMCoeffs
|
|||||||
{
|
{
|
||||||
nPhi 2; // azimuthal angles in PI/2 on X-Y.(from Y to X)
|
nPhi 2; // azimuthal angles in PI/2 on X-Y.(from Y to X)
|
||||||
nTheta 2; // polar angles in PI (from Z to X-Y plane)
|
nTheta 2; // polar angles in PI (from Z to X-Y plane)
|
||||||
convergence 1e-1; // convergence criteria for radiation iteration
|
|
||||||
maxIter 1; // maximum number of iterations
|
maxIter 1; // maximum number of iterations
|
||||||
|
tolerance 1e-1; // convergence criteria for radiation iteration
|
||||||
}
|
}
|
||||||
|
|
||||||
// Number of flow iterations per radiation iteration
|
// Number of flow iterations per radiation iteration
|
||||||
|
|||||||
@ -28,7 +28,7 @@ regions
|
|||||||
(
|
(
|
||||||
zoneToCell
|
zoneToCell
|
||||||
{
|
{
|
||||||
name pipe;
|
zone pipe;
|
||||||
fieldValues
|
fieldValues
|
||||||
(
|
(
|
||||||
volScalarFieldValue CH4 $:pipe.CH4
|
volScalarFieldValue CH4 $:pipe.CH4
|
||||||
|
|||||||
@ -25,7 +25,7 @@ acousticDampingSource
|
|||||||
timeStart 0.004;
|
timeStart 0.004;
|
||||||
duration 1000.0;
|
duration 1000.0;
|
||||||
selectionMode all;
|
selectionMode all;
|
||||||
centre (-1.25 0 0);
|
origin (-1.25 0 0);
|
||||||
radius1 1.2;
|
radius1 1.2;
|
||||||
radius2 1.65;
|
radius2 1.65;
|
||||||
frequency 3000;
|
frequency 3000;
|
||||||
|
|||||||
@ -31,7 +31,7 @@ geometry
|
|||||||
igloo
|
igloo
|
||||||
{
|
{
|
||||||
type sphere;
|
type sphere;
|
||||||
centre (3 3 0);
|
origin (3 3 0);
|
||||||
radius 4;
|
radius 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -23,8 +23,8 @@ fvDOMCoeffs
|
|||||||
{
|
{
|
||||||
nPhi 3;
|
nPhi 3;
|
||||||
nTheta 5;
|
nTheta 5;
|
||||||
convergence 1e-3;
|
|
||||||
maxIter 10;
|
maxIter 10;
|
||||||
|
tolerance 1e-3;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Number of flow iterations per radiation iteration
|
// Number of flow iterations per radiation iteration
|
||||||
|
|||||||
@ -23,8 +23,8 @@ fvDOMCoeffs
|
|||||||
{
|
{
|
||||||
nPhi 3; // azimuthal angles in PI/2 on X-Y.(from Y to X)
|
nPhi 3; // azimuthal angles in PI/2 on X-Y.(from Y to X)
|
||||||
nTheta 5; // polar angles in PI (from Z to X-Y plane)
|
nTheta 5; // polar angles in PI (from Z to X-Y plane)
|
||||||
convergence 1e-3; // convergence criteria for radiation iteration
|
|
||||||
maxIter 10; // maximum number of iterations
|
maxIter 10; // maximum number of iterations
|
||||||
|
tolerance 1e-3; // convergence criteria for radiation iteration
|
||||||
}
|
}
|
||||||
|
|
||||||
// Number of flow iterations per radiation iteration
|
// Number of flow iterations per radiation iteration
|
||||||
|
|||||||
@ -19,7 +19,7 @@ geometry
|
|||||||
sphere
|
sphere
|
||||||
{
|
{
|
||||||
type sphere;
|
type sphere;
|
||||||
centre (0 0 0);
|
origin (0 0 0);
|
||||||
radius 1;
|
radius 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,7 +21,7 @@ geometry
|
|||||||
sphere
|
sphere
|
||||||
{
|
{
|
||||||
type sphere;
|
type sphere;
|
||||||
centre (0 0 0);
|
origin (0 0 0);
|
||||||
radius 1;
|
radius 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,14 +21,14 @@ geometry
|
|||||||
sphere
|
sphere
|
||||||
{
|
{
|
||||||
type sphere;
|
type sphere;
|
||||||
centre (0 0 0);
|
origin (0 0 0);
|
||||||
radius 1;
|
radius 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
innerSphere
|
innerSphere
|
||||||
{
|
{
|
||||||
type sphere;
|
type sphere;
|
||||||
centre (0 0 0);
|
origin (0 0 0);
|
||||||
radius 0.5;
|
radius 0.5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -39,7 +39,7 @@ geometry
|
|||||||
refineHole
|
refineHole
|
||||||
{
|
{
|
||||||
type sphere;
|
type sphere;
|
||||||
centre (0 0 -0.012);
|
origin (0 0 -0.012);
|
||||||
radius 0.003;
|
radius 0.003;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -31,7 +31,7 @@ geometry
|
|||||||
igloo
|
igloo
|
||||||
{
|
{
|
||||||
type searchableSphere;
|
type searchableSphere;
|
||||||
centre (3 3 0);
|
origin (3 3 0);
|
||||||
radius 4;
|
radius 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -27,7 +27,7 @@ regions
|
|||||||
(
|
(
|
||||||
sphereToCell
|
sphereToCell
|
||||||
{
|
{
|
||||||
centre (0.5 0.5 0);
|
origin (0.5 0.5 0);
|
||||||
radius 0.1;
|
radius 0.1;
|
||||||
|
|
||||||
fieldValues
|
fieldValues
|
||||||
|
|||||||
@ -19,6 +19,6 @@ field alpha.water;
|
|||||||
type cylinder;
|
type cylinder;
|
||||||
radius 0.25;
|
radius 0.25;
|
||||||
direction (0 1 0);
|
direction (0 1 0);
|
||||||
centre (0.5 0 0.5);
|
origin (0.5 0 0.5);
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -19,6 +19,6 @@ field "alpha.water";
|
|||||||
type cylinder;
|
type cylinder;
|
||||||
direction (0 1 0);
|
direction (0 1 0);
|
||||||
radius 0.15;
|
radius 0.15;
|
||||||
centre (.5 0 .75);
|
origin (0.5 0 0.75);
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -19,6 +19,6 @@ field "alpha.water";
|
|||||||
type cylinder;
|
type cylinder;
|
||||||
radius 0.15;
|
radius 0.15;
|
||||||
direction (0 1 0);
|
direction (0 1 0);
|
||||||
centre (0.5 0 0.75);
|
origin (0.5 0 0.75);
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -19,6 +19,6 @@ field alpha.water;
|
|||||||
type cylinder;
|
type cylinder;
|
||||||
radius 0.15;
|
radius 0.15;
|
||||||
direction (0 1 0);
|
direction (0 1 0);
|
||||||
centre (0.5 0 0.75);
|
origin (0.5 0 0.75);
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -18,6 +18,6 @@ FoamFile
|
|||||||
field "alpha.water";
|
field "alpha.water";
|
||||||
type sphere;
|
type sphere;
|
||||||
radius 0.15;
|
radius 0.15;
|
||||||
centre (0.35 0.35 0.35);
|
origin (0.35 0.35 0.35);
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -19,7 +19,7 @@ field alpha.water;
|
|||||||
type sin;
|
type sin;
|
||||||
direction (1 0 0);
|
direction (1 0 0);
|
||||||
up (0 0 1);
|
up (0 0 1);
|
||||||
centre (-0.5 0 0.5);
|
origin (-0.5 0 0.5);
|
||||||
period 2;
|
period 2;
|
||||||
amplitude 0.05;
|
amplitude 0.05;
|
||||||
|
|
||||||
|
|||||||
@ -46,7 +46,7 @@ geometry
|
|||||||
refinement1
|
refinement1
|
||||||
{
|
{
|
||||||
type sphere;
|
type sphere;
|
||||||
centre (0 0 0.0025);
|
origin (0 0 0.0025);
|
||||||
radius 0.0075;
|
radius 0.0075;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user