add testharness config for one2one coupling test [ci skip]

This commit is contained in:
danielque
2020-07-17 11:31:43 +02:00
parent 893a8ddf31
commit d67ee0d63e
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#!/bin/bash
cp ./CFD/constant/couplingProperties.one2one ./CFD/constant/couplingProperties
cp ./DEM/in.liggghts_run.one2one ./DEM/in.liggghts_run
#- 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

View File

@ -14,6 +14,15 @@
"nprocs" : 4, "nprocs" : 4,
"pre_scripts" : ["prerun.sh"], "pre_scripts" : ["prerun.sh"],
"post_scripts" : ["postrun.sh"] "post_scripts" : ["postrun.sh"]
},
{
"name" : "cfdemrun-one2one",
"depends_on" : "liggghts-init",
"solver" : "cfdemSolverPiso",
"type" : "CFDEMcoupling/mpi",
"nprocs" : 4,
"pre_scripts" : ["prerun_one2one.sh"],
"post_scripts" : ["postrun.sh"]
} }
] ]
} }