mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
adapt settings for test harness [ci skip]
This commit is contained in:
@ -15,7 +15,7 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
application cfdemSolverRhoPimpleChem;
|
application cfdemSolverRhoPimpleChem;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
||||||
@ -23,15 +23,15 @@ startTime 0.0;
|
|||||||
|
|
||||||
stopAt endTime;
|
stopAt endTime;
|
||||||
|
|
||||||
endTime 1;
|
endTime 0.5;
|
||||||
|
|
||||||
deltaT 0.0001;
|
deltaT 0.0005;
|
||||||
|
|
||||||
writeControl timeStep; //
|
writeControl timeStep;
|
||||||
|
|
||||||
writeInterval 50; //500;
|
writeInterval 500;
|
||||||
|
|
||||||
purgeWrite 10;
|
purgeWrite 0;
|
||||||
|
|
||||||
writeFormat ascii;
|
writeFormat ascii;
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ maxDeltaT 0.1;
|
|||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
libs (
|
libs (
|
||||||
"libfieldFunctionObjects.so"
|
"libfieldFunctionObjects.so"
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -61,16 +61,16 @@ functions
|
|||||||
{
|
{
|
||||||
moleFrac
|
moleFrac
|
||||||
{
|
{
|
||||||
type rhoReactionThermoMoleFractions;
|
type rhoReactionThermoMoleFractions;
|
||||||
}
|
}
|
||||||
|
|
||||||
residuals
|
residuals
|
||||||
{
|
{
|
||||||
type residuals;
|
type residuals;
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||||
enabled true;
|
enabled true;
|
||||||
outputControl timeStep;
|
writeControl timeStep;
|
||||||
outputInterval 1;
|
writeInterval 1;
|
||||||
|
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
@ -78,14 +78,14 @@ functions
|
|||||||
U
|
U
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
gasResidual
|
gasResidual
|
||||||
{
|
{
|
||||||
type residuals;
|
type residuals;
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||||
enabled true;
|
enabled true;
|
||||||
outputControl timeStep;
|
writeControl timeStep;
|
||||||
outputInterval 1;
|
writeInterval 1;
|
||||||
|
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
@ -96,36 +96,35 @@ functions
|
|||||||
N2
|
N2
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
probes1
|
probes1
|
||||||
{
|
{
|
||||||
type probes;
|
type probes;
|
||||||
|
|
||||||
functionObjectLibs ("libsampling.so");
|
functionObjectLibs ("libsampling.so");
|
||||||
|
|
||||||
#include "probesDict";
|
#include "probesDict";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
fieldMinMax1
|
fieldMinMax1
|
||||||
{
|
{
|
||||||
type fieldMinMax;
|
type fieldMinMax;
|
||||||
libs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
fields (U);
|
fields (U);
|
||||||
// Report the location of the field extrema
|
// Report the location of the field extrema
|
||||||
location yes;
|
location yes;
|
||||||
// Type of extrema for rank > 0 primitives
|
// Type of extrema for rank > 0 primitives
|
||||||
mode magnitude; // magnitude | component
|
mode magnitude; // magnitude | component
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
globalMassFrac
|
globalMassFrac
|
||||||
{
|
{
|
||||||
type volRegion;
|
type volRegion;
|
||||||
libs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl timeStep;//outputTime;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
log true;
|
log true;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
regionType all;
|
regionType all;
|
||||||
@ -139,14 +138,14 @@ functions
|
|||||||
CO2
|
CO2
|
||||||
CO
|
CO
|
||||||
N2
|
N2
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
globalMass
|
globalMass
|
||||||
{
|
{
|
||||||
type volRegion;
|
type volRegion;
|
||||||
libs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl timeStep;//outputTime;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
log true;
|
log true;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
@ -158,7 +157,7 @@ functions
|
|||||||
rhoeps
|
rhoeps
|
||||||
rho
|
rho
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
@ -0,0 +1,45 @@
|
|||||||
|
/*--------------------------------*- 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 simple;
|
||||||
|
|
||||||
|
simpleCoeffs
|
||||||
|
{
|
||||||
|
n (2 1 2);
|
||||||
|
delta 0.001;
|
||||||
|
}
|
||||||
|
|
||||||
|
hierarchicalCoeffs
|
||||||
|
{
|
||||||
|
n ( 1 1 1 );
|
||||||
|
delta 0.001;
|
||||||
|
order xyz;
|
||||||
|
}
|
||||||
|
|
||||||
|
manualCoeffs
|
||||||
|
{
|
||||||
|
dataFile "";
|
||||||
|
}
|
||||||
|
|
||||||
|
distributed no;
|
||||||
|
|
||||||
|
roots ( );
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -10,4 +10,9 @@ else
|
|||||||
echo "mesh needs to be built"
|
echo "mesh needs to be built"
|
||||||
cd $casePath/CFD
|
cd $casePath/CFD
|
||||||
blockMesh
|
blockMesh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# adapt settings for short run
|
||||||
|
cp $casePath/CFD/system/controlDict_test $casePath/CFD/system/controlDict
|
||||||
|
cp $casePath/CFD/system/decomposeParDict_test $casePath/CFD/system/decomposeParDict
|
||||||
|
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
"depends_on" : "liggghts-init",
|
"depends_on" : "liggghts-init",
|
||||||
"solver" : "cfdemSolverRhoPimpleChem",
|
"solver" : "cfdemSolverRhoPimpleChem",
|
||||||
"type" : "CFDEMcoupling/mpi",
|
"type" : "CFDEMcoupling/mpi",
|
||||||
"nprocs" : 8,
|
"nprocs" : 4,
|
||||||
"pre_scripts" : ["prerun.sh"],
|
"pre_scripts" : ["prerun.sh"],
|
||||||
"post_scripts" : ["postrun.sh"]
|
"post_scripts" : ["postrun.sh"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user