mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
Merged all multiphase developments in OpenFOAM-1.7.x
This commit is contained in:
Binary file not shown.
Binary file not shown.
@ -10,22 +10,23 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object p;
|
||||
object p_rgh;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [1 -1 -2 0 0 0 0];
|
||||
|
||||
internalField uniform 0;
|
||||
internalField uniform 1e5;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
walls
|
||||
{
|
||||
type zeroGradient;
|
||||
type buoyantPressure;
|
||||
value uniform 1e5;
|
||||
}
|
||||
|
||||
defaultFaces
|
||||
defaultFaces
|
||||
{
|
||||
type empty;
|
||||
}
|
||||
5
tutorials/multiphase/compressibleInterFoam/les/depthCharge2D/Allclean
Executable file
5
tutorials/multiphase/compressibleInterFoam/les/depthCharge2D/Allclean
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
foamCleanTutorials cases
|
||||
rm -rf processor*
|
||||
rm -rf 0/p_rgh.gz 0/alpha1.gz
|
||||
@ -9,7 +9,7 @@ application=`getApplication`
|
||||
|
||||
runApplication blockMesh
|
||||
cp 0/alpha1.org 0/alpha1
|
||||
cp 0/p.org 0/p
|
||||
cp 0/p_rgh.org 0/p_rgh
|
||||
runApplication setFields
|
||||
runApplication $application
|
||||
|
||||
|
||||
@ -37,13 +37,13 @@ writeFormat ascii;
|
||||
|
||||
writePrecision 8;
|
||||
|
||||
writeCompression off;
|
||||
writeCompression compressed;
|
||||
|
||||
timeFormat general;
|
||||
|
||||
timePrecision 10;
|
||||
|
||||
runTimeModifiable true;
|
||||
runTimeModifiable yes;
|
||||
|
||||
adjustTimeStep yes;
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ divSchemes
|
||||
div(rho*phi,U) Gauss upwind;
|
||||
div(phi,alpha) Gauss vanLeer;
|
||||
div(phirb,alpha) Gauss interfaceCompression 1;
|
||||
div(phi,p) Gauss upwind;
|
||||
div(phi,p_rgh) Gauss upwind;
|
||||
div(phi,k) Gauss vanLeer;
|
||||
div((nuEff*dev(grad(U).T()))) Gauss linear;
|
||||
}
|
||||
@ -53,7 +53,7 @@ snGradSchemes
|
||||
fluxRequired
|
||||
{
|
||||
default no;
|
||||
p;
|
||||
p_rgh;
|
||||
pcorr;
|
||||
gamma;
|
||||
}
|
||||
|
||||
@ -44,7 +44,7 @@ solvers
|
||||
solver diagonal;
|
||||
}
|
||||
|
||||
p
|
||||
p_rgh
|
||||
{
|
||||
solver GAMG;
|
||||
tolerance 1e-07;
|
||||
@ -59,7 +59,7 @@ solvers
|
||||
mergeLevels 1;
|
||||
}
|
||||
|
||||
pFinal
|
||||
p_rghFinal
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner
|
||||
|
||||
@ -18,24 +18,24 @@ FoamFile
|
||||
defaultFieldValues
|
||||
(
|
||||
volScalarFieldValue alpha1 1
|
||||
volScalarFieldValue p 100000
|
||||
volScalarFieldValue p_rgh 1e5
|
||||
);
|
||||
|
||||
regions
|
||||
(
|
||||
sphereToCell
|
||||
{
|
||||
centre ( 0.5 0.5 0 );
|
||||
centre (0.5 0.5 0);
|
||||
radius 0.1;
|
||||
fieldValues
|
||||
(
|
||||
volScalarFieldValue alpha1 0
|
||||
volScalarFieldValue p 1000000
|
||||
volScalarFieldValue p_rgh 1e6
|
||||
);
|
||||
}
|
||||
boxToCell
|
||||
{
|
||||
box ( -10 1 -1 ) ( 10 10 1 );
|
||||
box (-10 1 -1) (10 10 1);
|
||||
fieldValues
|
||||
(
|
||||
volScalarFieldValue alpha1 0
|
||||
|
||||
@ -10,19 +10,20 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object p.org;
|
||||
object p_rgh;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [1 -1 -2 0 0 0 0];
|
||||
|
||||
internalField uniform 0;
|
||||
internalField uniform 1e5;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
walls
|
||||
{
|
||||
type zeroGradient;
|
||||
type buoyantPressure;
|
||||
value uniform 1e5;
|
||||
}
|
||||
}
|
||||
|
||||
@ -3,6 +3,6 @@ cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
foamCleanTutorials cases
|
||||
rm -rf processor*
|
||||
rm -rf 0/p.gz 0/alpha1.gz
|
||||
rm -rf 0/p_rgh.gz 0/alpha1.gz
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
|
||||
@ -9,7 +9,7 @@ application=`getApplication`
|
||||
|
||||
runApplication blockMesh
|
||||
cp 0/alpha1.org 0/alpha1
|
||||
cp 0/p.org 0/p
|
||||
cp 0/p_rgh.org 0/p_rgh
|
||||
runApplication setFields
|
||||
runApplication decomposePar
|
||||
runParallel $application 4
|
||||
|
||||
@ -37,13 +37,13 @@ writeFormat ascii;
|
||||
|
||||
writePrecision 8;
|
||||
|
||||
writeCompression off;
|
||||
writeCompression compressed;
|
||||
|
||||
timeFormat general;
|
||||
|
||||
timePrecision 10;
|
||||
|
||||
runTimeModifiable true;
|
||||
runTimeModifiable yes;
|
||||
|
||||
adjustTimeStep yes;
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ divSchemes
|
||||
div(rho*phi,U) Gauss upwind;
|
||||
div(phi,alpha) Gauss vanLeer;
|
||||
div(phirb,alpha) Gauss interfaceCompression 1;
|
||||
div(phi,p) Gauss upwind;
|
||||
div(phi,p_rgh) Gauss upwind;
|
||||
div(phi,k) Gauss vanLeer;
|
||||
div((nuEff*dev(grad(U).T()))) Gauss linear;
|
||||
}
|
||||
@ -53,7 +53,7 @@ snGradSchemes
|
||||
fluxRequired
|
||||
{
|
||||
default no;
|
||||
p;
|
||||
p_rgh;
|
||||
pcorr;
|
||||
gamma;
|
||||
}
|
||||
|
||||
@ -44,7 +44,7 @@ solvers
|
||||
solver diagonal;
|
||||
}
|
||||
|
||||
p
|
||||
p_rgh
|
||||
{
|
||||
solver GAMG;
|
||||
tolerance 1e-07;
|
||||
@ -59,7 +59,7 @@ solvers
|
||||
mergeLevels 1;
|
||||
}
|
||||
|
||||
pFinal
|
||||
p_rghFinal
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner
|
||||
|
||||
@ -18,24 +18,24 @@ FoamFile
|
||||
defaultFieldValues
|
||||
(
|
||||
volScalarFieldValue alpha1 1
|
||||
volScalarFieldValue p 100000
|
||||
volScalarFieldValue p_rgh 1e5
|
||||
);
|
||||
|
||||
regions
|
||||
(
|
||||
sphereToCell
|
||||
{
|
||||
centre ( 0.5 0.5 0.5 );
|
||||
centre (0.5 0.5 0.5);
|
||||
radius 0.1;
|
||||
fieldValues
|
||||
(
|
||||
volScalarFieldValue alpha1 0
|
||||
volScalarFieldValue p 1000000
|
||||
volScalarFieldValue p_rgh 1e6
|
||||
);
|
||||
}
|
||||
boxToCell
|
||||
{
|
||||
box ( -10 1 -1 ) ( 10 10 1 );
|
||||
box (-10 1 -1) (10 10 1);
|
||||
fieldValues
|
||||
(
|
||||
volScalarFieldValue alpha1 0
|
||||
|
||||
Reference in New Issue
Block a user