mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Inserted interDyMFoam testcase into testloop
This commit is contained in:
13
tutorials/interDyMFoam/Allclean
Executable file
13
tutorials/interDyMFoam/Allclean
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
currDir=`pwd`
|
||||||
|
application=`basename $currDir`
|
||||||
|
cases="damBreakWithObstacle"
|
||||||
|
|
||||||
|
tutorialPath=`dirname $0`/..
|
||||||
|
. $tutorialPath/CleanFunctions
|
||||||
|
|
||||||
|
for case in $cases
|
||||||
|
do
|
||||||
|
cleanCase $case
|
||||||
|
done
|
||||||
18
tutorials/interDyMFoam/Allrun
Executable file
18
tutorials/interDyMFoam/Allrun
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
currDir=`pwd`
|
||||||
|
application=`basename $currDir`
|
||||||
|
cases="damBreakWithObstacle"
|
||||||
|
|
||||||
|
tutorialPath=`dirname $0`/..
|
||||||
|
. $tutorialPath/RunFunctions
|
||||||
|
. $tutorialPath/CleanFunctions
|
||||||
|
|
||||||
|
for case in $cases
|
||||||
|
do
|
||||||
|
runApplication blockMesh $case
|
||||||
|
runApplication setSet $case -batch createObstacle.setSet
|
||||||
|
runApplication subsetMesh $case c0 -patch walls
|
||||||
|
runApplication setFields $case -latestTime
|
||||||
|
runApplication $application $case
|
||||||
|
done
|
||||||
@ -24,7 +24,7 @@ FoamFile
|
|||||||
|
|
||||||
application interFoam;
|
application interFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom latestTime;
|
||||||
|
|
||||||
startTime 0;
|
startTime 0;
|
||||||
|
|
||||||
|
|||||||
@ -25,7 +25,8 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 4;
|
numberOfSubdomains 4;
|
||||||
|
|
||||||
method simple;
|
//method metis;
|
||||||
|
method hierarchical;
|
||||||
|
|
||||||
simpleCoeffs
|
simpleCoeffs
|
||||||
{
|
{
|
||||||
@ -35,21 +36,13 @@ simpleCoeffs
|
|||||||
|
|
||||||
hierarchicalCoeffs
|
hierarchicalCoeffs
|
||||||
{
|
{
|
||||||
n (1 1 1);
|
n (2 2 1);
|
||||||
delta 0.001;
|
delta 0.001;
|
||||||
order xyz;
|
order xyz;
|
||||||
}
|
}
|
||||||
|
|
||||||
metisCoeffs
|
metisCoeffs
|
||||||
{
|
{}
|
||||||
processorWeights
|
|
||||||
(
|
|
||||||
1
|
|
||||||
1
|
|
||||||
1
|
|
||||||
1
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
manualCoeffs
|
manualCoeffs
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user