Merge commit 'origin/master' into olesenm

This commit is contained in:
Mark Olesen
2008-06-18 13:38:38 +02:00
6 changed files with 26 additions and 22 deletions

View File

@ -111,8 +111,8 @@ void turbulentMixingLengthDissipationRateInletFvPatchScalarField::updateCoeffs()
);
const dictionary& turbulenceCoeffs = turbulenceProperties.subDict
(
word(turbulenceProperties.lookup("turbulenceModel")) + "Coeffs"
(
word(turbulenceProperties.lookup("RASmodel")) + "Coeffs"
);
scalar Cmu = dimensionedScalar(turbulenceCoeffs.lookup("Cmu")).value();

View File

@ -116,8 +116,8 @@ void turbulentMixingLengthFrequencyInletFvPatchScalarField::updateCoeffs()
);
const dictionary& turbulenceCoeffs = turbulenceProperties.subDict
(
word(turbulenceProperties.lookup("turbulenceModel")) + "Coeffs"
(
word(turbulenceProperties.lookup("RASmodel")) + "Coeffs"
);
scalar Cmu = dimensionedScalar(turbulenceCoeffs.lookup("Cmu")).value();

View File

@ -25,7 +25,7 @@ restartApplication ()
fi
}
runKivaToFoam . $case/otape17
runKivaToFoam . otape17
cp system/controlDict.1st system/controlDict
runApplication $application
cp system/controlDict.2nd system/controlDict

12
tutorials/interDyMFoam/Allrun Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
(cd damBreakWithObstacle && runApplication blockMesh)
(cd damBreakWithObstacle && runApplication setSet -batch createObstacle.setSet)
(cd damBreakWithObstacle && runApplication subsetMesh c0 -patch walls)
(cd damBreakWithObstacle && runApplication setFields -latestTime)
(cd damBreakWithObstacle && runApplication $application)

View File

@ -1,12 +0,0 @@
#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
runApplication blockMesh
runApplication setSet -batch createObstacle.setSet
runApplication subsetMesh c0 -patch walls
runApplication setFields -latestTime
runApplication $application

View File

@ -25,20 +25,24 @@ FoamFile
interpolationScheme cellPoint;
writeFormat raw;
setFormat raw;
sampleSets
sets
(
uniform
line_centreProfile
{
name centreProfile;
axis y;
type uniform;
axis distance;
start (10.001 -1 0.01);
end (10.001 1 0.01);
nPoints 100;
}
);
surfaces
();
fields
(
U.component(0)