cleanup and use noSlip

This commit is contained in:
ekinaci
2017-07-18 15:29:27 +02:00
parent ca6dbf6f12
commit a1c47377fd
8 changed files with 18 additions and 118 deletions

View File

@ -14,10 +14,7 @@ source $CFDEM_SRC_DIR/lagrangian/cfdemParticle/etc/functions.sh
#- define variables
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
headerText="test_case"
logfileName="$casePath/log_$headerText"
solverName="cfdemSolverRhoPimpleChem"
nrProcs="4"
export casePath
export casePath
# check if mesh was built
@ -43,4 +40,4 @@ fi
#- run parallel CFD-DEM in new terminal
#gnome-terminal -e "bash $casePath/parCFDDEMrun.sh"
bash $casePath/parCFDDEMrun.sh
bash $casePath/parCFDDEMrun.sh

View File

@ -17,7 +17,7 @@ FoamFile
dimensions [0 0 0 0 0 0 0];
internalField uniform 1;
internalField uniform 1.0;
boundaryField
{
@ -38,7 +38,7 @@ boundaryField
inlet
{
type zeroGradient;
type zeroGradient;
}
outlet

View File

@ -38,7 +38,7 @@ boundaryField
inlet
{
type zeroGradient;
type zeroGradient;
}
outlet

View File

@ -17,7 +17,7 @@ FoamFile
dimensions [1 -3 -1 0 0 0 0];
internalField uniform 0;
internalField uniform 0.0;
boundaryField
{

View File

@ -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 N;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -3 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;
}
}
// ************************************************************************* //

View File

@ -17,7 +17,7 @@ FoamFile
dimensions [0 0 0 1 0 0 0];
internalField uniform 1273.15;
internalField uniform 1293.15;
boundaryField
{

View File

@ -17,27 +17,32 @@ FoamFile
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0.01 0 0); //uniform (6.64e-7 0 0);
internalField uniform (10.0 0 0);
boundaryField
{
// Walls in no slip condition
top
{
type zeroGradient;
type noSlip;
/* type fixedValue;
value uniform (0.0 0 0);*/
}
bottom
{
type zeroGradient;
type noSlip;
/* type fixedValue;
value uniform (0.0 0 0);*/
}
side-walls
{
type zeroGradient;
type noSlip;
/* type fixedValue;
value uniform (0.0 0 0); */
}
inlet
{
type fixedValue;
value uniform (0.01 0 0); // uniform (6.64e-7 0 0);
value uniform (10.0 0 0);
}
outlet

View File

@ -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;
}
}
// ************************************************************************* //