From 2d1c97f4fa8abef5143b4a8deec3d91f0beca807 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 2 Nov 2021 11:27:54 +0000 Subject: [PATCH] Function2::UniformTable2: Corrected and updated documentation Resolves bug-report https://bugs.openfoam.org/view.php?id=3750 --- .../Function2/UniformTable2/UniformTable2.H | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/OpenFOAM/primitives/functions/Function2/UniformTable2/UniformTable2.H b/src/OpenFOAM/primitives/functions/Function2/UniformTable2/UniformTable2.H index 4b9f800bfe..3ed8061b63 100644 --- a/src/OpenFOAM/primitives/functions/Function2/UniformTable2/UniformTable2.H +++ b/src/OpenFOAM/primitives/functions/Function2/UniformTable2/UniformTable2.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2020-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -36,23 +36,21 @@ Usage values | Property values, assumed uniformly distributed \endtable - Example for the density of water between 280 and 350K + Example for the density of water from 1 to 3bar and 280 to 350K \verbatim rho { type uniformTable; - pLow 1000; - pHigh 1e6; - - Tlow 280; - Thigh 350; + low (1e5 280); + high (3e5 350); values + 3 2 ( - 999.87 - 991.53 - 973.7 + (991 992) + (993 994) + (995 996) ); } \endverbatim