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
00fbaf62
Commit
00fbaf62
authored
Feb 13, 2009
by
Andrew Heather
Browse files
more updates...
parent
a5b039b4
Changes
72
Hide whitespace changes
Inline
Side-by-side
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/alpha1
View file @
00fbaf62
...
...
@@ -10,7 +10,7 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
object
gamma
;
object
alpha1
;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/alp
a
h1.org
→
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0-orig/alph
a
1.org
View file @
00fbaf62
...
...
@@ -10,7 +10,7 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
object
gamma
;
object
alpha1
;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/alpha1
View file @
00fbaf62
...
...
@@ -11,7 +11,7 @@ FoamFile
format ascii;
class volScalarField;
location "0";
object
gamma
;
object
alpha1
;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/0/alpha1.org
View file @
00fbaf62
...
...
@@ -10,7 +10,7 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
object
gamma
;
object
alpha1
;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/fvSchemes
View file @
00fbaf62
...
...
@@ -24,7 +24,7 @@ gradSchemes
{
default Gauss linear;
grad(U) Gauss linear;
grad(
gamm
a) Gauss linear;
grad(
alph
a) Gauss linear;
}
divSchemes
...
...
tutorials/multiphase/interDyMFoam/damBreakWithObstacle/system/setFieldsDict
View file @
00fbaf62
...
...
@@ -28,7 +28,7 @@ regions
box ( 0 0 0 ) ( 0.6 0.1875 0.75 );
fieldValues
(
volScalarFieldValue
gamma
1
volScalarFieldValue
alpha1
1
);
}
);
...
...
tutorials/multiphase/interDyMFoam/sloshingTank2D/0/
gamma.org
→
tutorials/multiphase/interDyMFoam/sloshingTank2D/0/
alpha1
View file @
00fbaf62
...
...
@@ -10,7 +10,7 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
object
gamma
;
object
alpha1
;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
tutorials/multiphase/interDyMFoam/sloshingTank2D
3DoF/0/gamma
.org
→
tutorials/multiphase/interDyMFoam/sloshingTank2D
/0/alpha1
.org
View file @
00fbaf62
...
...
@@ -10,7 +10,7 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
object
gamma
;
object
alpha1
;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
tutorials/multiphase/interDyMFoam/sloshingTank2D/Allclean
View file @
00fbaf62
#!/bin/sh
foamCleanTutorials cases
rm
-rf
0/
gamma
.gz probes wallPressure pRefProbe
rm
-rf
0/
alpha1
.gz probes wallPressure pRefProbe
tutorials/multiphase/interDyMFoam/sloshingTank2D/Allrun
View file @
00fbaf62
...
...
@@ -4,6 +4,6 @@
m4 constant/polyMesh/blockMeshDict.m4
>
constant/polyMesh/blockMeshDict
runApplication blockMesh
cp
0/
gamma
.org 0/
gamma
cp
0/
alpha1
.org 0/
alpha1
runApplication setFields
runApplication interDyMFoam
tutorials/multiphase/interDyMFoam/sloshingTank2D/constant/turbulenceProperties
0 → 100644
View file @
00fbaf62
/*--------------------------------*- 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/sloshingTank2D/system/fvSchemes
View file @
00fbaf62
...
...
@@ -24,14 +24,14 @@ gradSchemes
{
default Gauss linear;
grad(U) Gauss linear;
grad(
gamma
) Gauss linear;
grad(
alpha1
) Gauss linear;
}
divSchemes
{
div(rho*phi,U) Gauss vanLeerV;
div(phi,
gamm
a) Gauss vanLeer;
div(phirb,
gamm
a) Gauss vanLeer;
div(phi,
alph
a) Gauss vanLeer;
div(phirb,
alph
a) Gauss vanLeer;
}
laplacianSchemes
...
...
@@ -54,7 +54,7 @@ fluxRequired
default no;
pd ;
pcorr ;
gamm
a ;
alph
a ;
}
...
...
tutorials/multiphase/interDyMFoam/sloshingTank2D/system/fvSolution
View file @
00fbaf62
...
...
@@ -94,14 +94,20 @@ PISO
momentumPredictor no;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
n
Gamm
aCorr 1;
n
Gamm
aSubCycles 3;
c
Gamm
a 1.5;
n
Alph
aCorr 1;
n
Alph
aSubCycles 3;
c
Alph
a 1.5;
correctPhi no;
pRefProbe
{
fields ( p );
probeLocations ( ( 0 0 0.15 ) );
fields
(
p
);
probeLocations
(
( 0 0 0.15 )
);
}
pRefValue 100000;
...
...
tutorials/multiphase/interDyMFoam/sloshingTank2D/system/setFieldsDict
View file @
00fbaf62
...
...
@@ -15,9 +15,19 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
defaultFieldValues ( volScalarFieldValue gamma 0 );
defaultFieldValues
(
volScalarFieldValue alpha1 0
);
regions ( boxToCell { box ( -100 -100 -100 ) ( 100 100 0 ) ; fieldValues ( volScalarFieldValue gamma 1 ) ; } );
regions
(
boxToCell
{
box ( -100 -100 -100 ) ( 100 100 0 );
fieldValues ( volScalarFieldValue alpha1 1 );
}
);
// ************************************************************************* //
tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/0/alpha1
0 → 100644
View file @
00fbaf62
/*--------------------------------*- 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 volScalarField;
object alpha1;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 0;
boundaryField
{
front
{
type empty;
}
back
{
type empty;
}
walls
{
type zeroGradient;
}
}
// ************************************************************************* //
tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/0/alpha1.org
0 → 100644
View file @
00fbaf62
/*--------------------------------*- 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 volScalarField;
object alpha1;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 0;
boundaryField
{
front
{
type empty;
}
back
{
type empty;
}
walls
{
type zeroGradient;
}
}
// ************************************************************************* //
tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/Allclean
View file @
00fbaf62
#!/bin/sh
foamCleanTutorials cases
rm
-rf
0/
gamma
.gz probes wallPressure pRefProbe
rm
-rf
0/
alpha1
.gz probes wallPressure pRefProbe
tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/Allrun
View file @
00fbaf62
...
...
@@ -4,6 +4,6 @@
m4 constant/polyMesh/blockMeshDict.m4
>
constant/polyMesh/blockMeshDict
runApplication blockMesh
cp
0/
gamma
.org 0/
gamma
cp
0/
alpha1
.org 0/
alpha1
runApplication setFields
runApplication interDyMFoam
tutorials/multiphase/interDyMFoam/sloshingTank2D3DoF/constant/turbulenceProperties
0 → 100644
View file @
00fbaf62
/*--------------------------------*- 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/sloshingTank2D3DoF/system/fvSchemes
View file @
00fbaf62
...
...
@@ -24,14 +24,14 @@ gradSchemes
{
default Gauss linear;
grad(U) Gauss linear;
grad(
gamm
a) Gauss linear;
grad(
alph
a) Gauss linear;
}
divSchemes
{
div(rho*phi,U) Gauss vanLeerV;
div(phi,
gamm
a) Gauss vanLeer;
div(phirb,
gamm
a) Gauss vanLeer;
div(phi,
alph
a) Gauss vanLeer;
div(phirb,
alph
a) Gauss vanLeer;
}
laplacianSchemes
...
...
@@ -54,7 +54,7 @@ fluxRequired
default no;
pd ;
pcorr ;
gamm
a ;
alph
a ;
}
...
...
Prev
1
2
3
4
Next
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