From 1f5b9dbbcf03f84c5c87da6dc89909712d7f1e11 Mon Sep 17 00:00:00 2001 From: Henry Weller <http://cfd.direct> Date: Fri, 31 Mar 2017 17:11:30 +0100 Subject: [PATCH] tutorials/multiphase: Removed unnecessary specification of name and dimensions for transport properties --- .../interFoam/interMixingFoam/createFields.H | 2 +- .../threePhaseInterfaceProperties.C | 6 +-- .../phaseChangeTwoPhaseMixtures/Kunz/Kunz.C | 10 ++--- .../Merkle/Merkle.C | 10 ++--- .../SchnerrSauer/SchnerrSauer.C | 10 ++--- .../mixerVessel/constant/transportProperties | 10 ++--- .../constant/thermophysicalProperties | 4 +- .../constant/transportProperties | 10 ++--- .../constant/thermophysicalProperties | 12 +++--- .../RAS/DTCHull/constant/transportProperties | 10 ++--- .../constant/transportProperties | 10 ++--- .../constant/transportProperties | 10 ++--- .../constant/transportProperties | 10 ++--- .../constant/transportProperties | 10 ++--- .../constant/transportProperties | 10 ++--- .../constant/transportProperties | 10 ++--- .../constant/transportProperties | 10 ++--- .../constant/transportProperties | 10 ++--- .../constant/transportProperties | 10 ++--- .../constant/transportProperties | 10 ++--- .../nozzleFlow2D/constant/transportProperties | 10 ++--- .../RAS/DTCHull/constant/transportProperties | 10 ++--- .../angledDuct/constant/transportProperties | 10 ++--- .../damBreak/constant/transportProperties | 10 ++--- .../constant/transportProperties | 10 ++--- .../waterChannel/constant/transportProperties | 10 ++--- .../weirOverflow/constant/transportProperties | 10 ++--- .../constant/transportProperties | 10 ++--- .../constant/transportProperties | 10 ++--- .../damBreak/constant/transportProperties | 18 ++++----- .../propeller/constant/transportProperties | 36 ++++++++--------- .../constant/transportProperties | 40 +++++++++---------- 32 files changed, 184 insertions(+), 184 deletions(-) diff --git a/applications/solvers/multiphase/interFoam/interMixingFoam/createFields.H b/applications/solvers/multiphase/interFoam/interMixingFoam/createFields.H index 5b152b78a7a..5d8a42388a5 100644 --- a/applications/solvers/multiphase/interFoam/interMixingFoam/createFields.H +++ b/applications/solvers/multiphase/interFoam/interMixingFoam/createFields.H @@ -40,7 +40,7 @@ const dimensionedScalar& rho1 = mixture.rho1(); const dimensionedScalar& rho2 = mixture.rho2(); const dimensionedScalar& rho3 = mixture.rho3(); -dimensionedScalar D23(mixture.lookup("D23")); +dimensionedScalar D23("D23", dimViscosity, mixture); // Need to store rho for ddt(rho, U) volScalarField rho diff --git a/applications/solvers/multiphase/interFoam/interMixingFoam/threePhaseInterfaceProperties/threePhaseInterfaceProperties.C b/applications/solvers/multiphase/interFoam/interMixingFoam/threePhaseInterfaceProperties/threePhaseInterfaceProperties.C index 9a1c7bc2151..74f45196891 100644 --- a/applications/solvers/multiphase/interFoam/interMixingFoam/threePhaseInterfaceProperties/threePhaseInterfaceProperties.C +++ b/applications/solvers/multiphase/interFoam/interMixingFoam/threePhaseInterfaceProperties/threePhaseInterfaceProperties.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -168,8 +168,8 @@ Foam::threePhaseInterfaceProperties::threePhaseInterfaceProperties ).lookup("cAlpha") ) ), - sigma12_(mixture.lookup("sigma12")), - sigma13_(mixture.lookup("sigma13")), + sigma12_("sigma12", dimensionSet(1, 0, -2, 0, 0), mixture), + sigma13_("sigma13", dimensionSet(1, 0, -2, 0, 0), mixture), deltaN_ ( diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Kunz/Kunz.C b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Kunz/Kunz.C index a4663ba4887..74c0ec248b3 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Kunz/Kunz.C +++ b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Kunz/Kunz.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -47,10 +47,10 @@ Foam::phaseChangeTwoPhaseMixtures::Kunz::Kunz : phaseChangeTwoPhaseMixture(typeName, U, phi), - UInf_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("UInf")), - tInf_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("tInf")), - Cc_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("Cc")), - Cv_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("Cv")), + UInf_("UInf", dimVelocity, phaseChangeTwoPhaseMixtureCoeffs_), + tInf_("tInf", dimTime, phaseChangeTwoPhaseMixtureCoeffs_), + Cc_("Cc", dimless, phaseChangeTwoPhaseMixtureCoeffs_), + Cv_("Cv", dimless, phaseChangeTwoPhaseMixtureCoeffs_), p0_("0", pSat().dimensions(), 0.0), diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Merkle/Merkle.C b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Merkle/Merkle.C index cfe6b1b0083..853884b7943 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Merkle/Merkle.C +++ b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/Merkle/Merkle.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -47,10 +47,10 @@ Foam::phaseChangeTwoPhaseMixtures::Merkle::Merkle : phaseChangeTwoPhaseMixture(typeName, U, phi), - UInf_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("UInf")), - tInf_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("tInf")), - Cc_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("Cc")), - Cv_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("Cv")), + UInf_("UInf", dimVelocity, phaseChangeTwoPhaseMixtureCoeffs_), + tInf_("tInf", dimTime, phaseChangeTwoPhaseMixtureCoeffs_), + Cc_("Cc", dimless, phaseChangeTwoPhaseMixtureCoeffs_), + Cv_("Cv", dimless, phaseChangeTwoPhaseMixtureCoeffs_), p0_("0", pSat().dimensions(), 0.0), diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.C b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.C index 3be86e0f518..7f7771cec48 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.C +++ b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -54,10 +54,10 @@ Foam::phaseChangeTwoPhaseMixtures::SchnerrSauer::SchnerrSauer : phaseChangeTwoPhaseMixture(typeName, U, phi), - n_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("n")), - dNuc_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("dNuc")), - Cc_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("Cc")), - Cv_(phaseChangeTwoPhaseMixtureCoeffs_.lookup("Cv")), + n_("n", dimless/dimVolume, phaseChangeTwoPhaseMixtureCoeffs_), + dNuc_("dNuc", dimLength, phaseChangeTwoPhaseMixtureCoeffs_), + Cc_("Cc", dimless, phaseChangeTwoPhaseMixtureCoeffs_), + Cv_("Cv", dimless, phaseChangeTwoPhaseMixtureCoeffs_), p0_("0", pSat().dimensions(), 0.0) { diff --git a/tutorials/mesh/foamyHexMesh/mixerVessel/constant/transportProperties b/tutorials/mesh/foamyHexMesh/mixerVessel/constant/transportProperties index a1b5e037da4..2f23ef4fcd8 100644 --- a/tutorials/mesh/foamyHexMesh/mixerVessel/constant/transportProperties +++ b/tutorials/mesh/foamyHexMesh/mixerVessel/constant/transportProperties @@ -20,17 +20,17 @@ phases (phase1 phase2); phase1 { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 300; + nu 1e-06; + rho 300; } phase2 { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-6; - rho [1 -3 0 0 0 0 0] 1027; + nu 1e-6; + rho 1027; } -sigma [1 0 -2 0 0 0 0] 0.07; +sigma 0.07; // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterDyMFoam/RAS/sloshingTank2D/constant/thermophysicalProperties b/tutorials/multiphase/compressibleInterDyMFoam/RAS/sloshingTank2D/constant/thermophysicalProperties index eb43806c074..d066fd0ac3a 100644 --- a/tutorials/multiphase/compressibleInterDyMFoam/RAS/sloshingTank2D/constant/thermophysicalProperties +++ b/tutorials/multiphase/compressibleInterDyMFoam/RAS/sloshingTank2D/constant/thermophysicalProperties @@ -17,8 +17,8 @@ FoamFile phases (water air); -pMin [1 -1 -2 0 0 0 0] 1000; +pMin 1000; -sigma [1 0 -2 0 0 0 0] 0; +sigma 0; // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleInterDyMFoam/RAS/sloshingTank2D/constant/transportProperties b/tutorials/multiphase/compressibleInterDyMFoam/RAS/sloshingTank2D/constant/transportProperties index f746c067998..6db1662ce40 100644 --- a/tutorials/multiphase/compressibleInterDyMFoam/RAS/sloshingTank2D/constant/transportProperties +++ b/tutorials/multiphase/compressibleInterDyMFoam/RAS/sloshingTank2D/constant/transportProperties @@ -20,18 +20,18 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 998.2; + nu 1e-06; + rho 998.2; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0; +sigma 0; // ************************************************************************* // diff --git a/tutorials/multiphase/compressibleMultiphaseInterFoam/laminar/damBreak4phase/constant/thermophysicalProperties b/tutorials/multiphase/compressibleMultiphaseInterFoam/laminar/damBreak4phase/constant/thermophysicalProperties index 69dc3521df6..9391dc3d779 100644 --- a/tutorials/multiphase/compressibleMultiphaseInterFoam/laminar/damBreak4phase/constant/thermophysicalProperties +++ b/tutorials/multiphase/compressibleMultiphaseInterFoam/laminar/damBreak4phase/constant/thermophysicalProperties @@ -17,16 +17,16 @@ FoamFile phases (water oil mercury air); -pMin [1 -1 -2 0 0 0 0] 10000; +pMin 10000; sigmas ( - (air water) 0.07 - (air oil) 0.07 - (air mercury) 0.07 - (water oil) 0.07 + (air water) 0.07 + (air oil) 0.07 + (air mercury) 0.07 + (water oil) 0.07 (water mercury) 0.07 - (oil mercury) 0.07 + (oil mercury) 0.07 ); diff --git a/tutorials/multiphase/interDyMFoam/RAS/DTCHull/constant/transportProperties b/tutorials/multiphase/interDyMFoam/RAS/DTCHull/constant/transportProperties index 7e4c459f6a2..c6a95564973 100644 --- a/tutorials/multiphase/interDyMFoam/RAS/DTCHull/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/RAS/DTCHull/constant/transportProperties @@ -20,17 +20,17 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.09e-06; - rho [1 -3 0 0 0 0 0] 998.8; + nu 1.09e-06; + rho 998.8; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0; +sigma 0; // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/RAS/floatingObject/constant/transportProperties b/tutorials/multiphase/interDyMFoam/RAS/floatingObject/constant/transportProperties index f746c067998..6db1662ce40 100644 --- a/tutorials/multiphase/interDyMFoam/RAS/floatingObject/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/RAS/floatingObject/constant/transportProperties @@ -20,18 +20,18 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 998.2; + nu 1e-06; + rho 998.2; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0; +sigma 0; // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/RAS/mixerVesselAMI/constant/transportProperties b/tutorials/multiphase/interDyMFoam/RAS/mixerVesselAMI/constant/transportProperties index 35763b23e72..d01edc3f3e0 100644 --- a/tutorials/multiphase/interDyMFoam/RAS/mixerVesselAMI/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/RAS/mixerVesselAMI/constant/transportProperties @@ -20,17 +20,17 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 300; + nu 1e-06; + rho 300; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-6; - rho [1 -3 0 0 0 0 0] 1027; + nu 1e-6; + rho 1027; } -sigma [1 0 -2 0 0 0 0] 0.07; +sigma 0.07; // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/laminar/damBreakWithObstacle/constant/transportProperties b/tutorials/multiphase/interDyMFoam/laminar/damBreakWithObstacle/constant/transportProperties index 577be61a90e..1926605ca93 100644 --- a/tutorials/multiphase/interDyMFoam/laminar/damBreakWithObstacle/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/laminar/damBreakWithObstacle/constant/transportProperties @@ -20,18 +20,18 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 1000; + nu 1e-06; + rho 1000; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0.07; +sigma 0.07; // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/laminar/sloshingCylinder/constant/transportProperties b/tutorials/multiphase/interDyMFoam/laminar/sloshingCylinder/constant/transportProperties index 6c7844de681..8fa813d379d 100644 --- a/tutorials/multiphase/interDyMFoam/laminar/sloshingCylinder/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/laminar/sloshingCylinder/constant/transportProperties @@ -20,17 +20,17 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 998.2; + nu 1e-06; + rho 998.2; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0.07; +sigma 0.07; // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank2D/constant/transportProperties b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank2D/constant/transportProperties index e0fdefd56e4..daec936b732 100644 --- a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank2D/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank2D/constant/transportProperties @@ -20,17 +20,17 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 998.2; + nu 1e-06; + rho 998.2; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0; +sigma 0; // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank2D3DoF/constant/transportProperties b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank2D3DoF/constant/transportProperties index f746c067998..6db1662ce40 100644 --- a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank2D3DoF/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank2D3DoF/constant/transportProperties @@ -20,18 +20,18 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 998.2; + nu 1e-06; + rho 998.2; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0; +sigma 0; // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D/constant/transportProperties b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D/constant/transportProperties index e0fdefd56e4..daec936b732 100644 --- a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D/constant/transportProperties @@ -20,17 +20,17 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 998.2; + nu 1e-06; + rho 998.2; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0; +sigma 0; // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D3DoF/constant/transportProperties b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D3DoF/constant/transportProperties index f746c067998..6db1662ce40 100644 --- a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D3DoF/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D3DoF/constant/transportProperties @@ -20,18 +20,18 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 998.2; + nu 1e-06; + rho 998.2; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0; +sigma 0; // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D6DoF/constant/transportProperties b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D6DoF/constant/transportProperties index e0fdefd56e4..daec936b732 100644 --- a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D6DoF/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D6DoF/constant/transportProperties @@ -20,17 +20,17 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 998.2; + nu 1e-06; + rho 998.2; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0; +sigma 0; // ************************************************************************* // diff --git a/tutorials/multiphase/interDyMFoam/laminar/testTubeMixer/constant/transportProperties b/tutorials/multiphase/interDyMFoam/laminar/testTubeMixer/constant/transportProperties index f746c067998..6db1662ce40 100644 --- a/tutorials/multiphase/interDyMFoam/laminar/testTubeMixer/constant/transportProperties +++ b/tutorials/multiphase/interDyMFoam/laminar/testTubeMixer/constant/transportProperties @@ -20,18 +20,18 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 998.2; + nu 1e-06; + rho 998.2; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0; +sigma 0; // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/LES/nozzleFlow2D/constant/transportProperties b/tutorials/multiphase/interFoam/LES/nozzleFlow2D/constant/transportProperties index d3ee304bc3d..82859f78f8e 100644 --- a/tutorials/multiphase/interFoam/LES/nozzleFlow2D/constant/transportProperties +++ b/tutorials/multiphase/interFoam/LES/nozzleFlow2D/constant/transportProperties @@ -20,17 +20,17 @@ phases (fuel air); fuel { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 5.952e-06; - rho [1 -3 0 0 0 0 0] 840; + nu 5.952e-06; + rho 840; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 8.5e-07; - rho [1 -3 0 0 0 0 0] 20; + nu 8.5e-07; + rho 20; } -sigma [1 0 -2 0 0 0 0] 0.0261; +sigma 0.0261; // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/RAS/DTCHull/constant/transportProperties b/tutorials/multiphase/interFoam/RAS/DTCHull/constant/transportProperties index 7e4c459f6a2..c6a95564973 100644 --- a/tutorials/multiphase/interFoam/RAS/DTCHull/constant/transportProperties +++ b/tutorials/multiphase/interFoam/RAS/DTCHull/constant/transportProperties @@ -20,17 +20,17 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.09e-06; - rho [1 -3 0 0 0 0 0] 998.8; + nu 1.09e-06; + rho 998.8; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0; +sigma 0; // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/RAS/angledDuct/constant/transportProperties b/tutorials/multiphase/interFoam/RAS/angledDuct/constant/transportProperties index 577be61a90e..1926605ca93 100644 --- a/tutorials/multiphase/interFoam/RAS/angledDuct/constant/transportProperties +++ b/tutorials/multiphase/interFoam/RAS/angledDuct/constant/transportProperties @@ -20,18 +20,18 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 1000; + nu 1e-06; + rho 1000; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0.07; +sigma 0.07; // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/RAS/damBreak/damBreak/constant/transportProperties b/tutorials/multiphase/interFoam/RAS/damBreak/damBreak/constant/transportProperties index 577be61a90e..1926605ca93 100644 --- a/tutorials/multiphase/interFoam/RAS/damBreak/damBreak/constant/transportProperties +++ b/tutorials/multiphase/interFoam/RAS/damBreak/damBreak/constant/transportProperties @@ -20,18 +20,18 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 1000; + nu 1e-06; + rho 1000; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0.07; +sigma 0.07; // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/RAS/damBreakPorousBaffle/constant/transportProperties b/tutorials/multiphase/interFoam/RAS/damBreakPorousBaffle/constant/transportProperties index 577be61a90e..1926605ca93 100644 --- a/tutorials/multiphase/interFoam/RAS/damBreakPorousBaffle/constant/transportProperties +++ b/tutorials/multiphase/interFoam/RAS/damBreakPorousBaffle/constant/transportProperties @@ -20,18 +20,18 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 1000; + nu 1e-06; + rho 1000; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0.07; +sigma 0.07; // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/RAS/waterChannel/constant/transportProperties b/tutorials/multiphase/interFoam/RAS/waterChannel/constant/transportProperties index 4c569fe731c..1926605ca93 100644 --- a/tutorials/multiphase/interFoam/RAS/waterChannel/constant/transportProperties +++ b/tutorials/multiphase/interFoam/RAS/waterChannel/constant/transportProperties @@ -20,18 +20,18 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 1000; + nu 1e-06; + rho 1000; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0.07; +sigma 0.07; // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/RAS/weirOverflow/constant/transportProperties b/tutorials/multiphase/interFoam/RAS/weirOverflow/constant/transportProperties index 577be61a90e..1926605ca93 100644 --- a/tutorials/multiphase/interFoam/RAS/weirOverflow/constant/transportProperties +++ b/tutorials/multiphase/interFoam/RAS/weirOverflow/constant/transportProperties @@ -20,18 +20,18 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 1000; + nu 1e-06; + rho 1000; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0.07; +sigma 0.07; // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/laminar/capillaryRise/constant/transportProperties b/tutorials/multiphase/interFoam/laminar/capillaryRise/constant/transportProperties index 5d558910509..19e03c6ee29 100644 --- a/tutorials/multiphase/interFoam/laminar/capillaryRise/constant/transportProperties +++ b/tutorials/multiphase/interFoam/laminar/capillaryRise/constant/transportProperties @@ -20,18 +20,18 @@ phases (water air); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-06; - rho [1 -3 0 0 0 0 0] 1000; + nu 1e-06; + rho 1000; } air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } -sigma [1 0 -2 0 0 0 0] 0.0707106; +sigma 0.0707106; // ************************************************************************* // diff --git a/tutorials/multiphase/interFoam/laminar/mixerVessel2D/constant/transportProperties b/tutorials/multiphase/interFoam/laminar/mixerVessel2D/constant/transportProperties index 63f9f40e967..cedd954f73e 100644 --- a/tutorials/multiphase/interFoam/laminar/mixerVessel2D/constant/transportProperties +++ b/tutorials/multiphase/interFoam/laminar/mixerVessel2D/constant/transportProperties @@ -20,18 +20,18 @@ phases (water oir); water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-4; - rho [1 -3 0 0 0 0 0] 1000; + nu 1e-4; + rho 1000; } oir { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-4; - rho [1 -3 0 0 0 0 0] 500; + nu 1e-4; + rho 500; } -sigma [1 0 -2 0 0 0 0] 0.05; +sigma 0.05; // ************************************************************************* // diff --git a/tutorials/multiphase/interMixingFoam/laminar/damBreak/constant/transportProperties b/tutorials/multiphase/interMixingFoam/laminar/damBreak/constant/transportProperties index 307bc1aba94..24172f6ba1d 100644 --- a/tutorials/multiphase/interMixingFoam/laminar/damBreak/constant/transportProperties +++ b/tutorials/multiphase/interMixingFoam/laminar/damBreak/constant/transportProperties @@ -20,29 +20,29 @@ phases (air other water); air { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1.48e-05; - rho [1 -3 0 0 0 0 0] 1; + nu 1.48e-05; + rho 1; } other { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-6; - rho [1 -3 0 0 0 0 0] 1010; + nu 1e-6; + rho 1010; } water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 1e-6; - rho [1 -3 0 0 0 0 0] 1000; + nu 1e-6; + rho 1000; } // Surface tension coefficients -sigma12 sigma12 [1 0 -2 0 0 0 0] 0.05; -sigma13 sigma13 [1 0 -2 0 0 0 0] 0.04; +sigma12 0.05; +sigma13 0.04; // Diffusivity between miscible phases -D23 D23 [0 2 -1 0 0 0 0] 3e-09; +D23 3e-09; // ************************************************************************* // diff --git a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/constant/transportProperties b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/constant/transportProperties index d3523579d45..bcab66481c3 100644 --- a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/constant/transportProperties +++ b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/constant/transportProperties @@ -19,46 +19,46 @@ phases (water vapour); phaseChangeTwoPhaseMixture SchnerrSauer; -pSat [1 -1 -2 0 0 0 0] 2300; // Saturation pressure +pSat 2300; // Saturation pressure -sigma [1 0 -2 0 0 0 0] 0.07; +sigma 0.07; water { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 9e-07; - rho [1 -3 0 0 0 0 0] 1000; + nu 9e-07; + rho 1000; } vapour { transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 4.273e-04; - rho [1 -3 0 0 0 0 0] 0.02308; + nu 4.273e-04; + rho 0.02308; } KunzCoeffs { - UInf UInf [0 1 -1 0 0 0 0] 20.0; - tInf tInf [0 0 1 0 0 0 0] 0.005; // L = 0.1 m - Cc Cc [0 0 0 0 0 0 0] 1000; - Cv Cv [0 0 0 0 0 0 0] 1000; + UInf 20.0; + tInf 0.005; // L = 0.1 m + Cc 1000; + Cv 1000; } MerkleCoeffs { - UInf UInf [0 1 -1 0 0 0 0] 20.0; - tInf tInf [0 0 1 0 0 0 0] 0.005; // L = 0.1 m - Cc Cc [0 0 0 0 0 0 0] 80; - Cv Cv [0 0 0 0 0 0 0] 1e-03; + UInf 20.0; + tInf 0.005; // L = 0.1 m + Cc 80; + Cv 1e-03; } SchnerrSauerCoeffs { - n n [0 -3 0 0 0 0 0] 1.6e+13; - dNuc dNuc [0 1 0 0 0 0 0] 2.0e-06; - Cc Cc [0 0 0 0 0 0 0] 1; - Cv Cv [0 0 0 0 0 0 0] 1; + n 1.6e+13; + dNuc 2.0e-06; + Cc 1; + Cv 1; } // ************************************************************************* // diff --git a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/constant/transportProperties b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/constant/transportProperties index e5342b55c66..ec41a9b5a93 100644 --- a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/constant/transportProperties +++ b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/constant/transportProperties @@ -18,46 +18,46 @@ phases (water vapour); phaseChangeTwoPhaseMixture SchnerrSauer; -pSat [1 -1 -2 0 0 0 0] 2300; // Saturation pressure +pSat 2300; // Saturation pressure -sigma [1 0 -2 0 0 0 0] 0.07; +sigma 0.07; water { - transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 9e-07; - rho [1 -3 0 0 0 0 0] 1000; + transportModel Newtonian; + nu 9e-07; + rho 1000; } vapour { - transportModel Newtonian; - nu [0 2 -1 0 0 0 0] 4.273e-04; - rho [1 -3 0 0 0 0 0] 0.02308; + transportModel Newtonian; + nu 4.273e-04; + rho 0.02308; } KunzCoeffs { - UInf UInf [0 1 -1 0 0 0 0] 20.0; - tInf tInf [0 0 1 0 0 0 0] 0.005; // L = 0.1 m - Cc Cc [0 0 0 0 0 0 0] 1000; - Cv Cv [0 0 0 0 0 0 0] 1000; + UInf U20.0; + tInf t0.005; // L = 0.1 m + Cc C1000; + Cv C1000; } MerkleCoeffs { - UInf UInf [0 1 -1 0 0 0 0] 20.0; - tInf tInf [0 0 1 0 0 0 0] 0.005; // L = 0.1 m - Cc Cc [0 0 0 0 0 0 0] 80; - Cv Cv [0 0 0 0 0 0 0] 1e-03; + UInf 20.0; + tInf 0.005; // L = 0.1 m + Cc 80; + Cv 1e-03; } SchnerrSauerCoeffs { - n n [0 -3 0 0 0 0 0] 1.6e+13; - dNuc dNuc [0 1 0 0 0 0 0] 2.0e-06; - Cc Cc [0 0 0 0 0 0 0] 1; - Cv Cv [0 0 0 0 0 0 0] 1; + n 1.6e+13; + dNuc 2.0e-06; + Cc 1; + Cv 1; } -- GitLab