Updated motorBike tutorial to correspond to the training course

This commit is contained in:
Henry
2014-07-11 15:48:54 +01:00
committed by Andrew Heather
parent a80f38bdf5
commit 7d5e8c2a6f
5 changed files with 9 additions and 10 deletions

View File

@ -21,7 +21,7 @@ ls -d processor* | xargs -i rm -rf ./{}/0 $1
ls -d processor* | xargs -i cp -r 0.org ./{}/0 $1
runParallel patchSummary 6
runParallel potentialFoam 6 -noFunctionObjects -writep
runParallel potentialFoam 6 -noFunctionObjects
runParallel $(getApplication) 6
runApplication reconstructParMesh -constant

View File

@ -23,7 +23,7 @@ libs
application simpleFoam;
startFrom startTime; // latestTime;
startFrom latestTime;
startTime 0;

View File

@ -8,8 +8,7 @@
forceCoeffs1
{
// type forceCoeffs;
type forces;
type forceCoeffs;
functionObjectLibs ( "libforces.so" );
@ -19,10 +18,7 @@ forceCoeffs1
log yes;
patches ( motorBikeGroup );
pName p;
UName U;
rhoName rhoInf; // Indicates incompressible
log true;
rhoInf 1; // Redundant for incompressible
liftDir (0 0 1);
dragDir (1 0 0);
@ -31,13 +27,14 @@ forceCoeffs1
magUInf 20;
lRef 1.42; // Wheelbase length
Aref 0.75; // Estimated
/*
binData
{
nBin 20; // output data into 20 bins
direction (1 0 0); // bin direction
cumulative yes;
}
*/
}

View File

@ -314,6 +314,8 @@ meshQualityControls
// Write flags
writeFlags
(
scalarLevels
layerSets
layerFields // write volScalarField for layer coverage
);

View File

@ -50,8 +50,8 @@ streamLines
axis x; //distance;
// Note: tracks slightly offset so as not to be on a face
start (-1.001 1e-7 0.0011);
end (-1.001 1e-7 1.0011);
start (-1.001 -0.05 0.0011);
end (-1.001 -0.05 1.0011);
nPoints 20;
}
}