applications/test: Updated

This commit is contained in:
Henry Weller
2020-10-01 16:09:02 +01:00
parent d89a8d3daa
commit cdd2db01cc
6 changed files with 12 additions and 13 deletions

View File

@ -1,7 +1,7 @@
EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/surfMesh/lnInclude
-I$(LIB_SRC)/fileFormats/lnInclude
EXE_LIBS = \
-lfiniteVolume
-lfiniteVolume \
-lfileFormats

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2020 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -29,11 +29,9 @@ Description
\*---------------------------------------------------------------------------*/
#include "PatchTools.H"
#include "argList.H"
#include "fvMesh.H"
#include "volFields.H"
#include "Time.H"
#include "PatchTools.H"
#include "OBJstream.H"
using namespace Foam;

View File

@ -1,5 +1,6 @@
EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude
EXE_LIBS = \
-lthermophysicalProperties

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License

View File

@ -1,5 +1,5 @@
EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude
EXE_LIBS = \
-lthermophysicalProperties

View File

@ -22,7 +22,7 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Application
Test-nonUniformTable
Test-nonUniformTable1D
Description
Tests the lookup of values of a linear function from and non-uniform
@ -30,7 +30,7 @@ Description
\*---------------------------------------------------------------------------*/
#include "nonUniformTableThermophysicalFunction.H"
#include "nonUniformTable1DThermophysicalFunction.H"
#include "IFstream.H"
using namespace Foam;
@ -42,7 +42,7 @@ int main(int argc, char *argv[])
{
dictionary dict(IFstream("thermoDict")());
thermophysicalFunctions::nonUniformTable table(dict);
thermophysicalFunctions::nonUniformTable1D table(dict);
const label n = 1000;
const scalar T0 = table.values().first().first();