introvoyz042's picture
Migrated from GitHub
5a600cf verified
Raw History Blame Contribute Delete
1.43 kB
/*--------------------------------*- 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;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
forces
{
type forces;
libs ("libforces.so");
writeControl writeTime;
patches (floatingObject);
rho rhoInf;
log yes;
rhoInf 1000;
CofR (0 0 0);
}
poolHeight
{
type surfaceFieldValue;
libs ("libfieldFunctionObjects.so");
writeControl timeStep;
writeInterval 1;
log yes;
writeTotalArea no;
writeFields no;
faceZone
{
type box;
box (-100 0.9 -100) (0.2 100 100);
zone
{
type patch;
patch freeSurface;
}
}
operation areaAverage;
fields
(
zeta
);
}
// ************************************************************************* //