diff --git a/src/waves/derivedFvPatchFields/waveAlpha/waveAlphaFvPatchScalarField.H b/src/waves/derivedFvPatchFields/waveAlpha/waveAlphaFvPatchScalarField.H index 78c4136f0e..32226e0bb6 100644 --- a/src/waves/derivedFvPatchFields/waveAlpha/waveAlphaFvPatchScalarField.H +++ b/src/waves/derivedFvPatchFields/waveAlpha/waveAlphaFvPatchScalarField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2017-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -42,7 +42,7 @@ Usage { type waveAlpha; - phi phi; + libs ("libwaves.so"); liquid true; } \endverbatim diff --git a/src/waves/derivedFvPatchFields/waveInletOutlet/waveInletOutletFvPatchField.H b/src/waves/derivedFvPatchFields/waveInletOutlet/waveInletOutletFvPatchField.H index 36e5ad288e..ed87d71992 100644 --- a/src/waves/derivedFvPatchFields/waveInletOutlet/waveInletOutletFvPatchField.H +++ b/src/waves/derivedFvPatchFields/waveInletOutlet/waveInletOutletFvPatchField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2019-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2019-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -43,7 +43,7 @@ Usage { type waveInletOutlet; - phi phi; + libs ("libwaves.so"); inletValueAbove 0.01; inletValueBelow table ((0 0.01) (10 0.1)); } diff --git a/src/waves/derivedFvPatchFields/waveVelocity/waveVelocityFvPatchVectorField.H b/src/waves/derivedFvPatchFields/waveVelocity/waveVelocityFvPatchVectorField.H index 93adee045d..46be2e89af 100644 --- a/src/waves/derivedFvPatchFields/waveVelocity/waveVelocityFvPatchVectorField.H +++ b/src/waves/derivedFvPatchFields/waveVelocity/waveVelocityFvPatchVectorField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2017-2023 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -41,7 +41,7 @@ Usage { type waveVelocity; - phi phi; + libs ("libwaves.so"); } \endverbatim diff --git a/tutorials/modules/incompressibleFluid/waveSubSurface/0/U.orig b/tutorials/modules/incompressibleFluid/waveSubSurface/0/U.orig index e15549a19b..e137ac9603 100644 --- a/tutorials/modules/incompressibleFluid/waveSubSurface/0/U.orig +++ b/tutorials/modules/incompressibleFluid/waveSubSurface/0/U.orig @@ -24,15 +24,19 @@ boundaryField { type noSlip; } + "(top|inlet)" { type waveVelocity; + libs ("libwaves.so"); } + outlet { type pressureInletOutletVelocity; value $internalField; } + "(front|back)" { type symmetryPlane; diff --git a/tutorials/modules/incompressibleFluid/waveSubSurface/0/alpha.orig b/tutorials/modules/incompressibleFluid/waveSubSurface/0/alpha.orig index bf5d162e1e..e424a73614 100644 --- a/tutorials/modules/incompressibleFluid/waveSubSurface/0/alpha.orig +++ b/tutorials/modules/incompressibleFluid/waveSubSurface/0/alpha.orig @@ -24,10 +24,13 @@ boundaryField { type zeroGradient; } + "(top|inlet|outlet)" { type waveAlpha; + libs ("libwaves.so"); } + "(front|back)" { type symmetryPlane; diff --git a/tutorials/modules/incompressibleFluid/waveSubSurface/system/controlDict b/tutorials/modules/incompressibleFluid/waveSubSurface/system/controlDict index 2261f57103..bdb0ddcd01 100644 --- a/tutorials/modules/incompressibleFluid/waveSubSurface/system/controlDict +++ b/tutorials/modules/incompressibleFluid/waveSubSurface/system/controlDict @@ -50,9 +50,4 @@ adjustTimeStep no; maxCo 1; -libs -( - "libwaves.so" -); - // ************************************************************************* // diff --git a/tutorials/modules/incompressibleVoF/DTCHullWave/0/U.orig b/tutorials/modules/incompressibleVoF/DTCHullWave/0/U.orig index b341229a77..daaf39ff3b 100644 --- a/tutorials/modules/incompressibleVoF/DTCHullWave/0/U.orig +++ b/tutorials/modules/incompressibleVoF/DTCHullWave/0/U.orig @@ -28,6 +28,7 @@ boundaryField inlet { type waveVelocity; + libs ("libwaves.so"); } outlet diff --git a/tutorials/modules/incompressibleVoF/DTCHullWave/0/alpha.water.orig b/tutorials/modules/incompressibleVoF/DTCHullWave/0/alpha.water.orig index a3f86b583a..0280380814 100644 --- a/tutorials/modules/incompressibleVoF/DTCHullWave/0/alpha.water.orig +++ b/tutorials/modules/incompressibleVoF/DTCHullWave/0/alpha.water.orig @@ -26,6 +26,7 @@ boundaryField inlet { type waveAlpha; + libs ("libwaves.so"); } outlet diff --git a/tutorials/modules/incompressibleVoF/DTCHullWave/system/controlDict b/tutorials/modules/incompressibleVoF/DTCHullWave/system/controlDict index 9eeb7f7a83..9d10c98cd3 100644 --- a/tutorials/modules/incompressibleVoF/DTCHullWave/system/controlDict +++ b/tutorials/modules/incompressibleVoF/DTCHullWave/system/controlDict @@ -52,8 +52,6 @@ maxCo 10; maxAlphaCo 5; maxDeltaT 0.01; -libs ("libwaves.so"); - functions { surfaces diff --git a/tutorials/modules/incompressibleVoF/wave/0/U.orig b/tutorials/modules/incompressibleVoF/wave/0/U.orig index 0deb3dbf94..4482a2dece 100644 --- a/tutorials/modules/incompressibleVoF/wave/0/U.orig +++ b/tutorials/modules/incompressibleVoF/wave/0/U.orig @@ -25,19 +25,23 @@ boundaryField left { type waveVelocity; + libs ("libwaves.so"); } + right { type outletPhaseMeanVelocity; UnMean 2; alpha alpha.water; } + top { type pressureInletOutletVelocity; tangentialVelocity $internalField; value $internalField; } + bottom { type noSlip; diff --git a/tutorials/modules/incompressibleVoF/wave/0/alpha.water.orig b/tutorials/modules/incompressibleVoF/wave/0/alpha.water.orig index 1410048463..1e6b147b61 100644 --- a/tutorials/modules/incompressibleVoF/wave/0/alpha.water.orig +++ b/tutorials/modules/incompressibleVoF/wave/0/alpha.water.orig @@ -26,12 +26,14 @@ boundaryField { type zeroGradient; } + left { type waveAlpha; - U U; + libs ("libwaves.so"); inletOutlet true; } + top { type inletOutlet; diff --git a/tutorials/modules/incompressibleVoF/wave/system/controlDict b/tutorials/modules/incompressibleVoF/wave/system/controlDict index 356fd72c9f..45c27d6ee2 100644 --- a/tutorials/modules/incompressibleVoF/wave/system/controlDict +++ b/tutorials/modules/incompressibleVoF/wave/system/controlDict @@ -54,11 +54,6 @@ maxAlphaCo 1; maxDeltaT 1; -libs -( - "libwaves.so" -); - functions { interfaceHeight1 diff --git a/tutorials/modules/incompressibleVoF/wave3D/0/U.orig b/tutorials/modules/incompressibleVoF/wave3D/0/U.orig index 843439f974..64304bed98 100644 --- a/tutorials/modules/incompressibleVoF/wave3D/0/U.orig +++ b/tutorials/modules/incompressibleVoF/wave3D/0/U.orig @@ -25,12 +25,15 @@ boundaryField "(inlet|inletSide)" { type waveVelocity; + libs ("libwaves.so"); } + top { type pressureInletOutletVelocity; value uniform (0 0 0); } + bottom { type noSlip; diff --git a/tutorials/modules/incompressibleVoF/wave3D/0/alpha.water.orig b/tutorials/modules/incompressibleVoF/wave3D/0/alpha.water.orig index 2c7c2c43d8..1715c178b6 100644 --- a/tutorials/modules/incompressibleVoF/wave3D/0/alpha.water.orig +++ b/tutorials/modules/incompressibleVoF/wave3D/0/alpha.water.orig @@ -25,13 +25,16 @@ boundaryField "(inlet|inletSide)" { type waveAlpha; + libs ("libwaves.so"); } + top { type inletOutlet; inletValue uniform 0; value uniform 0; } + bottom { type zeroGradient; diff --git a/tutorials/modules/incompressibleVoF/wave3D/system/controlDict b/tutorials/modules/incompressibleVoF/wave3D/system/controlDict index dc40db6c37..0ffa22a829 100644 --- a/tutorials/modules/incompressibleVoF/wave3D/system/controlDict +++ b/tutorials/modules/incompressibleVoF/wave3D/system/controlDict @@ -54,11 +54,6 @@ maxAlphaCo 1; maxDeltaT 1; -libs -( - "libwaves.so" -); - functions { #includeFunc isoSurface(isoField=alpha.water, isoValue=0.5, fields=())