for the multiValveEngine fvMeshMover. This replaced the hard-coded messages printed by the multiValveEngine class, providing automatic logging of the piston and valve speed and position and easy user extension or replacement to provide additional case-specific diagnostics without having to hack the core multiValveEngine code. A functionObject configuration file is provided so that the simple line can be added to the system/functions file to enable this functionObject.
21 lines
783 B
C++
21 lines
783 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object functions;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
#includeFunc multiValveEngineState
|
|
#includeFunc checkMesh(executeControl=adjustableRunTime, executeInterval=5)
|
|
|
|
// ************************************************************************* //
|