Files
openfoam/tutorials/combustion/engineFoam/freePiston/0/epsilon
Henry Weller 01efb2c85b ENH: engineTime: Generalized to provide run-time selection of piston-motion
Standard crank-connecting rod and the new free-piston kinematics motion options
are provides, others can easily be added.

Contributed by Francesco Contino and Nicolas Bourgeois, BURN Research Group.
2017-09-19 09:26:26 +01:00

54 lines
1.2 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format binary;
class volScalarField;
location "0";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "include/caseSettings"
dimensions [0 2 -3 0 0 0 0];
internalField uniform $:internalField.epsilon;
boundaryField
{
back
{
type wedge;
}
front
{
$back;
}
liner
{
$:wall.epsilon;
}
cylinderHead
{
$liner;
}
piston
{
$liner;
}
}
// ************************************************************************* //