1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2005-2010 Tommaso Lucchini
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
11 OpenFOAM is free software; you can redistribute it and/or modify it
12 under the terms of the GNU General Public License as published by the
13 Free Software Foundation; either version 2 of the License, or (at your
14 option) any later version.
16 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 You should have received a copy of the GNU General Public License
22 along with OpenFOAM; if not, write to the Free Software Foundation,
23 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28 \*---------------------------------------------------------------------------*/
33 inline const enginePiston& pistonSliding::piston() const
39 inline const thoboisSlidingValveBank& pistonSliding::valves() const
44 inline const scalar& pistonSliding::deformSwitch() const
49 inline const scalar& pistonSliding::delta() const
54 inline const scalar& pistonSliding::offSet() const
60 inline const scalar& pistonSliding::valveTopTol() const
66 inline const scalar& pistonSliding::pistonPosition() const
68 return pistonPosition_;
71 inline scalar& pistonSliding::pistonPosition()
73 return pistonPosition_;
76 inline const scalar& pistonSliding::virtualPistonPosition() const
78 return virtualPistonPosition_;
81 inline scalar& pistonSliding::virtualPistonPosition()
83 return virtualPistonPosition_;
87 inline const scalarField& pistonSliding::valveTopPosition() const
89 return valveTopPosition_;
92 inline scalarField& pistonSliding::valveTopPosition()
94 return valveTopPosition_;
98 inline const scalarField& pistonSliding::valveBottomPosition() const
100 return valveBottomPosition_;
103 inline scalarField& pistonSliding::valveBottomPosition()
105 return valveBottomPosition_;
108 inline const scalarField& pistonSliding::valvePistonPosition() const
110 return valvePistonPosition_;
113 inline scalarField& pistonSliding::valvePistonPosition()
115 return valvePistonPosition_;
118 inline const scalar& pistonSliding::deckHeight() const
123 inline scalar& pistonSliding::deckHeight()
128 inline const scalarField& pistonSliding::minValveZ() const
133 inline scalarField& pistonSliding::maxValveZ()
138 inline const scalar& pistonSliding::poppetValveTol() const
140 return poppetValveTol_;
143 inline boolList& pistonSliding::isReallyClosed()
145 return isReallyClosed_;
148 inline const boolList& pistonSliding::isReallyClosed() const
150 return isReallyClosed_;
152 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
154 } // End namespace Foam
156 // ************************************************************************* //