postProcessing: packaged interfaceHeight function object
This commit is contained in:
24
etc/caseDicts/postProcessing/probes/interfaceHeight
Normal file
24
etc/caseDicts/postProcessing/probes/interfaceHeight
Normal file
@ -0,0 +1,24 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Web: www.OpenFOAM.org
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Description
|
||||
Reports the height of the interface above a set of locations. For each
|
||||
location, it writes the distance from the boundary to the interface,
|
||||
intersecting the location. It uses an integral approach, which computes an
|
||||
average where for multiple interfaces above or below a location.
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#includeEtc "caseDicts/postProcessing/probes/interfaceHeight.cfg"
|
||||
|
||||
alpha alpha.water;
|
||||
locations
|
||||
(
|
||||
(0 0 0)
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
15
etc/caseDicts/postProcessing/probes/interfaceHeight.cfg
Normal file
15
etc/caseDicts/postProcessing/probes/interfaceHeight.cfg
Normal file
@ -0,0 +1,15 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
type interfaceHeight;
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
writeControl timeStep;
|
||||
writeInterval 1;
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user