Fix run case

This commit is contained in:
mathiasvangoe
2018-03-01 16:27:27 +01:00
parent 9e30c8934d
commit 1a75b56f89
50 changed files with 25541 additions and 582 deletions

View File

@ -28,7 +28,6 @@ fi
cd $casePath/CFD cd $casePath/CFD
cp -r 0.org 0 cp -r 0.org 0
setFields setFields
decomposePar -force
cd $casePath cd $casePath
./parCFDDEMrun.sh ./parCFDDEMrun.sh

View File

@ -1,41 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
3
(
atmosphere
{
type patch;
nFaces 160;
startFace 2624;
}
walls
{
type wall;
inGroups 1(wall);
nFaces 351;
startFace 2784;
}
outlet
{
type patch;
nFaces 1;
startFace 3135;
}
)
// ************************************************************************* //

View File

@ -13,6 +13,7 @@ reconstructPar -withZero -noLagrangian
foamToVTK foamToVTK
cd $casePath cd $casePath
cp ./CFD/0.org/pSmooth ./CFD/1
cp -r ./CFD/1/ ../run/CFD/1.org cp -r ./CFD/1/ ../run/CFD/1.org
cp ./DEM/post/restart/liggghts.restartCFDEM_1.000000 ../run/DEM/post/restart/liggghts.restart cp ./DEM/post/restart/liggghts.restartCFDEM_1.000000 ../run/DEM/post/restart/liggghts.restart

View File

@ -7,7 +7,9 @@ casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
echo "deleting data at: $casePath :\n" echo "deleting data at: $casePath :\n"
source $WM_PROJECT_DIR/bin/tools/CleanFunctions source $WM_PROJECT_DIR/bin/tools/CleanFunctions
cd $casePath/CFD cd $casePath/CFD
mv 1.org ..
cleanCase cleanCase
mv ../1.org .
rm -r $casePath/CFD/clockData rm -r $casePath/CFD/clockData
rm $casePath/DEM/post/*.* rm $casePath/DEM/post/*.*
touch $casePath/DEM/post/.gitignore touch $casePath/DEM/post/.gitignore
@ -20,6 +22,5 @@ echo "Enter: yes, Ctrl + C: no"
read read
rm $casePath/DEM/post/restart/*.* rm $casePath/DEM/post/restart/*.*
rm -r $casePath/DEM/post/restart/5/

View File

@ -17,21 +17,10 @@ else
./mesh.sh ./mesh.sh
fi fi
# check if initialization was done #run the drainage simulation
if [ -f "$casePath/DEM/post/restart/liggghts.restartCFDEM_5.000000" ]; then cd $casePath
echo "Initialization was run before - using existing restart file" cp -r ./CFD/1.org ./CFD/1
else ./parCFDDEMrun.sh
cd $casePath
bash init.sh
fi
# run the drainage simulation
cd $casePath/CFD
cp system/controlDict.run system/controlDict
cp constant/couplingProperties.run constant couplingProperties
cp -r $casePath/DEM/post/restart/5/ .
decomposePar -force
mpirun -np $nrProcs cfdemSolverMultiphase -parallel |& tee $casePath/log_run
# generate files for post processing # generate files for post processing
cd $casePath cd $casePath

View File

@ -1,49 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object alpha.air;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 0;
boundaryField
{
walls
{
type alphaContactAngle;
thetaProperties
(
( iron slag ) 90 0 0 0
( iron air ) 90 0 0 0
( slag air ) 90 0 0 0
);
value uniform 0;
}
atmosphere
{
type fixedValue;
value uniform 1;
}
outlet
{
type zeroGradient;
}
}
// ************************************************************************* //

View File

@ -1,40 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object alpha.iron;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 0;
boundaryField
{
walls
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
atmosphere
{
type fixedValue;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -1,40 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object alpha.slag;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 0;
boundaryField
{
walls
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
atmosphere
{
type fixedValue;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -1,48 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -3 0 0 0 0];
internalField uniform 0.003;
boundaryField
{
walls
{
type epsilonWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0.003;
}
outlet
{
type inletOutlet;
inletValue uniform 0.003;
value uniform 0.003;
}
atmosphere
{
type fixedValue;
value uniform 0.003;
}
}
// ************************************************************************* //

View File

@ -1,41 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object gradPSmooth;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -2 -2 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
walls
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
atmosphere
{
type zeroGradient;
}
}
// ************************************************************************* //

View File

@ -1,44 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0.001;
boundaryField
{
walls
{
type kqRWallFunction;
value uniform 0.001;
}
outlet
{
type inletOutlet;
inletValue uniform 0.001;
value uniform 0.001;
}
atmosphere
{
type fixedValue;
value uniform 0.001;
}
}
// ************************************************************************* //

View File

@ -1,47 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / 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
{
walls
{
type nutWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0;
}
outlet
{
type calculated;
value uniform 0;
}
atmosphere
{
type calculated;
uniform 0;
}
}
// ************************************************************************* //

View File

@ -1,42 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object voidfraction;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 1;
boundaryField
{
walls
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
atmosphere
{
type fixedValue;
value uniform 1;
}
}
// ************************************************************************* //

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 | | \\ / O peration | Version: 4.x |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -10,7 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0"; location "1";
object Ksl; object Ksl;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -21,6 +21,10 @@ internalField uniform 0;
boundaryField boundaryField
{ {
atmosphere
{
type zeroGradient;
}
walls walls
{ {
type zeroGradient; type zeroGradient;
@ -29,12 +33,6 @@ boundaryField
{ {
type zeroGradient; type zeroGradient;
} }
atmosphere
{
type zeroGradient;
}
} }

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.x | | \\ / O peration | Version: 4.x |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -10,31 +10,29 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "0"; location "1";
object alphas; object KslNext;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0]; dimensions [1 -3 -1 0 0 0 0];
internalField uniform 0; internalField uniform 0;
boundaryField boundaryField
{ {
outlet
{
type zeroGradient;
}
walls
{
type zeroGradient;
}
atmosphere atmosphere
{ {
type zeroGradient; type zeroGradient;
} }
walls
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
} }

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 | | \\ / O peration | Version: 4.x |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,32 +10,30 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
object refField; location "1";
object KslPrev;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 0 0 0 0 0]; dimensions [1 -3 -1 0 0 0 0];
internalField uniform 0; internalField uniform 0;
boundaryField boundaryField
{ {
walls
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
atmosphere atmosphere
{ {
type zeroGradient; type zeroGradient;
} }
walls
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
} }
// ************************************************************************* // // ************************************************************************* //

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 | | \\ / O peration | Version: 4.x |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -10,32 +10,32 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volVectorField; class volVectorField;
location "0"; location "1";
object Us; object expParticleForces;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0]; dimensions [1 1 -2 0 0 0 0];
internalField uniform (0 0 0); internalField uniform (0 0 0);
boundaryField boundaryField
{ {
walls
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
atmosphere atmosphere
{ {
type zeroGradient; type calculated;
value uniform (0 0 0);
}
walls
{
type calculated;
value uniform (0 0 0);
}
outlet
{
type calculated;
value uniform (0 0 0);
} }
} }

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.x | | \\ / O peration | Version: 4.x |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -10,12 +10,12 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volVectorField; class volVectorField;
location "0"; location "1";
object U; object impParticleForces;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0]; dimensions [1 1 -2 0 0 0 0];
internalField uniform (0 0 0); internalField uniform (0 0 0);
@ -23,19 +23,18 @@ boundaryField
{ {
atmosphere atmosphere
{ {
type pressureInletOutletVelocity; type calculated;
value uniform (0 0 0); value uniform (0 0 0);
} }
outlet
{
type fixedValue;
value uniform (0 0 0);
}
walls walls
{ {
type fixedValue; type calculated;
value uniform (0 0 0); value uniform (0 0 0);
}
outlet
{
type calculated;
value uniform (0 0 0);
} }
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 | | \\ / O peration | Version: 4.x |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,6 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class volScalarField;
location "1";
object sSmoothField; object sSmoothField;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -20,22 +21,19 @@ internalField uniform 0;
boundaryField boundaryField
{ {
walls
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
atmosphere atmosphere
{ {
type zeroGradient; type zeroGradient;
} }
walls
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 | | \\ / O peration | Version: 4.x |
| \\ / A nd | Web: www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
@ -9,34 +9,21 @@ FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class volScalarField; class dictionary;
object p_rgh; location "1/uniform";
object time;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0]; value 1.00000000000000067;
internalField uniform 1000; name "1";
boundaryField index 200;
{
walls deltaT 0.005;
{
type fixedFluxPressure;
value uniform 0;
}
outlet deltaT0 0.005;
{
type zeroGradient;
}
atmosphere
{
type fixedValue;
value uniform 0;
}
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 | | \\ / O peration | Version: 4.x |
| \\ / A nd | Web: http://www.OpenFOAM.org | | \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
@ -10,6 +10,7 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class volVectorField; class volVectorField;
location "1";
object vSmoothField; object vSmoothField;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -20,22 +21,19 @@ internalField uniform (0 0 0);
boundaryField boundaryField
{ {
walls
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
atmosphere atmosphere
{ {
type zeroGradient; type zeroGradient;
} }
walls
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -80,7 +80,7 @@ momCoupleModels
implicitCouple implicitCouple
); );
turbulenceModelType "RASProperties";//"LESProperties";// turbulenceModelType "turbulenceProperties"; //"RASProperties";//"LESProperties";//
//===========================================================================// //===========================================================================//
// sub-model properties // sub-model properties
@ -271,12 +271,12 @@ dividedProps
twoWayMPIProps twoWayMPIProps
{ {
liggghtsPath "../DEM/in.liggghts_equilibrate"; liggghtsPath "../DEM/in.liggghts_run";
} }
twoWayM2MProps twoWayM2MProps
{ {
maxNumberOfParticles 10100; maxNumberOfParticles 10100;
liggghtsPath "../DEM/in.liggghts_equilibrate"; liggghtsPath "../DEM/in.liggghts_run";
} }
surfaceTensionForceProps surfaceTensionForceProps
{ {
@ -296,18 +296,14 @@ bigParticleProps
gradPForceSmoothProps gradPForceSmoothProps
{ {
pFieldName "p"; pFieldName "p_rgh";
voidfractionFieldName "voidfraction"; voidfractionFieldName "voidfraction";
velocityFieldName "U"; velocityFieldName "U";
smoothingModel "temporalSmoothing"; smoothingModel "temporalSmoothing";
//smoothingModel "constDiffSmoothing";
//interpolation true;
alpha 1000.0;
temporalSmoothingProps temporalSmoothingProps
{ {
lowerLimit 0.1; lowerLimit 0.1;
upperLimit 1e10; upperLimit 1e10;
//referenceField "p";
referenceField "p_rgh"; referenceField "p_rgh";
alpha 0.01; alpha 0.01;
} }

View File

@ -1,41 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
3
(
atmosphere
{
type patch;
nFaces 160;
startFace 2624;
}
walls
{
type wall;
inGroups 1(wall);
nFaces 351;
startFace 2784;
}
outlet
{
type patch;
nFaces 1;
startFace 3135;
}
)
// ************************************************************************* //

View File

@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RASModel; simulationType laminar;
// ************************************************************************* // // ************************************************************************* //

View File

@ -19,11 +19,11 @@ application pisoFoam;
startFrom startTime; startFrom startTime;
startTime 0; startTime 1;
stopAt endTime; stopAt endTime;
endTime 5; //60 endTime 60;
deltaT 0.005; deltaT 0.005;

View File

@ -17,7 +17,7 @@ FoamFile
solvers solvers
{ {
alpha "alpha.*"
{ {
nAlphaSubCycles 1; nAlphaSubCycles 1;
cAlpha 1; cAlpha 1;

View File

@ -75,7 +75,7 @@ units si
processors 2 2 1 processors 2 2 1
# read the restart file # read the restart file
read_restart ../DEM/post/restart/liggghts.restartCFDEM_5.000000 read_restart ../DEM/post/restart/liggghts.restart
neighbor ${skin} bin neighbor ${skin} bin
neigh_modify delay 0 neigh_modify delay 0

View File

@ -0,0 +1,30 @@
#!/bin/bash
#===================================================================#
# allrun script for testcase as part of test routine
# run settlingTest CFD part
# Christoph Goniva - Feb. 2011
#===================================================================#
#- source CFDEM env vars
. ~/.bashrc
#- include functions
source $CFDEM_PROJECT_DIR/etc/functions.sh
#--------------------------------------------------------------------------------#
#- define variables
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
logpath=$casePath
headerText="run_parallel_cfdemSolverMultiphase_test"
logfileName="log_$headerText"
solverName="cfdemSolverMultiphase"
nrProcs="4"
machineFileName="none" # yourMachinefileName | none
debugMode="off" # on | off| strict
testHarnessPath="$CFDEM_TEST_HARNESS_PATH"
#--------------------------------------------------------------------------------#
#- call function to run a parallel CFD-DEM case
parCFDDEMrun $logpath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode

View File

@ -9,7 +9,7 @@ python $CFDEM_LPP_DIR/lpp.py dump*.liggghts_run
#- get VTK data from CFD sim #- get VTK data from CFD sim
cd $casePath/CFD cd $casePath/CFD
reconstructPar -zeroTime -noLagrangian reconstructPar -noLagrangian
foamToVTK foamToVTK
#rm -r $casePath/CFD/processor* #rm -r $casePath/CFD/processor*