adapt settings for test harness [ci skip]

This commit is contained in:
danielque
2019-08-09 13:19:10 +02:00
parent bb65be3c6b
commit a58098cc97
4 changed files with 88 additions and 39 deletions

View File

@ -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;
@ -69,8 +69,8 @@ functions
type residuals; type residuals;
functionObjectLibs ("libutilityFunctionObjects.so"); functionObjectLibs ("libutilityFunctionObjects.so");
enabled true; enabled true;
outputControl timeStep; writeControl timeStep;
outputInterval 1; writeInterval 1;
fields fields
( (
@ -84,8 +84,8 @@ functions
type residuals; type residuals;
functionObjectLibs ("libutilityFunctionObjects.so"); functionObjectLibs ("libutilityFunctionObjects.so");
enabled true; enabled true;
outputControl timeStep; writeControl timeStep;
outputInterval 1; writeInterval 1;
fields fields
( (
@ -119,12 +119,11 @@ functions
} }
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;
@ -146,7 +145,7 @@ functions
{ {
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;

View File

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

View File

@ -11,3 +11,8 @@ else
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

View File

@ -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"]
} }