mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
delete old case
This commit is contained in:
@ -1,28 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#cd ${0%/*} || exit 1 # run from this directory
|
|
||||||
|
|
||||||
# Source tutorial run functions
|
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
|
||||||
source $CFDEM_SRC_DIR/lagrangian/cfdemParticle/etc/functions.sh
|
|
||||||
|
|
||||||
#- define variables
|
|
||||||
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
|
|
||||||
cd $casePath/CFD
|
|
||||||
cleanCase
|
|
||||||
rm $casePath/CFD/shrink*.dat
|
|
||||||
rm $casePath/CFD/rmass*.dat
|
|
||||||
rm $casePath/log*
|
|
||||||
rm $casePath/run_error.log
|
|
||||||
#cp -R 0/Org/p 0/p
|
|
||||||
#cp -R 0/Org/U 0/U
|
|
||||||
#cp -R 0/Org/Us 0/Us
|
|
||||||
#cp -R 0/Org/phiIB 0/phiIB
|
|
||||||
#cp -R 0/Org/voidfraction 0/voidfraction
|
|
||||||
|
|
||||||
rm -R $casePath/DEM/post
|
|
||||||
mkdir $casePath/DEM/post
|
|
||||||
mkdir $casePath/DEM/post/restart
|
|
||||||
#cd $casePath/DEM/post/restart
|
|
||||||
#touch liggghts.restart
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
|
||||||
@ -1,31 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
#===================================================================#
|
|
||||||
# allrun script for testcase as part of test routine
|
|
||||||
# run settlingTest
|
|
||||||
# Christoph Goniva - Sept. 2010
|
|
||||||
#===================================================================#
|
|
||||||
|
|
||||||
#- define variables
|
|
||||||
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
|
|
||||||
export casePath
|
|
||||||
|
|
||||||
# check if mesh was built
|
|
||||||
if [ -f "$casePath/CFD/constant/polyMesh/points" ]; then
|
|
||||||
echo "mesh was built before - using old mesh"
|
|
||||||
else
|
|
||||||
echo "mesh needs to be built"
|
|
||||||
cd $casePath/CFD
|
|
||||||
blockMesh
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -f "$casePath/DEM/post/restart/liggghts.restart" ]; then
|
|
||||||
echo "LIGGGHTS init was run before - using existing restart file"
|
|
||||||
else
|
|
||||||
#- run DEM in new terminal
|
|
||||||
$casePath/parDEMrun.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
#- run parallel CFD-DEM in new terminal
|
|
||||||
gnome-terminal -e "bash $casePath/parCFDDEMrun.sh"
|
|
||||||
#bash $casePath/parCFDDEMrun.sh
|
|
||||||
@ -1,51 +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 CO;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 0 0 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 0.0;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,51 +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 CO2;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 0 0 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 0.0;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,51 +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 Ksl;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [1 -3 -1 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 0;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,51 +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 O2;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 0 0 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 1;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,51 +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 Qsource;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [1 -1 -3 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 0;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,51 +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 T;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 0 0 1 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 293.15;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,50 +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 volVectorField;
|
|
||||||
location "0";
|
|
||||||
object U;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 1 -1 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform (0.0 0 0);
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
// Walls in no slip condition
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type fixedValue;
|
|
||||||
value uniform (0.0 0 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -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 volVectorField;
|
|
||||||
location "0";
|
|
||||||
object Us;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 1 -1 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform (0 0 0);
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,47 +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 alphat;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [1 -1 -1 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 0;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,53 +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 epsilon;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 2 -3 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 0.003;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
// If turbulence is present
|
|
||||||
/*
|
|
||||||
* type compressible::turbulentMixingLengthDissipationRateInlet;
|
|
||||||
* mixingLength 0.005;
|
|
||||||
* value uniform 200;
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,47 +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 k;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 2 -2 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 0.001;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,48 +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 mut;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [1 -1 -1 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 0;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,51 +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
|
|
||||||
{
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -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 p;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [1 -1 -2 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 101325;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type fixedValue;
|
|
||||||
value uniform 101325;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,52 +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 p;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [1 -1 -2 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 101325;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type fixedValue;
|
|
||||||
value uniform 101325;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,50 +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 volScalarField;
|
|
||||||
object rho;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [1 -3 0 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 1.331;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,52 +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 volScalarField;
|
|
||||||
object thDiff;
|
|
||||||
location "0";
|
|
||||||
object T;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 2 -1 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 0.0;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
|
|
||||||
@ -1,50 +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
|
|
||||||
{
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,24 +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 dictionary;
|
|
||||||
location "constant";
|
|
||||||
object RASProperties;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
RASModel laminar; //kEpsilon;
|
|
||||||
|
|
||||||
turbulence off; //on;
|
|
||||||
|
|
||||||
printCoeffs no; //yes;
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,41 +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 dictionary;
|
|
||||||
location "constant";
|
|
||||||
object chemistryProperties;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
chemistry off; //on;
|
|
||||||
|
|
||||||
chemistryType
|
|
||||||
{
|
|
||||||
chemistrySolver ode;
|
|
||||||
chemistryThermo psi;
|
|
||||||
}
|
|
||||||
|
|
||||||
initialChemicalTimeStep 1e-07;
|
|
||||||
|
|
||||||
EulerImplicitCoeffs
|
|
||||||
{
|
|
||||||
cTauChem 0.05;
|
|
||||||
equilibriumRateLimiter off;
|
|
||||||
}
|
|
||||||
|
|
||||||
odeCoeffs
|
|
||||||
{
|
|
||||||
solver seulex;
|
|
||||||
eps 0.05;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,35 +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 dictionary;
|
|
||||||
location "constant";
|
|
||||||
object combustionProperties;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
combustionModel noCombustion<psiThermoCombustion>;//laminar<psiChemistryCombustion>;////noCombustion<psiThermoCombustion>;//PaSR<psiChemistryCombustion>;
|
|
||||||
|
|
||||||
active false; //true;
|
|
||||||
|
|
||||||
|
|
||||||
noCombustionCoeffs
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
/*
|
|
||||||
PaSRCoeffs
|
|
||||||
{
|
|
||||||
Cmix 1.0;
|
|
||||||
turbulentReaction on;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,322 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------*\
|
|
||||||
| ========= | |
|
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
||||||
| \\ / O peration | Version: 1.4 |
|
|
||||||
| \\ / A nd | Web: http://www.openfoam.org |
|
|
||||||
| \\/ M anipulation | |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
|
|
||||||
root "";
|
|
||||||
case "";
|
|
||||||
instance "";
|
|
||||||
local "";
|
|
||||||
|
|
||||||
class dictionary;
|
|
||||||
object couplingProperties;
|
|
||||||
}
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
//===========================================================================//
|
|
||||||
// sub-models & settings
|
|
||||||
|
|
||||||
//syncMode false;
|
|
||||||
//verbose;
|
|
||||||
|
|
||||||
modelType "A"; // A or B
|
|
||||||
|
|
||||||
couplingInterval 100;//1000;
|
|
||||||
|
|
||||||
voidFractionModel divided;//centre;//
|
|
||||||
|
|
||||||
locateModel engine;//turboEngineM2M;//
|
|
||||||
|
|
||||||
meshMotionModel noMeshMotion;
|
|
||||||
|
|
||||||
regionModel allRegion;
|
|
||||||
|
|
||||||
IOModel basicIO;
|
|
||||||
|
|
||||||
probeModel off;
|
|
||||||
|
|
||||||
dataExchangeModel twoWayMPI;//twoWayM2M;//twoWayFiles;//oneWayVTK;//
|
|
||||||
|
|
||||||
averagingModel dilute;//dense;////
|
|
||||||
|
|
||||||
clockModel off;//standardClock;//off;
|
|
||||||
|
|
||||||
smoothingModel off;// localPSizeDiffSmoothing;// constDiffSmoothing; //
|
|
||||||
|
|
||||||
forceModels
|
|
||||||
(
|
|
||||||
//GidaspowDrag
|
|
||||||
//BeetstraDrag
|
|
||||||
//DiFeliceDrag
|
|
||||||
gradPForce
|
|
||||||
viscForce
|
|
||||||
//KochHillDrag
|
|
||||||
//DEMbasedDrag
|
|
||||||
//RongDrag
|
|
||||||
//Archimedes
|
|
||||||
//volWeightedAverage
|
|
||||||
//totalMomentumExchange
|
|
||||||
//particleCellVolume
|
|
||||||
//fieldTimeAverage
|
|
||||||
//LaEuScalarTemp
|
|
||||||
);
|
|
||||||
|
|
||||||
energyModels
|
|
||||||
(
|
|
||||||
//energyModel
|
|
||||||
//heatTransferGunn
|
|
||||||
//reactionHeat
|
|
||||||
);
|
|
||||||
|
|
||||||
thermCondModel off;//SyamlalThermCond;//thermCondModel;
|
|
||||||
|
|
||||||
chemistryModel species;
|
|
||||||
|
|
||||||
momCoupleModels
|
|
||||||
(
|
|
||||||
implicitCouple
|
|
||||||
);
|
|
||||||
|
|
||||||
turbulenceModelType "RASProperties";//"LESProperties";//
|
|
||||||
|
|
||||||
//===========================================================================//
|
|
||||||
// sub-model properties
|
|
||||||
reactionHeatProps
|
|
||||||
{
|
|
||||||
reactionHeatName "reactionHeat";
|
|
||||||
}
|
|
||||||
|
|
||||||
speciesProps
|
|
||||||
{
|
|
||||||
ChemistryFile "$casePath/CFD/constant/foam.inp";
|
|
||||||
tempFieldName "T";
|
|
||||||
partTempName "partTemp";
|
|
||||||
densityFieldName "rho";
|
|
||||||
partRhoName "partRho";
|
|
||||||
voidfractionFieldName "voidfraction";
|
|
||||||
}
|
|
||||||
|
|
||||||
SyamlalThermCondProps
|
|
||||||
{
|
|
||||||
voidfractionFieldName "voidfraction";
|
|
||||||
rhoFieldName "rho";
|
|
||||||
}
|
|
||||||
|
|
||||||
LaEuScalarTempProps
|
|
||||||
{
|
|
||||||
velFieldName "U";
|
|
||||||
tempFieldName "T";
|
|
||||||
voidfractionFieldName "voidfraction";
|
|
||||||
partTempName "Temp";
|
|
||||||
partHeatFluxName "convectiveHeatFlux";
|
|
||||||
lambda 0.0256;
|
|
||||||
Cp 1007;
|
|
||||||
}
|
|
||||||
|
|
||||||
localPSizeDiffSmoothingProps
|
|
||||||
{
|
|
||||||
lowerLimit 0.1;
|
|
||||||
upperLimit 1e10;
|
|
||||||
dSmoothingLength 1.5e-3;
|
|
||||||
Csmoothing 1.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
constDiffSmoothingProps
|
|
||||||
{
|
|
||||||
lowerLimit 0.1;
|
|
||||||
upperLimit 1e10;
|
|
||||||
smoothingLength 1.5e-3;
|
|
||||||
}
|
|
||||||
|
|
||||||
implicitCoupleProps
|
|
||||||
{
|
|
||||||
velFieldName "U";
|
|
||||||
granVelFieldName "Us";
|
|
||||||
voidfractionFieldName "voidfraction";
|
|
||||||
}
|
|
||||||
|
|
||||||
ArchimedesProps
|
|
||||||
{
|
|
||||||
gravityFieldName "g";
|
|
||||||
}
|
|
||||||
|
|
||||||
gradPForceProps
|
|
||||||
{
|
|
||||||
pFieldName "p";
|
|
||||||
voidfractionFieldName "voidfraction";
|
|
||||||
velocityFieldName "U";
|
|
||||||
interpolation true;
|
|
||||||
}
|
|
||||||
|
|
||||||
viscForceProps
|
|
||||||
{
|
|
||||||
velocityFieldName "U";
|
|
||||||
interpolation true;
|
|
||||||
}
|
|
||||||
|
|
||||||
volWeightedAverageProps
|
|
||||||
{
|
|
||||||
scalarFieldNames
|
|
||||||
(
|
|
||||||
voidfraction
|
|
||||||
);
|
|
||||||
vectorFieldNames
|
|
||||||
(
|
|
||||||
);
|
|
||||||
upperThreshold 0.999;
|
|
||||||
lowerThreshold 0;
|
|
||||||
verbose true;
|
|
||||||
}
|
|
||||||
|
|
||||||
totalMomentumExchangeProps
|
|
||||||
{
|
|
||||||
implicitMomExFieldName "Ksl";
|
|
||||||
explicitMomExFieldName "none";
|
|
||||||
fluidVelFieldName "U";
|
|
||||||
granVelFieldName "Us";
|
|
||||||
}
|
|
||||||
|
|
||||||
GidaspowDragProps
|
|
||||||
{
|
|
||||||
verbose true;
|
|
||||||
velFieldName "U";
|
|
||||||
voidfractionFieldName "voidfraction";
|
|
||||||
interpolation true;
|
|
||||||
phi 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
DEMbasedDragProps
|
|
||||||
{
|
|
||||||
velFieldName "U";
|
|
||||||
voidfractionFieldName "voidfraction";
|
|
||||||
}
|
|
||||||
|
|
||||||
DiFeliceDragProps
|
|
||||||
{
|
|
||||||
//verbose true;
|
|
||||||
velFieldName "U";
|
|
||||||
voidfractionFieldName "voidfraction";
|
|
||||||
granVelFieldName "Us";
|
|
||||||
interpolation true;
|
|
||||||
}
|
|
||||||
|
|
||||||
KochHillDragProps
|
|
||||||
{
|
|
||||||
//verbose true;
|
|
||||||
velFieldName "U";
|
|
||||||
voidfractionFieldName "voidfraction";
|
|
||||||
interpolation true;
|
|
||||||
//forceSubModels
|
|
||||||
//(
|
|
||||||
// ImExCorr
|
|
||||||
//);
|
|
||||||
implForceDEM true;
|
|
||||||
//implForceDEMaccumulated true;
|
|
||||||
//explicitCorr true;
|
|
||||||
}
|
|
||||||
|
|
||||||
BeetstraDragProps
|
|
||||||
{
|
|
||||||
velFieldName "U";
|
|
||||||
gravityFieldName "g";
|
|
||||||
rhoParticle 2000.;
|
|
||||||
voidfractionFieldName "voidfraction";
|
|
||||||
interpolation ;
|
|
||||||
useFilteredDragModel ;
|
|
||||||
useParcelSizeDependentFilteredDrag ;
|
|
||||||
k 0.05;
|
|
||||||
aLimit 0.0;
|
|
||||||
// verbose true;
|
|
||||||
}
|
|
||||||
|
|
||||||
RongDragProps
|
|
||||||
{
|
|
||||||
verbose true;
|
|
||||||
velFieldName "U";
|
|
||||||
voidfractionFieldName "voidfraction";
|
|
||||||
interpolation true;
|
|
||||||
implForceDEM true;
|
|
||||||
implForceDEMaccumulated true;
|
|
||||||
granVelFieldName "Us";
|
|
||||||
}
|
|
||||||
|
|
||||||
virtualMassForceProps
|
|
||||||
{
|
|
||||||
velFieldName "U";
|
|
||||||
}
|
|
||||||
|
|
||||||
particleCellVolumeProps
|
|
||||||
{
|
|
||||||
upperThreshold 0.999;
|
|
||||||
lowerThreshold 0.;
|
|
||||||
verbose true;
|
|
||||||
}
|
|
||||||
|
|
||||||
fieldStoreProps
|
|
||||||
{
|
|
||||||
scalarFieldNames
|
|
||||||
(
|
|
||||||
);
|
|
||||||
|
|
||||||
vectorFieldNames
|
|
||||||
(
|
|
||||||
"U"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
oneWayVTKProps
|
|
||||||
{
|
|
||||||
couplingFilename "vtk_out%4.4d.vtk";
|
|
||||||
maxNumberOfParticles 30000;
|
|
||||||
}
|
|
||||||
|
|
||||||
twoWayFilesProps
|
|
||||||
{
|
|
||||||
maxNumberOfParticles 10100;
|
|
||||||
}
|
|
||||||
|
|
||||||
centreProps
|
|
||||||
{
|
|
||||||
alphaMin 0.1;
|
|
||||||
}
|
|
||||||
|
|
||||||
engineProps
|
|
||||||
{
|
|
||||||
treeSearch true;
|
|
||||||
}
|
|
||||||
|
|
||||||
turboEngineM2MProps
|
|
||||||
{
|
|
||||||
turboEngineProps
|
|
||||||
{
|
|
||||||
treeSearch true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dividedProps
|
|
||||||
{
|
|
||||||
alphaMin 0.01;
|
|
||||||
scaleUpVol 1.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
twoWayMPIProps
|
|
||||||
{
|
|
||||||
liggghtsPath "../DEM/in.liggghts_run";
|
|
||||||
}
|
|
||||||
|
|
||||||
twoWayM2MProps
|
|
||||||
{
|
|
||||||
maxNumberOfParticles 10100;
|
|
||||||
liggghtsPath "../DEM/in.liggghts_run";
|
|
||||||
}
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,89 +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 dictionary;
|
|
||||||
location "constant";
|
|
||||||
object foam.dat;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
// Sutherland coefficients not valid must be checked before real cases
|
|
||||||
|
|
||||||
CO2
|
|
||||||
{
|
|
||||||
specie
|
|
||||||
{
|
|
||||||
nMoles 1;
|
|
||||||
molWeight 44.01;
|
|
||||||
}
|
|
||||||
thermodynamics
|
|
||||||
{
|
|
||||||
Tlow 0;
|
|
||||||
Thigh 5000;
|
|
||||||
Tcommon 1000;
|
|
||||||
highCpCoeffs ( 3.85746 0.00441437 -2.21481e-06 5.2349e-10 -4.72084e-14 -48759.2 2.27164 );
|
|
||||||
lowCpCoeffs ( 2.35677 0.0089846 -7.12356e-06 2.45919e-09 -1.437e-13 -48372 9.90105 );
|
|
||||||
}
|
|
||||||
transport
|
|
||||||
{
|
|
||||||
As 1.67212e-06;
|
|
||||||
Ts 170.6;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
O2
|
|
||||||
{
|
|
||||||
specie
|
|
||||||
{
|
|
||||||
nMoles 1;
|
|
||||||
molWeight 31.9988;
|
|
||||||
}
|
|
||||||
thermodynamics
|
|
||||||
{
|
|
||||||
Tlow 0;
|
|
||||||
Thigh 5000;
|
|
||||||
Tcommon 1000;
|
|
||||||
highCpCoeffs ( 3.28254 0.00148309 -7.57967e-07 2.09471e-10 -2.16718e-14 -1088.46 5.45323 );
|
|
||||||
lowCpCoeffs ( 3.78246 -0.00299673 9.8473e-06 -9.6813e-09 3.24373e-12 -1063.94 3.65768 );
|
|
||||||
}
|
|
||||||
transport
|
|
||||||
{
|
|
||||||
As 1.67212e-06;
|
|
||||||
Ts 170.672;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// added CO - Thermo data from combustion.berkeley.edu/gri-mech/data/species/thermo.dat
|
|
||||||
/*CO
|
|
||||||
{
|
|
||||||
specie
|
|
||||||
{
|
|
||||||
nMoles 1;
|
|
||||||
molWeight 28.01;
|
|
||||||
}
|
|
||||||
thermodynamics
|
|
||||||
{
|
|
||||||
Tlow 0;
|
|
||||||
Thigh 5000;
|
|
||||||
Tcommon 1000;
|
|
||||||
highCpCoeffs ( 2.71518 0.00206252 -9.98825E-07 2.30053E-10 -2.03647E-14 -14151.8724 7.81868 );
|
|
||||||
lowCpCoeffs ( 3.57953 -6.10353E-04 1.01681E-06 9.07005E-10 -9.04424E-13 -14344.0860 3.50840 );
|
|
||||||
}
|
|
||||||
transport
|
|
||||||
{
|
|
||||||
As 1.67212e-06;
|
|
||||||
Ts 170.672;
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
species
|
|
||||||
(
|
|
||||||
O2
|
|
||||||
CO2
|
|
||||||
);
|
|
||||||
|
|
||||||
reactions
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@ -1,22 +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 uniformDimensionedVectorField;
|
|
||||||
location "constant";
|
|
||||||
object g;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 1 -2 0 0 0 0];
|
|
||||||
value ( 0 0 0 ); //value ( 0 -9.81 0 );
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,43 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------*\
|
|
||||||
| ========= | |
|
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
||||||
| \\ / O peration | Version: 1.4 |
|
|
||||||
| \\ / A nd | Web: http://www.openfoam.org |
|
|
||||||
| \\/ M anipulation | |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
|
|
||||||
root "";
|
|
||||||
case "";
|
|
||||||
instance "";
|
|
||||||
local "";
|
|
||||||
|
|
||||||
class dictionary;
|
|
||||||
object liggghtsCommands;
|
|
||||||
}
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
liggghtsCommandModels
|
|
||||||
(
|
|
||||||
runLiggghts
|
|
||||||
writeLiggghts
|
|
||||||
);
|
|
||||||
// ************************************************************************* //
|
|
||||||
|
|
||||||
/*runLiggghtsProps
|
|
||||||
{
|
|
||||||
preNo false;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
writeLiggghtsProps
|
|
||||||
{
|
|
||||||
writeLast off;
|
|
||||||
writeName "post/restart/liggghts.restartCFDEM";
|
|
||||||
overwrite on;
|
|
||||||
}
|
|
||||||
Binary file not shown.
@ -1,91 +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 dictionary;
|
|
||||||
location "constant/polyMesh";
|
|
||||||
object blockMeshDict;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
convertToMeters 1.0;
|
|
||||||
|
|
||||||
vertices
|
|
||||||
(
|
|
||||||
(0 0 0)
|
|
||||||
(1.5 0 0)
|
|
||||||
(1.5 0.5 0)
|
|
||||||
(0 0.5 0)
|
|
||||||
(0 0 0.5)
|
|
||||||
(1.5 0 0.5)
|
|
||||||
(1.5 0.5 0.5)
|
|
||||||
(0 0.5 0.5)
|
|
||||||
);
|
|
||||||
|
|
||||||
blocks
|
|
||||||
(
|
|
||||||
hex (0 1 2 3 4 5 6 7)(13 4 4) simpleGrading (1 1 1)
|
|
||||||
|
|
||||||
);
|
|
||||||
|
|
||||||
edges
|
|
||||||
(
|
|
||||||
);
|
|
||||||
|
|
||||||
boundary
|
|
||||||
(
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type wall;
|
|
||||||
faces
|
|
||||||
(
|
|
||||||
(3 7 6 2)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type wall;
|
|
||||||
faces
|
|
||||||
(
|
|
||||||
(1 5 4 0)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type wall;
|
|
||||||
faces
|
|
||||||
(
|
|
||||||
(0 3 2 1)
|
|
||||||
(4 5 6 7)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
faces
|
|
||||||
(
|
|
||||||
(0 4 7 3)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
faces
|
|
||||||
(
|
|
||||||
(2 6 5 1)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
mergePatchPairs
|
|
||||||
(
|
|
||||||
);
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,55 +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;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
5
|
|
||||||
(
|
|
||||||
top
|
|
||||||
{
|
|
||||||
type wall;
|
|
||||||
inGroups 1(wall);
|
|
||||||
nFaces 52;
|
|
||||||
startFace 504;
|
|
||||||
}
|
|
||||||
bottom
|
|
||||||
{
|
|
||||||
type wall;
|
|
||||||
inGroups 1(wall);
|
|
||||||
nFaces 52;
|
|
||||||
startFace 556;
|
|
||||||
}
|
|
||||||
side-walls
|
|
||||||
{
|
|
||||||
type wall;
|
|
||||||
inGroups 1(wall);
|
|
||||||
nFaces 104;
|
|
||||||
startFace 608;
|
|
||||||
}
|
|
||||||
inlet
|
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
nFaces 16;
|
|
||||||
startFace 712;
|
|
||||||
}
|
|
||||||
outlet
|
|
||||||
{
|
|
||||||
type patch;
|
|
||||||
nFaces 16;
|
|
||||||
startFace 728;
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,67 +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 dictionary;
|
|
||||||
location "constant";
|
|
||||||
object thermophysicalProperties;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
thermoType
|
|
||||||
{
|
|
||||||
type hePsiThermo; //covers compressible and lagrangian solvers
|
|
||||||
mixture reactingMixture; //species and reactions are listed in chemistry file
|
|
||||||
transport sutherland; //calcualtes viscosity as a function of temperature from Stuherland coefficient As and Ts
|
|
||||||
thermo janaf;
|
|
||||||
energy sensibleEnthalpy; //uses enthaly in the solution
|
|
||||||
equationOfState perfectGas;
|
|
||||||
specie specie;
|
|
||||||
}
|
|
||||||
|
|
||||||
chemistryReader foamChemistryReader;
|
|
||||||
|
|
||||||
foamChemistryThermoFile "$casePath/CFD/constant/foam.dat";
|
|
||||||
|
|
||||||
foamChemistryFile "$casePath/CFD/constant/foam.inp";
|
|
||||||
|
|
||||||
inertSpecie CO2; //N2;
|
|
||||||
|
|
||||||
/*liquids
|
|
||||||
{
|
|
||||||
H2O
|
|
||||||
{
|
|
||||||
defaultCoeffs yes;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
solids
|
|
||||||
{
|
|
||||||
C
|
|
||||||
{
|
|
||||||
defaultCoeffs no;
|
|
||||||
// if defaultCoeffs no properties should be :
|
|
||||||
CCoeffs
|
|
||||||
{
|
|
||||||
rho 2010;
|
|
||||||
Cp 710;
|
|
||||||
K 0.04;
|
|
||||||
Hf 0;
|
|
||||||
emissivity 1.0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
ash
|
|
||||||
{
|
|
||||||
defaultCoeffs yes;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,43 +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 dictionary;
|
|
||||||
location "constant";
|
|
||||||
object transportProperties;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
transportModel Newtonian;
|
|
||||||
|
|
||||||
nu nu [ 0 2 -1 0 0 0 0 ] 1.4276e-05; // ḱinematic viscosity of O2 = 1.525e-05; // kinematic viscosity of air (o2+n2) = 1.48e-05;
|
|
||||||
|
|
||||||
kf kf [ 1 1 -3 -1 0 0 0 ] 0; // comes from energy model
|
|
||||||
|
|
||||||
Cp Cp [ 0 2 -2 -1 0 0 0 ] 1; // comes from energy model
|
|
||||||
|
|
||||||
// ******* Non-Newtonian transport properties ************************ //
|
|
||||||
/*CrossPowerLawCoeffs
|
|
||||||
{
|
|
||||||
nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06;
|
|
||||||
nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06;
|
|
||||||
m m [ 0 0 1 0 0 0 0 ] 1;
|
|
||||||
n n [ 0 0 0 0 0 0 0 ] 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
BirdCarreauCoeffs
|
|
||||||
{
|
|
||||||
nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06;
|
|
||||||
nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06;
|
|
||||||
k k [ 0 0 1 0 0 0 0 ] 0;
|
|
||||||
n n [ 0 0 0 0 0 0 0 ] 1;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,21 +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 dictionary;
|
|
||||||
location "constant";
|
|
||||||
object turbulenceProperties;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
simulationType RASModel;
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,239 +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 dictionary;
|
|
||||||
location "system";
|
|
||||||
object controlDict;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
application cfdemSolverRhoPimpleChem;
|
|
||||||
|
|
||||||
startFrom latestTime;
|
|
||||||
|
|
||||||
startTime 0;
|
|
||||||
|
|
||||||
stopAt endTime;
|
|
||||||
|
|
||||||
endTime 20;
|
|
||||||
|
|
||||||
deltaT 0.0001;
|
|
||||||
|
|
||||||
writeControl adjustableRunTime;
|
|
||||||
|
|
||||||
writeInterval 0.50;
|
|
||||||
|
|
||||||
purgeWrite 0;
|
|
||||||
|
|
||||||
writeFormat ascii;
|
|
||||||
|
|
||||||
writePrecision 10;
|
|
||||||
|
|
||||||
writeCompression off;
|
|
||||||
|
|
||||||
timeFormat general;
|
|
||||||
|
|
||||||
timePrecision 6;
|
|
||||||
|
|
||||||
runTimeModifiable true;
|
|
||||||
|
|
||||||
adjustTimeStep yes;
|
|
||||||
|
|
||||||
maxCo 0.5;
|
|
||||||
|
|
||||||
maxDeltaT 0.1;
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
libs (
|
|
||||||
"libsampling.so"
|
|
||||||
"libutilityFunctionObjects.so"
|
|
||||||
"libOpenFOAM.so"
|
|
||||||
"libsimpleSwakFunctionObjects.so"
|
|
||||||
"libswakFunctionObjects.so"
|
|
||||||
"libgroovyBC.so"
|
|
||||||
);
|
|
||||||
|
|
||||||
functions
|
|
||||||
{
|
|
||||||
volumetricFlowSurfaceField
|
|
||||||
{
|
|
||||||
type patchExpression;
|
|
||||||
outputControlMode timeStep;
|
|
||||||
outputInterval 1;
|
|
||||||
verbose true;
|
|
||||||
accumulations ( sum );
|
|
||||||
patches ( outlet );
|
|
||||||
expression "CO2";
|
|
||||||
}
|
|
||||||
|
|
||||||
massFlowSurfaceField
|
|
||||||
{
|
|
||||||
$volumetricFlowSurfaceField;
|
|
||||||
patches ( outlet );
|
|
||||||
variables ("Area=0.25;"
|
|
||||||
|
|
||||||
);
|
|
||||||
expression "CO2*rho*Area*U";
|
|
||||||
}
|
|
||||||
|
|
||||||
CO2_Mass_in_Volume
|
|
||||||
{
|
|
||||||
type swakExpression;
|
|
||||||
valueType internalField; //patch;
|
|
||||||
//aliases{alpha alpha.water;}
|
|
||||||
//patchName outlet;
|
|
||||||
verbose true;
|
|
||||||
expression "rho*voidfraction*CO2*vol()";
|
|
||||||
accumulations ( sum );
|
|
||||||
outputControlMode timeStep; //outputTime;
|
|
||||||
outputInterval 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
OutletMassFlow-CO2
|
|
||||||
{
|
|
||||||
type patchExpression;
|
|
||||||
accumulations (
|
|
||||||
sum
|
|
||||||
);
|
|
||||||
patches (
|
|
||||||
outlet
|
|
||||||
);
|
|
||||||
expression "CO2";
|
|
||||||
verbose true;
|
|
||||||
autoInterpolate true;
|
|
||||||
}
|
|
||||||
|
|
||||||
CO2_Concentration_in_Volume
|
|
||||||
{
|
|
||||||
type swakExpression;
|
|
||||||
valueType internalField; //patch;
|
|
||||||
//aliases{alpha alpha.water;}
|
|
||||||
//patchName outlet;
|
|
||||||
verbose true;
|
|
||||||
expression "CO2";
|
|
||||||
accumulations ( sum );
|
|
||||||
outputControlMode timeStep; //outputTime;
|
|
||||||
outputInterval 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
O2_Mass_in_Volume
|
|
||||||
{
|
|
||||||
type swakExpression;
|
|
||||||
valueType internalField; //patch;
|
|
||||||
//aliases{alpha alpha.water;}
|
|
||||||
//patchName outlet;
|
|
||||||
verbose true;
|
|
||||||
expression "rho*voidfraction*O2*vol()";
|
|
||||||
accumulations ( sum );
|
|
||||||
outputControlMode timeStep; //outputTime;
|
|
||||||
outputInterval 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
O2_Concentration_in_Volume
|
|
||||||
{
|
|
||||||
type swakExpression;
|
|
||||||
valueType internalField; //patch;
|
|
||||||
//aliases{alpha alpha.water;}
|
|
||||||
//patchName outlet;
|
|
||||||
verbose true;
|
|
||||||
expression "O2";
|
|
||||||
accumulations ( sum );
|
|
||||||
outputControlMode timeStep; //outputTime;
|
|
||||||
outputInterval 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
OutletMassFlow-O2
|
|
||||||
{
|
|
||||||
type patchExpression;
|
|
||||||
accumulations (
|
|
||||||
sum
|
|
||||||
);
|
|
||||||
patches (
|
|
||||||
outlet
|
|
||||||
);
|
|
||||||
expression "O2";
|
|
||||||
verbose true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
|
|
||||||
/*CO2-Average1
|
|
||||||
{
|
|
||||||
type fieldAverage;
|
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
||||||
enabled true;
|
|
||||||
outputControl outputTime;
|
|
||||||
|
|
||||||
fields
|
|
||||||
(
|
|
||||||
CO2
|
|
||||||
{
|
|
||||||
mean on;
|
|
||||||
prime2Mean on;
|
|
||||||
base time;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
species_CO2 // Name also used to identify output folder
|
|
||||||
{
|
|
||||||
type cellSource;
|
|
||||||
functionObjectLibs ("libfieldValueFunctionObjects.so");
|
|
||||||
enabled true;
|
|
||||||
outputControl timeStep;//outputTime;
|
|
||||||
outputInterval 1,
|
|
||||||
log true;
|
|
||||||
valueOutput false; //true;
|
|
||||||
source all; // Type of cell source or all for the full domain
|
|
||||||
sourceName CO2;
|
|
||||||
operation sum; // volAverage; //volIntegrate; //weightedAverage; //none;
|
|
||||||
fields
|
|
||||||
(
|
|
||||||
CO2
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
O2-Average1
|
|
||||||
{
|
|
||||||
type fieldAverage;
|
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
|
||||||
enabled true;
|
|
||||||
outputControl outputTime;
|
|
||||||
|
|
||||||
fields
|
|
||||||
(
|
|
||||||
O2
|
|
||||||
{
|
|
||||||
mean on;
|
|
||||||
prime2Mean on;
|
|
||||||
base time;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
species_O2 // Name also used to identify output folder
|
|
||||||
{
|
|
||||||
type cellSource;
|
|
||||||
functionObjectLibs ("libfieldValueFunctionObjects.so");
|
|
||||||
enabled true;
|
|
||||||
outputControl timeStep;//outputTime;
|
|
||||||
outputInterval 1,
|
|
||||||
log true;
|
|
||||||
valueOutput false; //true;
|
|
||||||
source all; // Type of cell source or all for the full domain
|
|
||||||
sourceName O2;
|
|
||||||
operation sum; // volAverage; //volIntegrate; //weightedAverage; //none;
|
|
||||||
fields
|
|
||||||
(
|
|
||||||
O2
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@ -1,46 +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 dictionary;
|
|
||||||
location "system";
|
|
||||||
object decomposeParDict;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
numberOfSubdomains 4;
|
|
||||||
|
|
||||||
//method scotch;
|
|
||||||
method simple;
|
|
||||||
|
|
||||||
simpleCoeffs
|
|
||||||
{
|
|
||||||
n (2 2 1);
|
|
||||||
delta 0.001;
|
|
||||||
}
|
|
||||||
|
|
||||||
hierarchicalCoeffs
|
|
||||||
{
|
|
||||||
n ( 1 1 1 );
|
|
||||||
delta 0.001;
|
|
||||||
order xyz;
|
|
||||||
}
|
|
||||||
|
|
||||||
manualCoeffs
|
|
||||||
{
|
|
||||||
dataFile "";
|
|
||||||
}
|
|
||||||
|
|
||||||
distributed no;
|
|
||||||
|
|
||||||
roots ( );
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,67 +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 dictionary;
|
|
||||||
location "system";
|
|
||||||
object fvSchemes;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
ddtSchemes
|
|
||||||
{
|
|
||||||
default Euler;
|
|
||||||
}
|
|
||||||
|
|
||||||
gradSchemes
|
|
||||||
{
|
|
||||||
default Gauss linear;
|
|
||||||
}
|
|
||||||
|
|
||||||
divSchemes
|
|
||||||
{
|
|
||||||
default none;
|
|
||||||
|
|
||||||
div(phi,U) Gauss linear; //Gauss upwind;
|
|
||||||
div(phid,p) Gauss linear; //Gauss upwind;
|
|
||||||
div(phi,K) Gauss linear;
|
|
||||||
div(phi,h) Gauss upwind;
|
|
||||||
div(phi,k) Gauss upwind;
|
|
||||||
div(phi,epsilon) Gauss upwind;
|
|
||||||
div(U) Gauss linear;
|
|
||||||
div(phi,Yi_h) Gauss upwind;
|
|
||||||
div((muEff*dev2(T(grad(U))))) Gauss linear;
|
|
||||||
div((viscousTerm*dev2(grad(U).T()))) Gauss linear;
|
|
||||||
div((thermo:mu*dev(grad(U).T()))) Gauss linear;
|
|
||||||
}
|
|
||||||
|
|
||||||
laplacianSchemes
|
|
||||||
{
|
|
||||||
default Gauss linear orthogonal;
|
|
||||||
}
|
|
||||||
|
|
||||||
interpolationSchemes
|
|
||||||
{
|
|
||||||
default linear;
|
|
||||||
}
|
|
||||||
|
|
||||||
snGradSchemes
|
|
||||||
{
|
|
||||||
default orthogonal;
|
|
||||||
}
|
|
||||||
|
|
||||||
fluxRequired
|
|
||||||
{
|
|
||||||
default no;
|
|
||||||
p ;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,110 +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 dictionary;
|
|
||||||
location "system";
|
|
||||||
object fvSolution;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
solvers
|
|
||||||
{
|
|
||||||
"(rho|G)"
|
|
||||||
{
|
|
||||||
solver PCG;
|
|
||||||
preconditioner DIC;
|
|
||||||
tolerance 1e-05;
|
|
||||||
relTol 0.1;
|
|
||||||
}
|
|
||||||
|
|
||||||
"(rho|G)Final"
|
|
||||||
{
|
|
||||||
$rho;
|
|
||||||
tolerance 1e-05;
|
|
||||||
relTol 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
p
|
|
||||||
{
|
|
||||||
solver GAMG;
|
|
||||||
tolerance 1e-06;
|
|
||||||
relTol 0.01;
|
|
||||||
smoother GaussSeidel;
|
|
||||||
nPreSweeps 0;
|
|
||||||
nPostSweeps 2;
|
|
||||||
nFinestSweeps 2;
|
|
||||||
cacheAgglomeration on;
|
|
||||||
nCellsInCoarsestLevel 10;
|
|
||||||
agglomerator faceAreaPair;
|
|
||||||
mergeLevels 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
pFinal
|
|
||||||
{
|
|
||||||
$p;
|
|
||||||
tolerance 1e-06;
|
|
||||||
relTol 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
"(U|h|R|k|epsilon)"
|
|
||||||
{
|
|
||||||
solver smoothSolver;
|
|
||||||
smoother symGaussSeidel;
|
|
||||||
tolerance 1e-05;
|
|
||||||
relTol 0.1;
|
|
||||||
}
|
|
||||||
|
|
||||||
"(U|h|R|k|epsilon)Final"
|
|
||||||
{
|
|
||||||
$U;
|
|
||||||
tolerance 1e-05;
|
|
||||||
relTol 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
"(Yi|CO2|O2)"
|
|
||||||
{
|
|
||||||
$h;
|
|
||||||
}
|
|
||||||
|
|
||||||
"(Yi|CO2|O2)Final"
|
|
||||||
{
|
|
||||||
$Yi;
|
|
||||||
tolerance 1e-06;
|
|
||||||
relTol 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
PIMPLE
|
|
||||||
{
|
|
||||||
momentumPredictor yes;
|
|
||||||
nOuterCorrectors 1;
|
|
||||||
nCorrectors 2;
|
|
||||||
nNonOrthogonalCorrectors 0;
|
|
||||||
rhoMin rhoMin [ 1 -3 0 0 0 ] 0.5;
|
|
||||||
rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
relaxationFactors
|
|
||||||
{
|
|
||||||
fields
|
|
||||||
{
|
|
||||||
".*" 1;
|
|
||||||
}
|
|
||||||
equations
|
|
||||||
{
|
|
||||||
".*" 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,71 +0,0 @@
|
|||||||
# Particle insertion into domain
|
|
||||||
atom_style granular
|
|
||||||
atom_modify map array
|
|
||||||
echo both
|
|
||||||
|
|
||||||
communicate single vel yes
|
|
||||||
|
|
||||||
boundary f f f
|
|
||||||
newton off
|
|
||||||
|
|
||||||
units si
|
|
||||||
processors 2 2 1
|
|
||||||
|
|
||||||
region reg block 0. 1.5 0. 0.5 0. 0.5 units box
|
|
||||||
create_box 1 reg
|
|
||||||
|
|
||||||
neighbor 0.0005 bin
|
|
||||||
neigh_modify delay 0
|
|
||||||
|
|
||||||
# Material properties required for granular pair styles
|
|
||||||
fix m1 all property/global youngsModulus peratomtype 5.e6
|
|
||||||
fix m2 all property/global poissonsRatio peratomtype 0.45
|
|
||||||
fix m3 all property/global coefficientRestitution peratomtypepair 1 0.3
|
|
||||||
fix m4 all property/global coefficientFriction peratomtypepair 1 0.5
|
|
||||||
|
|
||||||
# pair style
|
|
||||||
pair_style gran model hertz tangential history # Hertzian without cohesion
|
|
||||||
pair_coeff * *
|
|
||||||
|
|
||||||
# timestep, gravity
|
|
||||||
timestep 1e-6
|
|
||||||
fix gravi all gravity 0.0 vector 0.0 -1.0 0.0
|
|
||||||
|
|
||||||
# walls
|
|
||||||
fix xwalls1 all wall/gran model hertz tangential history primitive type 1 xplane 0.0
|
|
||||||
fix xwalls2 all wall/gran model hertz tangential history primitive type 1 xplane 1.5
|
|
||||||
fix ywalls1 all wall/gran model hertz tangential history primitive type 1 yplane 0.0
|
|
||||||
fix ywalls2 all wall/gran model hertz tangential history primitive type 1 yplane 0.5
|
|
||||||
fix zwalls1 all wall/gran model hertz tangential history primitive type 1 zplane 0.0
|
|
||||||
fix zwalls2 all wall/gran model hertz tangential history primitive type 1 zplane 0.5
|
|
||||||
|
|
||||||
#create_atoms 1 random 2 1 NULL
|
|
||||||
#set atom * diameter 0.07 density 2267 vx 0 vy 0 vz 0
|
|
||||||
|
|
||||||
# create single particle in a specific spot
|
|
||||||
#create_atoms 1 single 0.25 .25 0.25 units box
|
|
||||||
#set atom 1 diameter 0.07 density 2267 vx 0 vy 0 vz 0
|
|
||||||
|
|
||||||
# particle distributions and insertion
|
|
||||||
region bc block 0.25 1.25 0. 0.5 0. 0.5 units box
|
|
||||||
fix pts1 all particletemplate/sphere 1 atom_type 1 density constant 2267 radius constant 0.035
|
|
||||||
fix pdd1 all particledistribution/discrete 1 1 pts1 1.0
|
|
||||||
|
|
||||||
fix ins all insert/pack seed 100001 distributiontemplate pdd1 vel constant 0. 0. 0. insert_every once overlapcheck yes all_in yes particles_in_region 1 region bc
|
|
||||||
|
|
||||||
# apply nve integration to all particles that are inserted as single particles
|
|
||||||
#fix integr all nve/sphere
|
|
||||||
|
|
||||||
# screen output
|
|
||||||
compute rke all erotate/sphere
|
|
||||||
thermo_style custom step atoms ke c_rke vol
|
|
||||||
thermo 1000
|
|
||||||
thermo_modify lost ignore norm no
|
|
||||||
compute_modify thermo_temp dynamic yes
|
|
||||||
|
|
||||||
# insert the first particles so that dump is not empty
|
|
||||||
run 1
|
|
||||||
dump dmp all custom 100 post/dump.liggghts_init id type x y z ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius
|
|
||||||
|
|
||||||
run 10000 upto
|
|
||||||
write_restart post/restart/liggghts.restart
|
|
||||||
@ -1,82 +0,0 @@
|
|||||||
# Pour granular particles into chute container, then induce flow
|
|
||||||
log ../DEM/log.liggghts
|
|
||||||
thermo_log ../DEM/post/thermo.txt
|
|
||||||
|
|
||||||
atom_style granular
|
|
||||||
atom_modify map array
|
|
||||||
communicate single vel yes
|
|
||||||
|
|
||||||
boundary f f f
|
|
||||||
newton off
|
|
||||||
|
|
||||||
units si
|
|
||||||
processors 2 2 1
|
|
||||||
|
|
||||||
# read the restart file
|
|
||||||
read_restart ../DEM/post/restart/liggghts.restart
|
|
||||||
|
|
||||||
neighbor 0.0005 bin
|
|
||||||
neigh_modify delay 0 binsize 0.01 ##0.01
|
|
||||||
|
|
||||||
|
|
||||||
# Material properties required for granular pair styles
|
|
||||||
|
|
||||||
fix m1 all property/global youngsModulus peratomtype 5.e6
|
|
||||||
fix m2 all property/global poissonsRatio peratomtype 0.45
|
|
||||||
fix m3 all property/global coefficientRestitution peratomtypepair 1 0.3
|
|
||||||
fix m4 all property/global coefficientFriction peratomtypepair 1 0.5
|
|
||||||
|
|
||||||
# pair style
|
|
||||||
pair_style gran model hertz tangential history # Hertzian without cohesion
|
|
||||||
pair_coeff * *
|
|
||||||
|
|
||||||
# timestep, gravity
|
|
||||||
timestep 1e-6
|
|
||||||
fix gravi all gravity 0.0 vector 0.0 -1.0 0.0
|
|
||||||
|
|
||||||
# walls
|
|
||||||
fix xwalls1 all wall/gran model hertz tangential history primitive type 1 xplane 0.0
|
|
||||||
fix xwalls2 all wall/gran model hertz tangential history primitive type 1 xplane 1.5
|
|
||||||
fix ywalls1 all wall/gran model hertz tangential history primitive type 1 yplane 0.0
|
|
||||||
fix ywalls2 all wall/gran model hertz tangential history primitive type 1 yplane 0.5
|
|
||||||
fix zwalls1 all wall/gran model hertz tangential history primitive type 1 zplane 0.0
|
|
||||||
fix zwalls2 all wall/gran model hertz tangential history primitive type 1 zplane 0.5
|
|
||||||
|
|
||||||
# cfd coupling
|
|
||||||
fix cfd all couple/cfd couple_every 100 mpi
|
|
||||||
fix cfd2 all couple/cfd/force
|
|
||||||
|
|
||||||
# this should invoke chemistry
|
|
||||||
fix cfd3 all couple/cfd/chemistry n_species 2 species_names O2 CO2
|
|
||||||
|
|
||||||
# this should shrink the particle
|
|
||||||
#fix cfd4 all chem/shrink speciesA O2 molMassA 31.99 speciesC CO2 molMassC 44.01 molMassB 12.01 k 2.5e3 rdef hertzpct 0.2
|
|
||||||
fix cfd4 all chem/shrink speciesA O2 molMassA 31.99 speciesC CO2 molMassC 44.01 molMassB 12.01 k 2.5e3 rmin 0.005
|
|
||||||
|
|
||||||
|
|
||||||
# apply nve integration to all particles that are inserted as single particles
|
|
||||||
fix integr all nve/sphere
|
|
||||||
|
|
||||||
# print radius change according to timestep
|
|
||||||
compute radChange all property/atom radius
|
|
||||||
compute radreduce all reduce sum c_radChange
|
|
||||||
fix shrink all ave/time 25 1 25 c_radreduce file shrink.dat
|
|
||||||
|
|
||||||
compute radChange1 all property/atom radius
|
|
||||||
compute radreduce1 all reduce max c_radChange1
|
|
||||||
fix shrink1 all ave/time 25 1 25 c_radreduce1 file shrink-1.dat
|
|
||||||
|
|
||||||
compute masschange all property/atom mass
|
|
||||||
compute massreduce all reduce sum c_masschange
|
|
||||||
fix rmass all ave/time 25 1 25 c_massreduce file rmass.dat
|
|
||||||
|
|
||||||
# screen output
|
|
||||||
compute rke all erotate/sphere
|
|
||||||
thermo_style custom step atoms ke c_rke vol
|
|
||||||
thermo 1000
|
|
||||||
thermo_modify lost ignore norm no
|
|
||||||
compute_modify thermo_temp dynamic yes
|
|
||||||
|
|
||||||
dump dmp all custom 100 ../DEM/post/dump.liggghts_run id type x y z ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius
|
|
||||||
|
|
||||||
run 1
|
|
||||||
@ -1,203 +0,0 @@
|
|||||||
# Time-averaged data for fix shrink
|
|
||||||
# TimeStep c_radreduce
|
|
||||||
0 0.035
|
|
||||||
50 0.035
|
|
||||||
100 0.035
|
|
||||||
150 0.035
|
|
||||||
200 0.035
|
|
||||||
250 0.035
|
|
||||||
300 0.035
|
|
||||||
350 0.035
|
|
||||||
400 0.035
|
|
||||||
450 0.035
|
|
||||||
500 0.035
|
|
||||||
550 0.035
|
|
||||||
600 0.035
|
|
||||||
650 0.035
|
|
||||||
700 0.035
|
|
||||||
750 0.035
|
|
||||||
800 0.035
|
|
||||||
850 0.035
|
|
||||||
900 0.035
|
|
||||||
950 0.035
|
|
||||||
1000 0.035
|
|
||||||
1050 0.035
|
|
||||||
1100 0.035
|
|
||||||
1150 0.035
|
|
||||||
1200 0.035
|
|
||||||
1250 0.035
|
|
||||||
1300 0.035
|
|
||||||
1350 0.035
|
|
||||||
1400 0.035
|
|
||||||
1450 0.035
|
|
||||||
1500 0.035
|
|
||||||
1550 0.035
|
|
||||||
1600 0.035
|
|
||||||
1650 0.035
|
|
||||||
1700 0.035
|
|
||||||
1750 0.035
|
|
||||||
1800 0.035
|
|
||||||
1850 0.035
|
|
||||||
1900 0.035
|
|
||||||
1950 0.035
|
|
||||||
2000 0.035
|
|
||||||
2050 0.035
|
|
||||||
2100 0.035
|
|
||||||
2150 0.035
|
|
||||||
2200 0.035
|
|
||||||
2250 0.035
|
|
||||||
2300 0.035
|
|
||||||
2350 0.035
|
|
||||||
2400 0.035
|
|
||||||
2450 0.035
|
|
||||||
2500 0.035
|
|
||||||
2550 0.035
|
|
||||||
2600 0.035
|
|
||||||
2650 0.035
|
|
||||||
2700 0.035
|
|
||||||
2750 0.035
|
|
||||||
2800 0.035
|
|
||||||
2850 0.035
|
|
||||||
2900 0.035
|
|
||||||
2950 0.035
|
|
||||||
3000 0.035
|
|
||||||
3050 0.035
|
|
||||||
3100 0.035
|
|
||||||
3150 0.035
|
|
||||||
3200 0.035
|
|
||||||
3250 0.035
|
|
||||||
3300 0.035
|
|
||||||
3350 0.035
|
|
||||||
3400 0.035
|
|
||||||
3450 0.035
|
|
||||||
3500 0.035
|
|
||||||
3550 0.035
|
|
||||||
3600 0.035
|
|
||||||
3650 0.035
|
|
||||||
3700 0.035
|
|
||||||
3750 0.035
|
|
||||||
3800 0.035
|
|
||||||
3850 0.035
|
|
||||||
3900 0.035
|
|
||||||
3950 0.035
|
|
||||||
4000 0.035
|
|
||||||
4050 0.035
|
|
||||||
4100 0.035
|
|
||||||
4150 0.035
|
|
||||||
4200 0.035
|
|
||||||
4250 0.035
|
|
||||||
4300 0.035
|
|
||||||
4350 0.035
|
|
||||||
4400 0.035
|
|
||||||
4450 0.035
|
|
||||||
4500 0.035
|
|
||||||
4550 0.035
|
|
||||||
4600 0.035
|
|
||||||
4650 0.035
|
|
||||||
4700 0.035
|
|
||||||
4750 0.035
|
|
||||||
4800 0.035
|
|
||||||
4850 0.035
|
|
||||||
4900 0.035
|
|
||||||
4950 0.035
|
|
||||||
5000 0.035
|
|
||||||
5050 0.035
|
|
||||||
5100 0.035
|
|
||||||
5150 0.035
|
|
||||||
5200 0.035
|
|
||||||
5250 0.035
|
|
||||||
5300 0.035
|
|
||||||
5350 0.035
|
|
||||||
5400 0.035
|
|
||||||
5450 0.035
|
|
||||||
5500 0.035
|
|
||||||
5550 0.035
|
|
||||||
5600 0.035
|
|
||||||
5650 0.035
|
|
||||||
5700 0.035
|
|
||||||
5750 0.035
|
|
||||||
5800 0.035
|
|
||||||
5850 0.035
|
|
||||||
5900 0.035
|
|
||||||
5950 0.035
|
|
||||||
6000 0.035
|
|
||||||
6050 0.035
|
|
||||||
6100 0.035
|
|
||||||
6150 0.035
|
|
||||||
6200 0.035
|
|
||||||
6250 0.035
|
|
||||||
6300 0.035
|
|
||||||
6350 0.035
|
|
||||||
6400 0.035
|
|
||||||
6450 0.035
|
|
||||||
6500 0.035
|
|
||||||
6550 0.035
|
|
||||||
6600 0.035
|
|
||||||
6650 0.035
|
|
||||||
6700 0.035
|
|
||||||
6750 0.035
|
|
||||||
6800 0.035
|
|
||||||
6850 0.035
|
|
||||||
6900 0.035
|
|
||||||
6950 0.035
|
|
||||||
7000 0.035
|
|
||||||
7050 0.035
|
|
||||||
7100 0.035
|
|
||||||
7150 0.035
|
|
||||||
7200 0.035
|
|
||||||
7250 0.035
|
|
||||||
7300 0.035
|
|
||||||
7350 0.035
|
|
||||||
7400 0.035
|
|
||||||
7450 0.035
|
|
||||||
7500 0.035
|
|
||||||
7550 0.035
|
|
||||||
7600 0.035
|
|
||||||
7650 0.035
|
|
||||||
7700 0.035
|
|
||||||
7750 0.035
|
|
||||||
7800 0.035
|
|
||||||
7850 0.035
|
|
||||||
7900 0.035
|
|
||||||
7950 0.035
|
|
||||||
8000 0.035
|
|
||||||
8050 0.035
|
|
||||||
8100 0.035
|
|
||||||
8150 0.035
|
|
||||||
8200 0.035
|
|
||||||
8250 0.035
|
|
||||||
8300 0.035
|
|
||||||
8350 0.035
|
|
||||||
8400 0.035
|
|
||||||
8450 0.035
|
|
||||||
8500 0.035
|
|
||||||
8550 0.035
|
|
||||||
8600 0.035
|
|
||||||
8650 0.035
|
|
||||||
8700 0.035
|
|
||||||
8750 0.035
|
|
||||||
8800 0.035
|
|
||||||
8850 0.035
|
|
||||||
8900 0.035
|
|
||||||
8950 0.035
|
|
||||||
9000 0.035
|
|
||||||
9050 0.035
|
|
||||||
9100 0.035
|
|
||||||
9150 0.035
|
|
||||||
9200 0.035
|
|
||||||
9250 0.035
|
|
||||||
9300 0.035
|
|
||||||
9350 0.035
|
|
||||||
9400 0.035
|
|
||||||
9450 0.035
|
|
||||||
9500 0.035
|
|
||||||
9550 0.035
|
|
||||||
9600 0.035
|
|
||||||
9650 0.035
|
|
||||||
9700 0.035
|
|
||||||
9750 0.035
|
|
||||||
9800 0.035
|
|
||||||
9850 0.035
|
|
||||||
9900 0.035
|
|
||||||
9950 0.035
|
|
||||||
10000 0.035
|
|
||||||
@ -1,96 +0,0 @@
|
|||||||
#!/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_SRC_DIR/lagrangian/cfdemParticle/etc/functions.sh
|
|
||||||
|
|
||||||
#--------------------------------------------------------------------------------#
|
|
||||||
#- define variables
|
|
||||||
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
|
|
||||||
logpath=$casePath
|
|
||||||
headerText="Particle_in_Duct"
|
|
||||||
logfileName="log_$headerText"
|
|
||||||
solverName="cfdemSolverRhoPimpleChem"
|
|
||||||
nrProcs="4"
|
|
||||||
machineFileName="none" # yourMachinefileName | none
|
|
||||||
debugMode="off" # on | off| strict
|
|
||||||
testHarnessPath="$CFDEM_TEST_HARNESS_PATH"
|
|
||||||
runOctave="false"
|
|
||||||
postproc="true"
|
|
||||||
|
|
||||||
#--------------------------------------------------------------------------------#
|
|
||||||
|
|
||||||
#- call function to run a parallel CFD-DEM case
|
|
||||||
parCFDDEMrun $logpath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode
|
|
||||||
|
|
||||||
|
|
||||||
if [ $runOctave == "true" ]
|
|
||||||
then
|
|
||||||
#------------------------------#
|
|
||||||
# octave
|
|
||||||
|
|
||||||
#- change path
|
|
||||||
cd octave
|
|
||||||
|
|
||||||
#- rmove old graph
|
|
||||||
rm cfdemSolverPiso_ErgunTestMPI.eps
|
|
||||||
|
|
||||||
#- run octave
|
|
||||||
octave totalPressureDrop.m
|
|
||||||
|
|
||||||
#- show plot
|
|
||||||
evince cfdemSolverPiso_ErgunTestMPI.eps
|
|
||||||
|
|
||||||
#- copy log file to test harness
|
|
||||||
cp ../../$logfileName $testHarnessPath
|
|
||||||
cp cfdemSolverPiso_ErgunTestMPI.eps $testHarnessPath
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $postproc == "true" ]
|
|
||||||
then
|
|
||||||
|
|
||||||
#- keep terminal open (if started in new terminal)
|
|
||||||
echo "simulation finished? ...press enter to proceed"
|
|
||||||
read
|
|
||||||
|
|
||||||
#- get VTK data from liggghts dump file
|
|
||||||
cd $casePath/DEM/post
|
|
||||||
python -i $CFDEM_LPP_DIR/lpp.py dump*.liggghts_run
|
|
||||||
|
|
||||||
#- get VTK data from CFD sim
|
|
||||||
cd $casePath/CFD
|
|
||||||
reconstructPar
|
|
||||||
foamToVTK #- serial run of foamToVTK
|
|
||||||
#source $CFDEM_SRC_DIR/lagrangian/cfdemParticle/etc/functions.sh #- include functions
|
|
||||||
#pseudoParallelRun "foamToVTK" $nrPostProcProcessors #- pseudo parallel run of foamToVTK
|
|
||||||
|
|
||||||
#- start paraview
|
|
||||||
paraview
|
|
||||||
|
|
||||||
#- keep terminal open (if started in new terminal)
|
|
||||||
echo "...press enter to clean up case"
|
|
||||||
echo "press Ctr+C to keep data"
|
|
||||||
read
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
#- clean up case
|
|
||||||
#echo "deleting data at: $casePath :\n"
|
|
||||||
#source $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
|
||||||
#cd $casePath/CFD
|
|
||||||
#cleanCase
|
|
||||||
#rm -r $casePath/CFD/clockData
|
|
||||||
#rm $casePath/DEM/post/*.*
|
|
||||||
#touch $casePath/DEM/post/.gitignore
|
|
||||||
#rm $casePath/DEM/post/restart/*.*
|
|
||||||
#rm $casePath/DEM/post/restart/liggghts.restartCFDEM*
|
|
||||||
#touch $casePath/DEM/post/restart/.gitignore
|
|
||||||
#echo "done"
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
#===================================================================#
|
|
||||||
# DEMrun script for ErgunTestMPI testcase
|
|
||||||
# init ErgunTestMPI
|
|
||||||
# Christoph Goniva - July 2014
|
|
||||||
#===================================================================#
|
|
||||||
|
|
||||||
#- source CFDEM env vars
|
|
||||||
. ~/.bashrc
|
|
||||||
|
|
||||||
#- include functions
|
|
||||||
source $CFDEM_SRC_DIR/lagrangian/cfdemParticle/etc/functions.sh
|
|
||||||
|
|
||||||
echo "starting DEM run in parallel..."
|
|
||||||
#--------------------------------------------------------------------------------#
|
|
||||||
#- define variables
|
|
||||||
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
|
|
||||||
logpath="$casePath"
|
|
||||||
headerText="run_liggghts_init_DEM"
|
|
||||||
logfileName="log_$headerText"
|
|
||||||
solverName="in.liggghts_init"
|
|
||||||
nrProcs=4
|
|
||||||
machineFileName="none"
|
|
||||||
debugMode="off"
|
|
||||||
#--------------------------------------------------------------------------------#
|
|
||||||
|
|
||||||
#- call function to run DEM case
|
|
||||||
parDEMrun $logpath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode
|
|
||||||
|
|
||||||
@ -1,2 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# nothing to see here
|
|
||||||
@ -1,13 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
#- define variables
|
|
||||||
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
|
|
||||||
|
|
||||||
# check if mesh was built
|
|
||||||
if [ -f "$casePath/CFD/constant/polyMesh/boundary" ]; then
|
|
||||||
echo "mesh was built before - using old mesh"
|
|
||||||
else
|
|
||||||
echo "mesh needs to be built"
|
|
||||||
cd $casePath/CFD
|
|
||||||
blockMesh
|
|
||||||
fi
|
|
||||||
@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
"type" : "CFDEMcoupling",
|
|
||||||
"runs" : [
|
|
||||||
{
|
|
||||||
"name" : "liggghts-init",
|
|
||||||
"input_script" : "DEM/in.liggghts_init",
|
|
||||||
"type" : "liggghts/serial"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name" : "cfdemrun",
|
|
||||||
"depends_on" : "liggghts-init",
|
|
||||||
"solver" : "cfdemSolverPiso",
|
|
||||||
"type" : "CFDEMcoupling/mpi",
|
|
||||||
"nprocs" : 4,
|
|
||||||
"pre_scripts" : ["prerun.sh"],
|
|
||||||
"post_scripts" : ["postrun.sh"]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user