mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Updated motorBike tutorial to correspond to the training course
This commit is contained in:
@ -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
|
||||
|
||||
@ -23,7 +23,7 @@ libs
|
||||
|
||||
application simpleFoam;
|
||||
|
||||
startFrom startTime; // latestTime;
|
||||
startFrom latestTime;
|
||||
|
||||
startTime 0;
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -314,6 +314,8 @@ meshQualityControls
|
||||
// Write flags
|
||||
writeFlags
|
||||
(
|
||||
scalarLevels
|
||||
layerSets
|
||||
layerFields // write volScalarField for layer coverage
|
||||
);
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user