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
a5b039b4
Commit
a5b039b4
authored
Feb 13, 2009
by
Andrew Heather
Browse files
updates
parent
4b81f443
Changes
54
Hide whitespace changes
Inline
Side-by-side
tutorials/multiphase/cavitatingFoam/les/throttle/constant/LESProperties
View file @
a5b039b4
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version:
dev
|
| \\ / O peration | Version:
1.5
|
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
...
...
@@ -15,7 +15,9 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESModel devOneEqEddy;
LESModel oneEqEddy;
turbulence on;
delta smooth;
...
...
tutorials/multiphase/cavitatingFoam/les/throttle/system/fvSolution
View file @
a5b039b4
...
...
@@ -50,6 +50,20 @@ solvers
}
p
{
solver GAMG;
tolerance 0;
relTol 0.1;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}
pFinal
{
solver GAMG;
tolerance 1e-08;
...
...
tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/LESProperties
View file @
a5b039b4
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version:
dev
|
| \\ / O peration | Version:
1.5
|
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
...
...
@@ -15,7 +15,9 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESModel devOneEqEddy;
LESModel oneEqEddy;
turbulence on;
delta smooth;
...
...
tutorials/multiphase/cavitatingFoam/les/throttle3D/constant/turbulenceProperties
0 → 100644
View file @
a5b039b4
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format binary;
class dictionary;
location "constant";
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType LESModel;
// ************************************************************************* //
tutorials/multiphase/cavitatingFoam/les/throttle3D/system/fvSolution
View file @
a5b039b4
...
...
@@ -50,6 +50,20 @@ solvers
}
p
{
solver GAMG;
tolerance 0;
relTol 0.1;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}
pFinal
{
solver GAMG;
tolerance 1e-08;
...
...
tutorials/multiphase/cavitatingFoam/ras/throttle/0/k
View file @
a5b039b4
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version:
1.5
|
| \\ / A nd | Web:
http://
www.OpenFOAM.org |
| \\ / O peration | Version:
dev
|
| \\ / A nd | Web: www.OpenFOAM.org
|
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
...
...
@@ -10,13 +10,14 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0];
dimensions [0 2 -2 0
0 0
0];
internalField uniform 10
.0
;
internalField uniform 10;
boundaryField
{
...
...
@@ -26,21 +27,20 @@ boundaryField
intensity 0.05;
value uniform 0.05;
}
outlet
{
type zeroGradient;
}
walls
{
type zeroGradient;
type kQRWallFunction;
value uniform 10;
}
frontBack
{
type empty;
}
}
// ************************************************************************* //
tutorials/multiphase/cavitatingFoam/ras/throttle/0/nut
0 → 100644
View file @
a5b039b4
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
inlet
{
type calculated;
value uniform 0;
}
outlet
{
type calculated;
value uniform 0;
}
walls
{
type nutWallFunction;
value uniform 0;
}
frontBack
{
type empty;
}
}
// ************************************************************************* //
tutorials/multiphase/cavitatingFoam/ras/throttle/0/omega
View file @
a5b039b4
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version:
1.5
|
| \\ / A nd | Web:
http://
www.OpenFOAM.org |
| \\ / O peration | Version:
dev
|
| \\ / A nd | Web: www.OpenFOAM.org
|
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
...
...
@@ -10,11 +10,12 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object omega;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 -1 0 0];
dimensions [0 0 -1 0
0 0
0];
internalField uniform 77200;
...
...
@@ -23,25 +24,24 @@ boundaryField
inlet
{
type turbulentMixingLengthFrequencyInlet;
mixingLength 0.
5e-03
;
mixingLength 0.
0005
;
k k;
value uniform 77200;
}
outlet
{
type zeroGradient;
}
walls
{
type zeroGradient;
type omegaWallFunction;
value uniform 77200;
}
frontBack
{
type empty;
}
}
// ************************************************************************* //
tutorials/multiphase/cavitatingFoam/ras/throttle/system/fvSolution
View file @
a5b039b4
...
...
@@ -50,6 +50,20 @@ solvers
}
p
{
solver GAMG;
tolerance 0;
relTol 0.1;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}
pFinal
{
solver GAMG;
tolerance 1e-08;
...
...
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/
gamma
→
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/
alpah1.org
View file @
a5b039b4
File moved
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/
gamma.org
→
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/
alpha1
View file @
a5b039b4
File moved
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/U
View file @
a5b039b4
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version:
1.5
|
| \\ / A nd | Web:
http://
www.OpenFOAM.org |
| \\ / O peration | Version:
dev
|
| \\ / A nd | Web: www.OpenFOAM.org
|
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
...
...
@@ -10,6 +10,7 @@ FoamFile
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -23,7 +24,6 @@ boundaryField
atmosphere
{
type pressureInletOutletVelocity;
phi phi;
value uniform (0 0 0);
}
walls
...
...
@@ -33,4 +33,5 @@ boundaryField
}
}
// ************************************************************************* //
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/
gamma
→
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/
alpha1
View file @
a5b039b4
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version:
1.5
|
| \\ / A nd | Web:
http://
www.OpenFOAM.org |
| \\ / O peration | Version:
dev
|
| \\ / A nd | Web: www.OpenFOAM.org
|
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
...
...
@@ -10,6 +10,7 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object gamma;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
@@ -32804,4 +32805,5 @@ boundaryField
}
}
// ************************************************************************* //
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/
gamma
.org
→
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/
alpha1
.org
View file @
a5b039b4
File moved
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/dynamicMeshDict
View file @
a5b039b4
...
...
@@ -20,14 +20,20 @@ dynamicFvMesh dynamicRefineFvMesh;
dynamicRefineFvMeshCoeffs
{
refineInterval 1;
field
gamma
;
field
alpha1
;
lowerRefineLevel 0.001;
upperRefineLevel 0.999;
unrefineLevel 10;
nBufferLayers 1;
maxRefinement 2;
maxCells 200000;
correctFluxes ( ( phi U ) );
correctFluxes
(
(
phi
U
)
);
dumpLevel true;
}
...
...
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/constant/turbulenceProperties
0 → 100644
View file @
a5b039b4
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType laminar;
// ************************************************************************* //
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/fvSchemes
View file @
a5b039b4
...
...
@@ -30,8 +30,8 @@ gradSchemes
divSchemes
{
div(rho*phi,U) Gauss upwind;
div(phi,
gamm
a) Gauss vanLeer;
div(phirb,
gamm
a) Gauss interfaceCompression;
div(phi,
alph
a) Gauss vanLeer;
div(phirb,
alph
a) Gauss interfaceCompression;
}
laplacianSchemes
...
...
@@ -54,7 +54,7 @@ fluxRequired
default no;
pd ;
pcorr ;
gamm
a ;
alph
a ;
}
...
...
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/fvSolution
View file @
a5b039b4
...
...
@@ -118,9 +118,9 @@ PISO
momentumPredictor no;
nCorrectors 3;
nNonOrthogonalCorrectors 0;
n
Gamm
aCorr 1;
n
Gamm
aSubCycles 3;
c
Gamm
a 1;
n
Alph
aCorr 1;
n
Alph
aSubCycles 3;
c
Alph
a 1;
pdRefCell 0;
pdRefValue 0;
pRefProbe
...
...
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/setFieldsDict
View file @
a5b039b4
...
...
@@ -15,9 +15,23 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
defaultFieldValues ( volScalarFieldValue gamma 0 volVectorFieldValue U ( 0 0 0 ) );
defaultFieldValues
(
volScalarFieldValue alpha1 0
volVectorFieldValue U ( 0 0 0 )
);
regions ( boxToCell { box ( 0 0 0 ) ( 0.6 0.1875 0.75 ) ; fieldValues ( volScalarFieldValue gamma 1 ) ; } );
regions
(
boxToCell
{
box ( 0 0 0 ) ( 0.6 0.1875 0.75 );
fieldValues
(
volScalarFieldValue gamma 1
);
}
);
// ************************************************************************* //
tutorials/multiphaseInterFoam/damBreak4phase/0/U
→
tutorials/
multiphase/
multiphaseInterFoam/damBreak4phase/0/U
View file @
a5b039b4
File moved
Prev
1
2
3
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