diff --git a/integration/OpenCFD/code/waveBCs/Make/files b/integration/OpenCFD/code/waveBCs/Make/files deleted file mode 100644 index 734e8d76a9121d7c05083c7afd335c74cf1c0de9..0000000000000000000000000000000000000000 --- a/integration/OpenCFD/code/waveBCs/Make/files +++ /dev/null @@ -1,4 +0,0 @@ -waveInletVelocity/waveInletVelocityFvPatchVectorField.C -waveInletAlpha/waveInletAlphaFvPatchScalarField.C - -LIB = $(FOAM_USER_LIBBIN)/libwaveBCs diff --git a/integration/OpenCFD/code/waveBCs/Make/options b/integration/OpenCFD/code/waveBCs/Make/options deleted file mode 100644 index dac0999deba2ba2e750944636b013b778adb5490..0000000000000000000000000000000000000000 --- a/integration/OpenCFD/code/waveBCs/Make/options +++ /dev/null @@ -1,10 +0,0 @@ -DEV_PATH = .. - -EXE_INC = \ - -I$(DEV_PATH)/waveModel/lnInclude \ - -I$(LIB_SRC)/finiteVolume/lnInclude - -LIB_LIBS = \ - -L$(FOAM_USER_LIBBIN) \ - -lwaveModels \ - -lfiniteVolume diff --git a/integration/OpenCFD/code/waveBCs/waveAbsorptionOutletVelocity/waveAbsorptionOutletVelocityFvPatchVectorField.C b/integration/OpenCFD/code/waveBCs/waveAbsorptionOutletVelocity/waveAbsorptionOutletVelocityFvPatchVectorField.C deleted file mode 100644 index e4a462c001ca95839654504f8af57b73c25b47e7..0000000000000000000000000000000000000000 --- a/integration/OpenCFD/code/waveBCs/waveAbsorptionOutletVelocity/waveAbsorptionOutletVelocityFvPatchVectorField.C +++ /dev/null @@ -1,150 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 2016 OpenCFD Ltd. - \\/ M anipulation | Copyright (C) 2015 IH-Cantabria -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software: you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. - -\*---------------------------------------------------------------------------*/ - -#include "waveAbsorptionOutletVelocityFvPatchVectorField.H" -#include "addToRunTimeSelectionTable.H" -#include "fvPatchFieldMapper.H" -#include "waveModel.H" - -// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // - -Foam::waveAbsorptionOutletVelocityFvPatchVectorField:: -waveAbsorptionOutletVelocityFvPatchVectorField -( - const fvPatch& p, - const DimensionedField<vector, volMesh>& iF -) -: - fixedValueFvPatchField<vector>(p, iF), - waveDictName_(waveModel::dictName) -{} - - -Foam::waveAbsorptionOutletVelocityFvPatchVectorField:: -waveAbsorptionOutletVelocityFvPatchVectorField -( - const waveAbsorptionOutletVelocityFvPatchVectorField& ptf, - const fvPatch& p, - const DimensionedField<vector, volMesh>& iF, - const fvPatchFieldMapper& mapper -) -: - fixedValueFvPatchField<vector>(ptf, p, iF, mapper), - waveDictName_(ptf.waveDictName_) -{} - - -Foam::waveAbsorptionOutletVelocityFvPatchVectorField:: -waveAbsorptionOutletVelocityFvPatchVectorField -( - const fvPatch& p, - const DimensionedField<vector, volMesh>& iF, - const dictionary& dict -) -: - fixedValueFvPatchField<vector>(p, iF, dict), - waveDictName_(dict.lookupOrDefault<word>("waveDict", waveModel::dictName)) -{} - - -Foam::waveAbsorptionOutletVelocityFvPatchVectorField:: -waveAbsorptionOutletVelocityFvPatchVectorField -( - const waveAbsorptionOutletVelocityFvPatchVectorField& ptf -) -: - fixedValueFvPatchField<vector>(ptf), - waveDictName_(ptf.waveDictName_) -{} - - -Foam::waveAbsorptionOutletVelocityFvPatchVectorField:: -waveAbsorptionOutletVelocityFvPatchVectorField -( - const waveAbsorptionOutletVelocityFvPatchVectorField& ptf, - const DimensionedField<vector, volMesh>& iF -) -: - fixedValueFvPatchField<vector>(ptf, iF), - waveDictName_(ptf.waveDictName_) -{} - - -// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // - -void Foam::waveAbsorptionOutletVelocityFvPatchVectorField::updateCoeffs() -{ - if (updated()) - { - return; - } - - tmp<waveModel> tmodel - ( - waveModel::lookupOrCreate - ( - patch().patch(), - internalField().mesh(), - waveDictName_ - ) - ); - - waveModel& model = const_cast<waveModel&>(tmodel()); - - model.correct(db().time().value()); - - operator == (model.U()); - - fixedValueFvPatchField<vector>::updateCoeffs(); -} - - -void Foam::waveAbsorptionOutletVelocityFvPatchVectorField::write -( - Ostream& os -) const -{ - fvPatchField<vector>::write(os); - - os.writeKeyword("waveDictName") << waveDictName_ - << token::END_STATEMENT << nl; - - writeEntry("value", os); -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ - makePatchTypeField - ( - fvPatchVectorField, - waveAbsorptionOutletVelocityFvPatchVectorField - ); -} - - -// ************************************************************************* // diff --git a/integration/OpenCFD/code/waveBCs/waveAbsorptionOutletVelocity/waveAbsorptionOutletVelocityFvPatchVectorField.H b/integration/OpenCFD/code/waveBCs/waveAbsorptionOutletVelocity/waveAbsorptionOutletVelocityFvPatchVectorField.H deleted file mode 100644 index d797e8017c055774b2646bd105e21718930acbbd..0000000000000000000000000000000000000000 --- a/integration/OpenCFD/code/waveBCs/waveAbsorptionOutletVelocity/waveAbsorptionOutletVelocityFvPatchVectorField.H +++ /dev/null @@ -1,165 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 2016 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software: you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. - -Class - Foam::waveAbsorptionOutletVelocityFvPatchVectorField - -Description - Example of the boundary condition specification: - \verbatim - inlet - { - type waveAbsorptionOutletVelocity; - waveDict wavesDict; - value uniform (0 0 0); - } - \endverbatim - -Usage - \table - Property | Description | Required | Default value - type | type: waveAbsorptionOutletVelocity | yes | - waveDict | Dictionary specifying wave variables | no | waveProperties - \endtable - -Note - - The value is positive inwards - - May not work correctly for transonic inlets - - Strange behaviour with potentialFoam since the U equation is not solved - -SourceFiles - waveAbsorptionOutletVelocityFvPatchVectorField.C - -\*---------------------------------------------------------------------------*/ - -#ifndef waveAbsorptionOutletVelocityFvPatchVectorField_H -#define waveAbsorptionOutletVelocityFvPatchVectorField_H - -#include "fixedValueFvPatchFields.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ -/*---------------------------------------------------------------------------*\ - Class waveAbsorptionOutletVelocityFvPatchVectorField Declaration -\*---------------------------------------------------------------------------*/ - -class waveAbsorptionOutletVelocityFvPatchVectorField -: - public fixedValueFvPatchVectorField -{ - // Private data - - //- Dictionary name - word waveDictName_; - - -public: - - //- Runtime type information - TypeName("waveAbsorptionOutletVelocity"); - - - // Constructors - - //- Construct from patch and internal field - waveAbsorptionOutletVelocityFvPatchVectorField - ( - const fvPatch&, - const DimensionedField<vector, volMesh>& - ); - - //- Construct from patch, internal field and dictionary - waveAbsorptionOutletVelocityFvPatchVectorField - ( - const fvPatch&, - const DimensionedField<vector, volMesh>&, - const dictionary& - ); - - //- Construct by mapping given - // waveAbsorptionOutletVelocityFvPatchVectorField - // onto a new patch - waveAbsorptionOutletVelocityFvPatchVectorField - ( - const waveAbsorptionOutletVelocityFvPatchVectorField&, - const fvPatch&, - const DimensionedField<vector, volMesh>&, - const fvPatchFieldMapper& - ); - - //- Construct as copy - waveAbsorptionOutletVelocityFvPatchVectorField - ( - const waveAbsorptionOutletVelocityFvPatchVectorField& - ); - - //- Construct and return a clone - virtual tmp<fvPatchVectorField> clone() const - { - return tmp<fvPatchVectorField> - ( - new waveAbsorptionOutletVelocityFvPatchVectorField(*this) - ); - } - - //- Construct as copy setting internal field reference - waveAbsorptionOutletVelocityFvPatchVectorField - ( - const waveAbsorptionOutletVelocityFvPatchVectorField&, - const DimensionedField<vector, volMesh>& - ); - - //- Construct and return a clone setting internal field reference - virtual tmp<fvPatchVectorField> clone - ( - const DimensionedField<vector, volMesh>& iF - ) const - { - return tmp<fvPatchVectorField> - ( - new waveAbsorptionOutletVelocityFvPatchVectorField(*this, iF) - ); - } - - - // Member functions - - //- Update the coefficients associated with the patch field - virtual void updateCoeffs(); - - //- Write - virtual void write(Ostream&) const; -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace Foam - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/src/Allwmake b/src/Allwmake index 511c735a7e5a4174a4442b5e2d4874f5ac0e0f0d..bb74a0e6db18f357a687558755ab06b00321374a 100755 --- a/src/Allwmake +++ b/src/Allwmake @@ -72,6 +72,7 @@ lagrangian/Allwmake $targetType $* mesh/Allwmake $targetType $* renumber/Allwmake $targetType $* fvAgglomerationMethods/Allwmake $targetType $* +wmake $targetType waveModels wmake $targetType engine wmake $targetType fvOptions diff --git a/integration/OpenCFD/code/waveModel/Make/files b/src/waveModels/Make/files similarity index 80% rename from integration/OpenCFD/code/waveModel/Make/files rename to src/waveModels/Make/files index 36161a0045c1b6db82afc6ec1e6097e7069450bc..67333fa8212da6bf46a5c56b6b6d02f53b6855db 100644 --- a/integration/OpenCFD/code/waveModel/Make/files +++ b/src/waveModels/Make/files @@ -14,5 +14,7 @@ waveGenerationModels/derived/StokesV/StokesVWaveModel.C waveAbsorptionModels/base/waveAbsorptionModel/waveAbsorptionModel.C waveAbsorptionModels/derived/shallowWaterAbsorption/shallowWaterAbsorption.C +derivedFvPatchFields/waveVelocity/waveVelocityFvPatchVectorField.C +derivedFvPatchFields/waveAlpha/waveAlphaFvPatchScalarField.C -LIB = $(FOAM_USER_LIBBIN)/libwaveModels +LIB = $(FOAM_LIBBIN)/libwaveModels diff --git a/integration/OpenCFD/code/waveModel/Make/options b/src/waveModels/Make/options similarity index 100% rename from integration/OpenCFD/code/waveModel/Make/options rename to src/waveModels/Make/options diff --git a/integration/OpenCFD/code/waveBCs/waveInletAlpha/waveInletAlphaFvPatchScalarField.C b/src/waveModels/derivedFvPatchFields/waveAlpha/waveAlphaFvPatchScalarField.C similarity index 81% rename from integration/OpenCFD/code/waveBCs/waveInletAlpha/waveInletAlphaFvPatchScalarField.C rename to src/waveModels/derivedFvPatchFields/waveAlpha/waveAlphaFvPatchScalarField.C index 3dd4e5bcd837689f19ae4fb7d26a4d5143c7de86..6117513bc992aa6ce37ccb7994291e9eb97c3d42 100644 --- a/integration/OpenCFD/code/waveBCs/waveInletAlpha/waveInletAlphaFvPatchScalarField.C +++ b/src/waveModels/derivedFvPatchFields/waveAlpha/waveAlphaFvPatchScalarField.C @@ -23,14 +23,14 @@ License \*---------------------------------------------------------------------------*/ -#include "waveInletAlphaFvPatchScalarField.H" +#include "waveAlphaFvPatchScalarField.H" #include "addToRunTimeSelectionTable.H" #include "fvPatchFieldMapper.H" #include "waveModel.H" // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // -Foam::waveInletAlphaFvPatchScalarField::waveInletAlphaFvPatchScalarField +Foam::waveAlphaFvPatchScalarField::waveAlphaFvPatchScalarField ( const fvPatch& p, const DimensionedField<scalar, volMesh>& iF @@ -41,9 +41,9 @@ Foam::waveInletAlphaFvPatchScalarField::waveInletAlphaFvPatchScalarField {} -Foam::waveInletAlphaFvPatchScalarField::waveInletAlphaFvPatchScalarField +Foam::waveAlphaFvPatchScalarField::waveAlphaFvPatchScalarField ( - const waveInletAlphaFvPatchScalarField& ptf, + const waveAlphaFvPatchScalarField& ptf, const fvPatch& p, const DimensionedField<scalar, volMesh>& iF, const fvPatchFieldMapper& mapper @@ -54,7 +54,7 @@ Foam::waveInletAlphaFvPatchScalarField::waveInletAlphaFvPatchScalarField {} -Foam::waveInletAlphaFvPatchScalarField::waveInletAlphaFvPatchScalarField +Foam::waveAlphaFvPatchScalarField::waveAlphaFvPatchScalarField ( const fvPatch& p, const DimensionedField<scalar, volMesh>& iF, @@ -66,9 +66,9 @@ Foam::waveInletAlphaFvPatchScalarField::waveInletAlphaFvPatchScalarField {} -Foam::waveInletAlphaFvPatchScalarField::waveInletAlphaFvPatchScalarField +Foam::waveAlphaFvPatchScalarField::waveAlphaFvPatchScalarField ( - const waveInletAlphaFvPatchScalarField& ptf + const waveAlphaFvPatchScalarField& ptf ) : fixedValueFvPatchField<scalar>(ptf), @@ -76,9 +76,9 @@ Foam::waveInletAlphaFvPatchScalarField::waveInletAlphaFvPatchScalarField {} -Foam::waveInletAlphaFvPatchScalarField::waveInletAlphaFvPatchScalarField +Foam::waveAlphaFvPatchScalarField::waveAlphaFvPatchScalarField ( - const waveInletAlphaFvPatchScalarField& ptf, + const waveAlphaFvPatchScalarField& ptf, const DimensionedField<scalar, volMesh>& iF ) : @@ -89,7 +89,7 @@ Foam::waveInletAlphaFvPatchScalarField::waveInletAlphaFvPatchScalarField // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // -void Foam::waveInletAlphaFvPatchScalarField::updateCoeffs() +void Foam::waveAlphaFvPatchScalarField::updateCoeffs() { if (updated()) { @@ -116,7 +116,7 @@ void Foam::waveInletAlphaFvPatchScalarField::updateCoeffs() } -void Foam::waveInletAlphaFvPatchScalarField::write(Ostream& os) const +void Foam::waveAlphaFvPatchScalarField::write(Ostream& os) const { fvPatchField<scalar>::write(os); @@ -134,7 +134,7 @@ namespace Foam makePatchTypeField ( fvPatchScalarField, - waveInletAlphaFvPatchScalarField + waveAlphaFvPatchScalarField ); } diff --git a/integration/OpenCFD/code/waveBCs/waveInletAlpha/waveInletAlphaFvPatchScalarField.H b/src/waveModels/derivedFvPatchFields/waveAlpha/waveAlphaFvPatchScalarField.H similarity index 80% rename from integration/OpenCFD/code/waveBCs/waveInletAlpha/waveInletAlphaFvPatchScalarField.H rename to src/waveModels/derivedFvPatchFields/waveAlpha/waveAlphaFvPatchScalarField.H index eb84795be1f3e8e32b03e776231b96f91cb1edf1..4286d15a7abaea9bad5b0d5812f29cfe9ff08ab4 100644 --- a/integration/OpenCFD/code/waveBCs/waveInletAlpha/waveInletAlphaFvPatchScalarField.H +++ b/src/waveModels/derivedFvPatchFields/waveAlpha/waveAlphaFvPatchScalarField.H @@ -22,7 +22,7 @@ License along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. Class - Foam::waveInletAlphaFvPatchScalarField + Foam::waveAlphaFvPatchScalarField Description @@ -30,7 +30,7 @@ Description \verbatim inlet { - type waveInletAlpha; + type waveAlpha; value uniform (0 0 0); } \endverbatim @@ -38,7 +38,7 @@ Description Usage \table Property | Description | Required | Default value - type | type: waveInletAlpha | yes | + type | type: waveAlpha | yes | waveDict | Dictionary specifying wave variables | no | waveProperties \endtable @@ -48,12 +48,12 @@ Note - Strange behaviour with potentialFoam since the U equation is not solved SourceFiles - waveInletAlphaFvPatchScalarField.C + waveAlphaFvPatchScalarField.C \*---------------------------------------------------------------------------*/ -#ifndef waveInletAlphaFvPatchScalarField_H -#define waveInletAlphaFvPatchScalarField_H +#ifndef waveAlphaFvPatchScalarField_H +#define waveAlphaFvPatchScalarField_H #include "fixedValueFvPatchFields.H" @@ -62,10 +62,10 @@ SourceFiles namespace Foam { /*---------------------------------------------------------------------------*\ - class waveInletAlphaFvPatchScalarField Declaration + class waveAlphaFvPatchScalarField Declaration \*---------------------------------------------------------------------------*/ -class waveInletAlphaFvPatchScalarField +class waveAlphaFvPatchScalarField : public fixedValueFvPatchScalarField { @@ -78,20 +78,20 @@ class waveInletAlphaFvPatchScalarField public: //- Runtime type information - TypeName("waveInletAlpha"); + TypeName("waveAlpha"); // Constructors //- Construct from patch and internal field - waveInletAlphaFvPatchScalarField + waveAlphaFvPatchScalarField ( const fvPatch&, const DimensionedField<scalar, volMesh>& ); //- Construct from patch, internal field and dictionary - waveInletAlphaFvPatchScalarField + waveAlphaFvPatchScalarField ( const fvPatch&, const DimensionedField<scalar, volMesh>&, @@ -99,20 +99,20 @@ public: ); //- Construct by mapping given - // waveInletAlphaFvPatchScalarField + // waveAlphaFvPatchScalarField // onto a new patch - waveInletAlphaFvPatchScalarField + waveAlphaFvPatchScalarField ( - const waveInletAlphaFvPatchScalarField&, + const waveAlphaFvPatchScalarField&, const fvPatch&, const DimensionedField<scalar, volMesh>&, const fvPatchFieldMapper& ); //- Construct as copy - waveInletAlphaFvPatchScalarField + waveAlphaFvPatchScalarField ( - const waveInletAlphaFvPatchScalarField& + const waveAlphaFvPatchScalarField& ); //- Construct and return a clone @@ -120,14 +120,14 @@ public: { return tmp<fvPatchScalarField> ( - new waveInletAlphaFvPatchScalarField(*this) + new waveAlphaFvPatchScalarField(*this) ); } //- Construct as copy setting internal field reference - waveInletAlphaFvPatchScalarField + waveAlphaFvPatchScalarField ( - const waveInletAlphaFvPatchScalarField&, + const waveAlphaFvPatchScalarField&, const DimensionedField<scalar, volMesh>& ); @@ -139,7 +139,7 @@ public: { return tmp<fvPatchScalarField> ( - new waveInletAlphaFvPatchScalarField(*this, iF) + new waveAlphaFvPatchScalarField(*this, iF) ); } diff --git a/integration/OpenCFD/code/waveBCs/waveInletVelocity/waveInletVelocityFvPatchVectorField.C b/src/waveModels/derivedFvPatchFields/waveVelocity/waveVelocityFvPatchVectorField.C similarity index 79% rename from integration/OpenCFD/code/waveBCs/waveInletVelocity/waveInletVelocityFvPatchVectorField.C rename to src/waveModels/derivedFvPatchFields/waveVelocity/waveVelocityFvPatchVectorField.C index 5c36dc49d9993a1bb99ca274b0569bdfc7b042ad..a237aabbc1705ebd897bc189ba4766f216af8353 100644 --- a/integration/OpenCFD/code/waveBCs/waveInletVelocity/waveInletVelocityFvPatchVectorField.C +++ b/src/waveModels/derivedFvPatchFields/waveVelocity/waveVelocityFvPatchVectorField.C @@ -23,14 +23,14 @@ License \*---------------------------------------------------------------------------*/ -#include "waveInletVelocityFvPatchVectorField.H" +#include "waveVelocityFvPatchVectorField.H" #include "addToRunTimeSelectionTable.H" #include "fvPatchFieldMapper.H" #include "waveModel.H" // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // -Foam::waveInletVelocityFvPatchVectorField::waveInletVelocityFvPatchVectorField +Foam::waveVelocityFvPatchVectorField::waveVelocityFvPatchVectorField ( const fvPatch& p, const DimensionedField<vector, volMesh>& iF @@ -41,9 +41,9 @@ Foam::waveInletVelocityFvPatchVectorField::waveInletVelocityFvPatchVectorField {} -Foam::waveInletVelocityFvPatchVectorField::waveInletVelocityFvPatchVectorField +Foam::waveVelocityFvPatchVectorField::waveVelocityFvPatchVectorField ( - const waveInletVelocityFvPatchVectorField& ptf, + const waveVelocityFvPatchVectorField& ptf, const fvPatch& p, const DimensionedField<vector, volMesh>& iF, const fvPatchFieldMapper& mapper @@ -54,7 +54,7 @@ Foam::waveInletVelocityFvPatchVectorField::waveInletVelocityFvPatchVectorField {} -Foam::waveInletVelocityFvPatchVectorField::waveInletVelocityFvPatchVectorField +Foam::waveVelocityFvPatchVectorField::waveVelocityFvPatchVectorField ( const fvPatch& p, const DimensionedField<vector, volMesh>& iF, @@ -66,9 +66,9 @@ Foam::waveInletVelocityFvPatchVectorField::waveInletVelocityFvPatchVectorField {} -Foam::waveInletVelocityFvPatchVectorField::waveInletVelocityFvPatchVectorField +Foam::waveVelocityFvPatchVectorField::waveVelocityFvPatchVectorField ( - const waveInletVelocityFvPatchVectorField& ptf + const waveVelocityFvPatchVectorField& ptf ) : fixedValueFvPatchField<vector>(ptf), @@ -76,9 +76,9 @@ Foam::waveInletVelocityFvPatchVectorField::waveInletVelocityFvPatchVectorField {} -Foam::waveInletVelocityFvPatchVectorField::waveInletVelocityFvPatchVectorField +Foam::waveVelocityFvPatchVectorField::waveVelocityFvPatchVectorField ( - const waveInletVelocityFvPatchVectorField& ptf, + const waveVelocityFvPatchVectorField& ptf, const DimensionedField<vector, volMesh>& iF ) : @@ -89,7 +89,7 @@ Foam::waveInletVelocityFvPatchVectorField::waveInletVelocityFvPatchVectorField // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // -void Foam::waveInletVelocityFvPatchVectorField::updateCoeffs() +void Foam::waveVelocityFvPatchVectorField::updateCoeffs() { if (updated()) { @@ -116,7 +116,7 @@ void Foam::waveInletVelocityFvPatchVectorField::updateCoeffs() } -void Foam::waveInletVelocityFvPatchVectorField::write(Ostream& os) const +void Foam::waveVelocityFvPatchVectorField::write(Ostream& os) const { fvPatchField<vector>::write(os); @@ -134,7 +134,7 @@ namespace Foam makePatchTypeField ( fvPatchVectorField, - waveInletVelocityFvPatchVectorField + waveVelocityFvPatchVectorField ); } diff --git a/integration/OpenCFD/code/waveBCs/waveInletVelocity/waveInletVelocityFvPatchVectorField.H b/src/waveModels/derivedFvPatchFields/waveVelocity/waveVelocityFvPatchVectorField.H similarity index 78% rename from integration/OpenCFD/code/waveBCs/waveInletVelocity/waveInletVelocityFvPatchVectorField.H rename to src/waveModels/derivedFvPatchFields/waveVelocity/waveVelocityFvPatchVectorField.H index 1356702d9d6fa90d291a15d13bcbc40ef182bd06..5098102dd1a8c19b8d2aed41e48b5ad545c7575b 100644 --- a/integration/OpenCFD/code/waveBCs/waveInletVelocity/waveInletVelocityFvPatchVectorField.H +++ b/src/waveModels/derivedFvPatchFields/waveVelocity/waveVelocityFvPatchVectorField.H @@ -22,22 +22,22 @@ License along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. Class - Foam::waveInletVelocityFvPatchVectorField + Foam::waveVelocityFvPatchVectorField Description Example of the boundary condition specification: \verbatim inlet { - type waveInletVelocity; + type waveVelocity; value uniform (0 0 0); } \endverbatim Usage \table - Property | Description | Required | Default value - type | type: waveInletVelocity | yes | + Property | Description | Required | Default value + type | type: waveVelocity | yes | waveDict | Dictionary specifying wave variables | no | waveProperties \endtable @@ -47,12 +47,12 @@ Note - Strange behaviour with potentialFoam since the U equation is not solved SourceFiles - waveInletVelocityFvPatchVectorField.C + waveVelocityFvPatchVectorField.C \*---------------------------------------------------------------------------*/ -#ifndef waveInletVelocityFvPatchVectorField_H -#define waveInletVelocityFvPatchVectorField_H +#ifndef waveVelocityFvPatchVectorField_H +#define waveVelocityFvPatchVectorField_H #include "fixedValueFvPatchFields.H" @@ -60,11 +60,12 @@ SourceFiles namespace Foam { + /*---------------------------------------------------------------------------*\ - Class waveInletVelocityFvPatchVectorField Declaration + Class waveVelocityFvPatchVectorField Declaration \*---------------------------------------------------------------------------*/ -class waveInletVelocityFvPatchVectorField +class waveVelocityFvPatchVectorField : public fixedValueFvPatchVectorField { @@ -77,20 +78,20 @@ class waveInletVelocityFvPatchVectorField public: //- Runtime type information - TypeName("waveInletVelocity"); + TypeName("waveVelocity"); // Constructors //- Construct from patch and internal field - waveInletVelocityFvPatchVectorField + waveVelocityFvPatchVectorField ( const fvPatch&, const DimensionedField<vector, volMesh>& ); //- Construct from patch, internal field and dictionary - waveInletVelocityFvPatchVectorField + waveVelocityFvPatchVectorField ( const fvPatch&, const DimensionedField<vector, volMesh>&, @@ -98,20 +99,20 @@ public: ); //- Construct by mapping given - // waveInletVelocityFvPatchVectorField + // waveVelocityFvPatchVectorField // onto a new patch - waveInletVelocityFvPatchVectorField + waveVelocityFvPatchVectorField ( - const waveInletVelocityFvPatchVectorField&, + const waveVelocityFvPatchVectorField&, const fvPatch&, const DimensionedField<vector, volMesh>&, const fvPatchFieldMapper& ); //- Construct as copy - waveInletVelocityFvPatchVectorField + waveVelocityFvPatchVectorField ( - const waveInletVelocityFvPatchVectorField& + const waveVelocityFvPatchVectorField& ); //- Construct and return a clone @@ -119,14 +120,14 @@ public: { return tmp<fvPatchVectorField> ( - new waveInletVelocityFvPatchVectorField(*this) + new waveVelocityFvPatchVectorField(*this) ); } //- Construct as copy setting internal field reference - waveInletVelocityFvPatchVectorField + waveVelocityFvPatchVectorField ( - const waveInletVelocityFvPatchVectorField&, + const waveVelocityFvPatchVectorField&, const DimensionedField<vector, volMesh>& ); @@ -138,7 +139,7 @@ public: { return tmp<fvPatchVectorField> ( - new waveInletVelocityFvPatchVectorField(*this, iF) + new waveVelocityFvPatchVectorField(*this, iF) ); } diff --git a/integration/OpenCFD/code/waveModel/waveAbsorptionModels/base/waveAbsorptionModel/waveAbsorptionModel.C b/src/waveModels/waveAbsorptionModels/base/waveAbsorptionModel/waveAbsorptionModel.C similarity index 100% rename from integration/OpenCFD/code/waveModel/waveAbsorptionModels/base/waveAbsorptionModel/waveAbsorptionModel.C rename to src/waveModels/waveAbsorptionModels/base/waveAbsorptionModel/waveAbsorptionModel.C diff --git a/integration/OpenCFD/code/waveModel/waveAbsorptionModels/base/waveAbsorptionModel/waveAbsorptionModel.H b/src/waveModels/waveAbsorptionModels/base/waveAbsorptionModel/waveAbsorptionModel.H similarity index 100% rename from integration/OpenCFD/code/waveModel/waveAbsorptionModels/base/waveAbsorptionModel/waveAbsorptionModel.H rename to src/waveModels/waveAbsorptionModels/base/waveAbsorptionModel/waveAbsorptionModel.H diff --git a/integration/OpenCFD/code/waveModel/waveAbsorptionModels/derived/shallowWaterAbsorption/shallowWaterAbsorption.C b/src/waveModels/waveAbsorptionModels/derived/shallowWaterAbsorption/shallowWaterAbsorption.C similarity index 100% rename from integration/OpenCFD/code/waveModel/waveAbsorptionModels/derived/shallowWaterAbsorption/shallowWaterAbsorption.C rename to src/waveModels/waveAbsorptionModels/derived/shallowWaterAbsorption/shallowWaterAbsorption.C diff --git a/integration/OpenCFD/code/waveModel/waveAbsorptionModels/derived/shallowWaterAbsorption/shallowWaterAbsorption.H b/src/waveModels/waveAbsorptionModels/derived/shallowWaterAbsorption/shallowWaterAbsorption.H similarity index 100% rename from integration/OpenCFD/code/waveModel/waveAbsorptionModels/derived/shallowWaterAbsorption/shallowWaterAbsorption.H rename to src/waveModels/waveAbsorptionModels/derived/shallowWaterAbsorption/shallowWaterAbsorption.H diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/base/regularWaveModel/regularWaveModel.C b/src/waveModels/waveGenerationModels/base/regularWaveModel/regularWaveModel.C similarity index 100% rename from integration/OpenCFD/code/waveModel/waveGenerationModels/base/regularWaveModel/regularWaveModel.C rename to src/waveModels/waveGenerationModels/base/regularWaveModel/regularWaveModel.C diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/base/regularWaveModel/regularWaveModel.H b/src/waveModels/waveGenerationModels/base/regularWaveModel/regularWaveModel.H similarity index 100% rename from integration/OpenCFD/code/waveModel/waveGenerationModels/base/regularWaveModel/regularWaveModel.H rename to src/waveModels/waveGenerationModels/base/regularWaveModel/regularWaveModel.H diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/base/solitaryWaveModel/solitaryWaveModel.C b/src/waveModels/waveGenerationModels/base/solitaryWaveModel/solitaryWaveModel.C similarity index 100% rename from integration/OpenCFD/code/waveModel/waveGenerationModels/base/solitaryWaveModel/solitaryWaveModel.C rename to src/waveModels/waveGenerationModels/base/solitaryWaveModel/solitaryWaveModel.C diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/base/solitaryWaveModel/solitaryWaveModel.H b/src/waveModels/waveGenerationModels/base/solitaryWaveModel/solitaryWaveModel.H similarity index 100% rename from integration/OpenCFD/code/waveModel/waveGenerationModels/base/solitaryWaveModel/solitaryWaveModel.H rename to src/waveModels/waveGenerationModels/base/solitaryWaveModel/solitaryWaveModel.H diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/base/waveGenerationModel/waveGenerationModel.C b/src/waveModels/waveGenerationModels/base/waveGenerationModel/waveGenerationModel.C similarity index 100% rename from integration/OpenCFD/code/waveModel/waveGenerationModels/base/waveGenerationModel/waveGenerationModel.C rename to src/waveModels/waveGenerationModels/base/waveGenerationModel/waveGenerationModel.C diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/base/waveGenerationModel/waveGenerationModel.H b/src/waveModels/waveGenerationModels/base/waveGenerationModel/waveGenerationModel.H similarity index 100% rename from integration/OpenCFD/code/waveModel/waveGenerationModels/base/waveGenerationModel/waveGenerationModel.H rename to src/waveModels/waveGenerationModels/base/waveGenerationModel/waveGenerationModel.H diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/derived/Boussinesq/BoussinesqWaveModel.C b/src/waveModels/waveGenerationModels/derived/Boussinesq/BoussinesqWaveModel.C similarity index 100% rename from integration/OpenCFD/code/waveModel/waveGenerationModels/derived/Boussinesq/BoussinesqWaveModel.C rename to src/waveModels/waveGenerationModels/derived/Boussinesq/BoussinesqWaveModel.C diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/derived/Boussinesq/BoussinesqWaveModel.H b/src/waveModels/waveGenerationModels/derived/Boussinesq/BoussinesqWaveModel.H similarity index 100% rename from integration/OpenCFD/code/waveModel/waveGenerationModels/derived/Boussinesq/BoussinesqWaveModel.H rename to src/waveModels/waveGenerationModels/derived/Boussinesq/BoussinesqWaveModel.H diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/derived/StokesI/StokesIWaveModel.C b/src/waveModels/waveGenerationModels/derived/StokesI/StokesIWaveModel.C similarity index 100% rename from integration/OpenCFD/code/waveModel/waveGenerationModels/derived/StokesI/StokesIWaveModel.C rename to src/waveModels/waveGenerationModels/derived/StokesI/StokesIWaveModel.C diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/derived/StokesI/StokesIWaveModel.H b/src/waveModels/waveGenerationModels/derived/StokesI/StokesIWaveModel.H similarity index 100% rename from integration/OpenCFD/code/waveModel/waveGenerationModels/derived/StokesI/StokesIWaveModel.H rename to src/waveModels/waveGenerationModels/derived/StokesI/StokesIWaveModel.H diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/derived/StokesII/StokesIIWaveModel.C b/src/waveModels/waveGenerationModels/derived/StokesII/StokesIIWaveModel.C similarity index 100% rename from integration/OpenCFD/code/waveModel/waveGenerationModels/derived/StokesII/StokesIIWaveModel.C rename to src/waveModels/waveGenerationModels/derived/StokesII/StokesIIWaveModel.C diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/derived/StokesII/StokesIIWaveModel.H b/src/waveModels/waveGenerationModels/derived/StokesII/StokesIIWaveModel.H similarity index 100% rename from integration/OpenCFD/code/waveModel/waveGenerationModels/derived/StokesII/StokesIIWaveModel.H rename to src/waveModels/waveGenerationModels/derived/StokesII/StokesIIWaveModel.H diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/derived/StokesV/StokesVWaveModel.C b/src/waveModels/waveGenerationModels/derived/StokesV/StokesVWaveModel.C similarity index 99% rename from integration/OpenCFD/code/waveModel/waveGenerationModels/derived/StokesV/StokesVWaveModel.C rename to src/waveModels/waveGenerationModels/derived/StokesV/StokesVWaveModel.C index e7273e91c32d7b4e19be327148f3a37e9d139836..643acedeb24b848de3334929c6e63df9bfbbf003 100644 --- a/integration/OpenCFD/code/waveModel/waveGenerationModels/derived/StokesV/StokesVWaveModel.C +++ b/src/waveModels/waveGenerationModels/derived/StokesV/StokesVWaveModel.C @@ -388,7 +388,7 @@ Foam::scalar Foam::waveModels::StokesV::B55k - 8*7280*pow(c, 7)*ck + 6*7160*pow(c, 5)*ck - 4*1800*pow(c, 3)*ck - - 2*1050*pow(c,1)*ck + - 2*1050*pow(c, 1)*ck ) /(12288*pow(s, 10)*(6*sqr(c) - 1)*(8*pow(c, 4) - 11*sqr(c) + 3)) - ( @@ -552,7 +552,7 @@ Foam::scalar Foam::waveModels::StokesV::C4 const scalar c = cosh(k*h); return - (12*pow(c, 8) + 36*pow(c, 6) - 162*pow(c, 4) + 141*sqr(c) -27) + (12*pow(c, 8) + 36*pow(c, 6) - 162*pow(c, 4) + 141*sqr(c) - 27) /(192*c*pow(s, 9)); } @@ -577,8 +577,8 @@ void Foam::waveModels::StokesV::initialise label n = 0; - const scalar tolerance = 1e-12; - const label iterMax = 10000; + static const scalar tolerance = 1e-12; + static const label iterMax = 10000; while ((mag(f1) > tolerance || mag(f2) > tolerance) && (n < iterMax)) { diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/derived/StokesV/StokesVWaveModel.H b/src/waveModels/waveGenerationModels/derived/StokesV/StokesVWaveModel.H similarity index 100% rename from integration/OpenCFD/code/waveModel/waveGenerationModels/derived/StokesV/StokesVWaveModel.H rename to src/waveModels/waveGenerationModels/derived/StokesV/StokesVWaveModel.H diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/derived/cnoidal/Elliptic.H b/src/waveModels/waveGenerationModels/derived/cnoidal/Elliptic.H similarity index 100% rename from integration/OpenCFD/code/waveModel/waveGenerationModels/derived/cnoidal/Elliptic.H rename to src/waveModels/waveGenerationModels/derived/cnoidal/Elliptic.H diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/derived/cnoidal/cnoidalWaveModel.C b/src/waveModels/waveGenerationModels/derived/cnoidal/cnoidalWaveModel.C similarity index 100% rename from integration/OpenCFD/code/waveModel/waveGenerationModels/derived/cnoidal/cnoidalWaveModel.C rename to src/waveModels/waveGenerationModels/derived/cnoidal/cnoidalWaveModel.C diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/derived/cnoidal/cnoidalWaveModel.H b/src/waveModels/waveGenerationModels/derived/cnoidal/cnoidalWaveModel.H similarity index 100% rename from integration/OpenCFD/code/waveModel/waveGenerationModels/derived/cnoidal/cnoidalWaveModel.H rename to src/waveModels/waveGenerationModels/derived/cnoidal/cnoidalWaveModel.H diff --git a/integration/OpenCFD/code/waveModel/waveModel/waveModel.C b/src/waveModels/waveModel/waveModel.C similarity index 98% rename from integration/OpenCFD/code/waveModel/waveModel/waveModel.C rename to src/waveModels/waveModel/waveModel.C index 3fee2d90a6bdf04dae42f5e8326c675194be8424..01f5749b9b5ff7868ca5e2a9d2085f607a19886b 100644 --- a/integration/OpenCFD/code/waveModel/waveModel/waveModel.C +++ b/src/waveModels/waveModel/waveModel.C @@ -147,7 +147,8 @@ Foam::tmp<Foam::scalarField> Foam::waveModel::waterLevel() const reduce(paddleMagSf[paddlei], sumOp<scalar>()); reduce(paddleWettedMagSf[paddlei], sumOp<scalar>()); level[paddlei] += - paddleWettedMagSf[paddlei]/paddleMagSf[paddlei]*zSpan_; + paddleWettedMagSf[paddlei] + /(paddleMagSf[paddlei]*zSpan_ + ROOTVSMALL); } return tlevel; @@ -333,6 +334,9 @@ bool Foam::waveModel::read(const dictionary& overrideDict) } } + // Avoid potential zero... + waterDepthRef_ += SMALL; + // Insert the reference water depth into [this] to enable restart add("waterDepthRef", waterDepthRef_); } diff --git a/integration/OpenCFD/code/waveModel/waveModel/waveModel.H b/src/waveModels/waveModel/waveModel.H similarity index 99% rename from integration/OpenCFD/code/waveModel/waveModel/waveModel.H rename to src/waveModels/waveModel/waveModel.H index 399cf40676774dd96fa4ddbad36e1304c9171804..7a0efd457053419ae0d724902c72f05f9556ae41 100644 --- a/integration/OpenCFD/code/waveModel/waveModel/waveModel.H +++ b/src/waveModels/waveModel/waveModel.H @@ -25,6 +25,7 @@ Class Foam::waveModel Description + Base class for waveModels \*---------------------------------------------------------------------------*/ diff --git a/integration/OpenCFD/code/waveModel/waveModel/waveModelNew.C b/src/waveModels/waveModel/waveModelNew.C similarity index 100% rename from integration/OpenCFD/code/waveModel/waveModel/waveModelNew.C rename to src/waveModels/waveModel/waveModelNew.C diff --git a/integration/OpenCFD/testCases/waveExampleSolitary/0.orig/U b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/0.orig/U similarity index 92% rename from integration/OpenCFD/testCases/waveExampleSolitary/0.orig/U rename to tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/0.orig/U index b215c9cd484061619762305269abfb76ca5d58f2..097dae5bea707a8e8adad78039ed29ccc6f57d4d 100644 --- a/integration/OpenCFD/testCases/waveExampleSolitary/0.orig/U +++ b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/0.orig/U @@ -23,19 +23,19 @@ boundaryField { inlet { - type waveInletVelocity; + type waveVelocity; value uniform (0 0 0); } outlet { - type waveInletVelocity; + type waveVelocity; value uniform (0 0 0); } sides { - type empty; + type empty; } ground diff --git a/integration/OpenCFD/testCases/waveExampleSolitary/0.orig/alpha.water b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/0.orig/alpha.water similarity index 96% rename from integration/OpenCFD/testCases/waveExampleSolitary/0.orig/alpha.water rename to tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/0.orig/alpha.water index a99cef99e90c672d7ddd28436d7a66cb640e52f1..424d47590253066912d94924a60135b00aca8dd3 100644 --- a/integration/OpenCFD/testCases/waveExampleSolitary/0.orig/alpha.water +++ b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/0.orig/alpha.water @@ -22,7 +22,7 @@ boundaryField { inlet { - type waveInletAlpha; + type waveAlpha; value uniform 0; } diff --git a/integration/OpenCFD/testCases/waveExampleCnoidal/0.orig/p_rgh b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/0.orig/p_rgh similarity index 100% rename from integration/OpenCFD/testCases/waveExampleCnoidal/0.orig/p_rgh rename to tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/0.orig/p_rgh diff --git a/integration/OpenCFD/testCases/waveExampleCnoidal/Allclean b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/Allclean similarity index 100% rename from integration/OpenCFD/testCases/waveExampleCnoidal/Allclean rename to tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/Allclean diff --git a/integration/OpenCFD/testCases/waveExampleCnoidal/Allrun b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/Allrun similarity index 100% rename from integration/OpenCFD/testCases/waveExampleCnoidal/Allrun rename to tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/Allrun diff --git a/integration/OpenCFD/testCases/waveExampleCnoidal/constant/g b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/constant/g similarity index 100% rename from integration/OpenCFD/testCases/waveExampleCnoidal/constant/g rename to tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/constant/g diff --git a/integration/OpenCFD/testCases/waveExampleCnoidal/constant/transportProperties b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/constant/transportProperties similarity index 100% rename from integration/OpenCFD/testCases/waveExampleCnoidal/constant/transportProperties rename to tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/constant/transportProperties diff --git a/integration/OpenCFD/testCases/waveExampleCnoidal/constant/turbulenceProperties b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/constant/turbulenceProperties similarity index 100% rename from integration/OpenCFD/testCases/waveExampleCnoidal/constant/turbulenceProperties rename to tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/constant/turbulenceProperties diff --git a/integration/OpenCFD/testCases/waveExampleCnoidal/constant/waveProperties b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/constant/waveProperties similarity index 100% rename from integration/OpenCFD/testCases/waveExampleCnoidal/constant/waveProperties rename to tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/constant/waveProperties diff --git a/integration/OpenCFD/testCases/waveExampleCnoidal/system/blockMeshDict b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/system/blockMeshDict similarity index 100% rename from integration/OpenCFD/testCases/waveExampleCnoidal/system/blockMeshDict rename to tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/system/blockMeshDict diff --git a/integration/OpenCFD/testCases/waveExampleCnoidal/system/controlDict b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/system/controlDict similarity index 98% rename from integration/OpenCFD/testCases/waveExampleCnoidal/system/controlDict rename to tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/system/controlDict index f65efdb4568fbc814a2704f38d60862113fdef9b..92a1a646e9e951a5107396320f90da56ee549d26 100644 --- a/integration/OpenCFD/testCases/waveExampleCnoidal/system/controlDict +++ b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/system/controlDict @@ -15,12 +15,6 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -libs -( - "libwaveBCs.so" - "libwaveModels.so" -); - application interFoam; startFrom latestTime; diff --git a/integration/OpenCFD/testCases/waveExampleCnoidal/system/decomposeParDict b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/system/decomposeParDict similarity index 100% rename from integration/OpenCFD/testCases/waveExampleCnoidal/system/decomposeParDict rename to tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/system/decomposeParDict diff --git a/integration/OpenCFD/testCases/waveExampleCnoidal/system/fvSchemes b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/system/fvSchemes similarity index 100% rename from integration/OpenCFD/testCases/waveExampleCnoidal/system/fvSchemes rename to tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/system/fvSchemes diff --git a/integration/OpenCFD/testCases/waveExampleCnoidal/system/fvSolution b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/system/fvSolution similarity index 100% rename from integration/OpenCFD/testCases/waveExampleCnoidal/system/fvSolution rename to tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/system/fvSolution diff --git a/integration/OpenCFD/testCases/waveExampleCnoidal/system/setFieldsDict b/tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/system/setFieldsDict similarity index 100% rename from integration/OpenCFD/testCases/waveExampleCnoidal/system/setFieldsDict rename to tutorials/multiphase/interFoam/laminar/waveExampleCnoidal/system/setFieldsDict diff --git a/integration/OpenCFD/testCases/waveExampleStokesI/0.orig/U b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/0.orig/U similarity index 93% rename from integration/OpenCFD/testCases/waveExampleStokesI/0.orig/U rename to tutorials/multiphase/interFoam/laminar/waveExampleSolitary/0.orig/U index b215c9cd484061619762305269abfb76ca5d58f2..95453554e5529d177dda4c13adb6acf9108a6c76 100644 --- a/integration/OpenCFD/testCases/waveExampleStokesI/0.orig/U +++ b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/0.orig/U @@ -23,13 +23,13 @@ boundaryField { inlet { - type waveInletVelocity; + type waveVelocity; value uniform (0 0 0); } outlet { - type waveInletVelocity; + type waveVelocity; value uniform (0 0 0); } diff --git a/integration/OpenCFD/testCases/waveExampleStokesI/0.orig/alpha.water b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/0.orig/alpha.water similarity index 96% rename from integration/OpenCFD/testCases/waveExampleStokesI/0.orig/alpha.water rename to tutorials/multiphase/interFoam/laminar/waveExampleSolitary/0.orig/alpha.water index a99cef99e90c672d7ddd28436d7a66cb640e52f1..424d47590253066912d94924a60135b00aca8dd3 100644 --- a/integration/OpenCFD/testCases/waveExampleStokesI/0.orig/alpha.water +++ b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/0.orig/alpha.water @@ -22,7 +22,7 @@ boundaryField { inlet { - type waveInletAlpha; + type waveAlpha; value uniform 0; } diff --git a/integration/OpenCFD/testCases/waveExampleSolitary/0.orig/p_rgh b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/0.orig/p_rgh similarity index 100% rename from integration/OpenCFD/testCases/waveExampleSolitary/0.orig/p_rgh rename to tutorials/multiphase/interFoam/laminar/waveExampleSolitary/0.orig/p_rgh diff --git a/integration/OpenCFD/testCases/waveExampleSolitary/Allclean b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/Allclean similarity index 100% rename from integration/OpenCFD/testCases/waveExampleSolitary/Allclean rename to tutorials/multiphase/interFoam/laminar/waveExampleSolitary/Allclean diff --git a/integration/OpenCFD/testCases/waveExampleSolitary/Allrun b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/Allrun similarity index 100% rename from integration/OpenCFD/testCases/waveExampleSolitary/Allrun rename to tutorials/multiphase/interFoam/laminar/waveExampleSolitary/Allrun diff --git a/integration/OpenCFD/testCases/waveExampleSolitary/constant/g b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/constant/g similarity index 100% rename from integration/OpenCFD/testCases/waveExampleSolitary/constant/g rename to tutorials/multiphase/interFoam/laminar/waveExampleSolitary/constant/g diff --git a/integration/OpenCFD/testCases/waveExampleSolitary/constant/transportProperties b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/constant/transportProperties similarity index 100% rename from integration/OpenCFD/testCases/waveExampleSolitary/constant/transportProperties rename to tutorials/multiphase/interFoam/laminar/waveExampleSolitary/constant/transportProperties diff --git a/integration/OpenCFD/testCases/waveExampleSolitary/constant/turbulenceProperties b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/constant/turbulenceProperties similarity index 100% rename from integration/OpenCFD/testCases/waveExampleSolitary/constant/turbulenceProperties rename to tutorials/multiphase/interFoam/laminar/waveExampleSolitary/constant/turbulenceProperties diff --git a/integration/OpenCFD/testCases/waveExampleSolitary/constant/waveProperties b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/constant/waveProperties similarity index 100% rename from integration/OpenCFD/testCases/waveExampleSolitary/constant/waveProperties rename to tutorials/multiphase/interFoam/laminar/waveExampleSolitary/constant/waveProperties diff --git a/integration/OpenCFD/testCases/waveExampleSolitary/system/blockMeshDict b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/system/blockMeshDict similarity index 100% rename from integration/OpenCFD/testCases/waveExampleSolitary/system/blockMeshDict rename to tutorials/multiphase/interFoam/laminar/waveExampleSolitary/system/blockMeshDict diff --git a/integration/OpenCFD/testCases/waveExampleSolitary/system/controlDict b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/system/controlDict similarity index 98% rename from integration/OpenCFD/testCases/waveExampleSolitary/system/controlDict rename to tutorials/multiphase/interFoam/laminar/waveExampleSolitary/system/controlDict index 7894dff75673bb45344264538d1216cdc86269ae..87022a24cebf4c34bedec5879f5f03c4bbfcfecb 100644 --- a/integration/OpenCFD/testCases/waveExampleSolitary/system/controlDict +++ b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/system/controlDict @@ -15,12 +15,6 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -libs -( - "libwaveBCs.so" - "libwaveModels.so" -); - application interFoam; startFrom latestTime; diff --git a/integration/OpenCFD/testCases/waveExampleSolitary/system/decomposeParDict b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/system/decomposeParDict similarity index 100% rename from integration/OpenCFD/testCases/waveExampleSolitary/system/decomposeParDict rename to tutorials/multiphase/interFoam/laminar/waveExampleSolitary/system/decomposeParDict diff --git a/integration/OpenCFD/testCases/waveExampleSolitary/system/fvSchemes b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/system/fvSchemes similarity index 100% rename from integration/OpenCFD/testCases/waveExampleSolitary/system/fvSchemes rename to tutorials/multiphase/interFoam/laminar/waveExampleSolitary/system/fvSchemes diff --git a/integration/OpenCFD/testCases/waveExampleSolitary/system/fvSolution b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/system/fvSolution similarity index 100% rename from integration/OpenCFD/testCases/waveExampleSolitary/system/fvSolution rename to tutorials/multiphase/interFoam/laminar/waveExampleSolitary/system/fvSolution diff --git a/integration/OpenCFD/testCases/waveExampleSolitary/system/setFieldsDict b/tutorials/multiphase/interFoam/laminar/waveExampleSolitary/system/setFieldsDict similarity index 100% rename from integration/OpenCFD/testCases/waveExampleSolitary/system/setFieldsDict rename to tutorials/multiphase/interFoam/laminar/waveExampleSolitary/system/setFieldsDict diff --git a/integration/OpenCFD/testCases/waveExampleCnoidal/0.orig/U b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/0.orig/U similarity index 93% rename from integration/OpenCFD/testCases/waveExampleCnoidal/0.orig/U rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesI/0.orig/U index b215c9cd484061619762305269abfb76ca5d58f2..95453554e5529d177dda4c13adb6acf9108a6c76 100644 --- a/integration/OpenCFD/testCases/waveExampleCnoidal/0.orig/U +++ b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/0.orig/U @@ -23,13 +23,13 @@ boundaryField { inlet { - type waveInletVelocity; + type waveVelocity; value uniform (0 0 0); } outlet { - type waveInletVelocity; + type waveVelocity; value uniform (0 0 0); } diff --git a/integration/OpenCFD/testCases/waveExampleCnoidal/0.orig/alpha.water b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/0.orig/alpha.water similarity index 96% rename from integration/OpenCFD/testCases/waveExampleCnoidal/0.orig/alpha.water rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesI/0.orig/alpha.water index a99cef99e90c672d7ddd28436d7a66cb640e52f1..424d47590253066912d94924a60135b00aca8dd3 100644 --- a/integration/OpenCFD/testCases/waveExampleCnoidal/0.orig/alpha.water +++ b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/0.orig/alpha.water @@ -22,7 +22,7 @@ boundaryField { inlet { - type waveInletAlpha; + type waveAlpha; value uniform 0; } diff --git a/integration/OpenCFD/testCases/waveExampleStokesI/0.orig/p_rgh b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/0.orig/p_rgh similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesI/0.orig/p_rgh rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesI/0.orig/p_rgh diff --git a/integration/OpenCFD/testCases/waveExampleStokesI/Allclean b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/Allclean similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesI/Allclean rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesI/Allclean diff --git a/integration/OpenCFD/testCases/waveExampleStokesI/Allrun b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/Allrun similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesI/Allrun rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesI/Allrun diff --git a/integration/OpenCFD/testCases/waveExampleStokesI/constant/g b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/constant/g similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesI/constant/g rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesI/constant/g diff --git a/integration/OpenCFD/testCases/waveExampleStokesI/constant/transportProperties b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/constant/transportProperties similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesI/constant/transportProperties rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesI/constant/transportProperties diff --git a/integration/OpenCFD/testCases/waveExampleStokesI/constant/turbulenceProperties b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/constant/turbulenceProperties similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesI/constant/turbulenceProperties rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesI/constant/turbulenceProperties diff --git a/integration/OpenCFD/testCases/waveExampleStokesI/constant/waveProperties b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/constant/waveProperties similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesI/constant/waveProperties rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesI/constant/waveProperties diff --git a/integration/OpenCFD/testCases/waveExampleStokesI/system/blockMeshDict b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/system/blockMeshDict similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesI/system/blockMeshDict rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesI/system/blockMeshDict diff --git a/integration/OpenCFD/testCases/waveExampleStokesI/system/controlDict b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/system/controlDict similarity index 98% rename from integration/OpenCFD/testCases/waveExampleStokesI/system/controlDict rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesI/system/controlDict index c0d020cf652cd4103755683cdb0068771ebd2027..91f0a8a1440ffec8363f12775becdcf362dafc01 100644 --- a/integration/OpenCFD/testCases/waveExampleStokesI/system/controlDict +++ b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/system/controlDict @@ -15,12 +15,6 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -libs -( - "libwaveBCs.so" - "libwaveModels.so" -); - application interFoam; startFrom latestTime; diff --git a/integration/OpenCFD/testCases/waveExampleStokesI/system/decomposeParDict b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/system/decomposeParDict similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesI/system/decomposeParDict rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesI/system/decomposeParDict diff --git a/integration/OpenCFD/testCases/waveExampleStokesI/system/fvSchemes b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/system/fvSchemes similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesI/system/fvSchemes rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesI/system/fvSchemes diff --git a/integration/OpenCFD/testCases/waveExampleStokesI/system/fvSolution b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/system/fvSolution similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesI/system/fvSolution rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesI/system/fvSolution diff --git a/integration/OpenCFD/testCases/waveExampleStokesI/system/setFieldsDict b/tutorials/multiphase/interFoam/laminar/waveExampleStokesI/system/setFieldsDict similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesI/system/setFieldsDict rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesI/system/setFieldsDict diff --git a/integration/OpenCFD/testCases/waveExampleStokesII/0.orig/U b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/0.orig/U similarity index 93% rename from integration/OpenCFD/testCases/waveExampleStokesII/0.orig/U rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesII/0.orig/U index b215c9cd484061619762305269abfb76ca5d58f2..95453554e5529d177dda4c13adb6acf9108a6c76 100644 --- a/integration/OpenCFD/testCases/waveExampleStokesII/0.orig/U +++ b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/0.orig/U @@ -23,13 +23,13 @@ boundaryField { inlet { - type waveInletVelocity; + type waveVelocity; value uniform (0 0 0); } outlet { - type waveInletVelocity; + type waveVelocity; value uniform (0 0 0); } diff --git a/integration/OpenCFD/testCases/waveExampleStokesII/0.orig/alpha.water b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/0.orig/alpha.water similarity index 96% rename from integration/OpenCFD/testCases/waveExampleStokesII/0.orig/alpha.water rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesII/0.orig/alpha.water index a99cef99e90c672d7ddd28436d7a66cb640e52f1..424d47590253066912d94924a60135b00aca8dd3 100644 --- a/integration/OpenCFD/testCases/waveExampleStokesII/0.orig/alpha.water +++ b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/0.orig/alpha.water @@ -22,7 +22,7 @@ boundaryField { inlet { - type waveInletAlpha; + type waveAlpha; value uniform 0; } diff --git a/integration/OpenCFD/testCases/waveExampleStokesII/0.orig/p_rgh b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/0.orig/p_rgh similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesII/0.orig/p_rgh rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesII/0.orig/p_rgh diff --git a/integration/OpenCFD/testCases/waveExampleStokesII/Allclean b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/Allclean similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesII/Allclean rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesII/Allclean diff --git a/integration/OpenCFD/testCases/waveExampleStokesII/Allrun b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/Allrun similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesII/Allrun rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesII/Allrun diff --git a/integration/OpenCFD/testCases/waveExampleStokesII/constant/g b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/constant/g similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesII/constant/g rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesII/constant/g diff --git a/integration/OpenCFD/testCases/waveExampleStokesII/constant/transportProperties b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/constant/transportProperties similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesII/constant/transportProperties rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesII/constant/transportProperties diff --git a/integration/OpenCFD/testCases/waveExampleStokesII/constant/turbulenceProperties b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/constant/turbulenceProperties similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesII/constant/turbulenceProperties rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesII/constant/turbulenceProperties diff --git a/integration/OpenCFD/testCases/waveExampleStokesII/constant/waveProperties b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/constant/waveProperties similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesII/constant/waveProperties rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesII/constant/waveProperties diff --git a/integration/OpenCFD/testCases/waveExampleStokesII/system/blockMeshDict b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/system/blockMeshDict similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesII/system/blockMeshDict rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesII/system/blockMeshDict diff --git a/integration/OpenCFD/testCases/waveExampleStokesII/system/controlDict b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/system/controlDict similarity index 98% rename from integration/OpenCFD/testCases/waveExampleStokesII/system/controlDict rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesII/system/controlDict index f779aa6fe6e697b7b4499301480b0ef5d7258383..8c005190cc18fe61ad6fca2be1db516d691c3e00 100644 --- a/integration/OpenCFD/testCases/waveExampleStokesII/system/controlDict +++ b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/system/controlDict @@ -15,12 +15,6 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -libs -( - "libwaveBCs.so" - "libwaveModels.so" -); - application interFoam; startFrom latestTime; diff --git a/integration/OpenCFD/testCases/waveExampleStokesII/system/decomposeParDict b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/system/decomposeParDict similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesII/system/decomposeParDict rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesII/system/decomposeParDict diff --git a/integration/OpenCFD/testCases/waveExampleStokesII/system/fvSchemes b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/system/fvSchemes similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesII/system/fvSchemes rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesII/system/fvSchemes diff --git a/integration/OpenCFD/testCases/waveExampleStokesII/system/fvSolution b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/system/fvSolution similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesII/system/fvSolution rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesII/system/fvSolution diff --git a/integration/OpenCFD/testCases/waveExampleStokesII/system/setFieldsDict b/tutorials/multiphase/interFoam/laminar/waveExampleStokesII/system/setFieldsDict similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesII/system/setFieldsDict rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesII/system/setFieldsDict diff --git a/integration/OpenCFD/testCases/waveExampleStokesV/0.orig/U b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/0.orig/U similarity index 93% rename from integration/OpenCFD/testCases/waveExampleStokesV/0.orig/U rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesV/0.orig/U index 523da1ac2dd53bd00b834e57924027556f73285c..02f000b04a96deca8ef6653fdd99a8d9854c8bf9 100644 --- a/integration/OpenCFD/testCases/waveExampleStokesV/0.orig/U +++ b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/0.orig/U @@ -23,13 +23,13 @@ boundaryField { inlet { - type waveInletVelocity; + type waveVelocity; value uniform (0 0 0); } outlet { - type waveInletVelocity; + type waveVelocity; value uniform (0 0 0); } diff --git a/integration/OpenCFD/testCases/waveExampleStokesV/0.orig/alpha.water b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/0.orig/alpha.water similarity index 94% rename from integration/OpenCFD/testCases/waveExampleStokesV/0.orig/alpha.water rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesV/0.orig/alpha.water index b309a9dfb8d9cf02c7e5aa17d11169825322e3bc..9069a26b66bfac5a51c2af8e3001ac0b63c831d0 100644 --- a/integration/OpenCFD/testCases/waveExampleStokesV/0.orig/alpha.water +++ b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/0.orig/alpha.water @@ -22,7 +22,7 @@ boundaryField { inlet { - type waveInletAlpha; + type waveAlpha; value uniform 0; } @@ -38,7 +38,7 @@ boundaryField sides { - type empty; + type empty; } top diff --git a/integration/OpenCFD/testCases/waveExampleStokesV/0.orig/p_rgh b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/0.orig/p_rgh similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesV/0.orig/p_rgh rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesV/0.orig/p_rgh diff --git a/integration/OpenCFD/testCases/waveExampleStokesV/Allclean b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/Allclean similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesV/Allclean rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesV/Allclean diff --git a/integration/OpenCFD/testCases/waveExampleStokesV/Allrun b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/Allrun similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesV/Allrun rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesV/Allrun diff --git a/integration/OpenCFD/testCases/waveExampleStokesV/constant/g b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/constant/g similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesV/constant/g rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesV/constant/g diff --git a/integration/OpenCFD/testCases/waveExampleStokesV/constant/transportProperties b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/constant/transportProperties similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesV/constant/transportProperties rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesV/constant/transportProperties diff --git a/integration/OpenCFD/testCases/waveExampleStokesV/constant/turbulenceProperties b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/constant/turbulenceProperties similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesV/constant/turbulenceProperties rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesV/constant/turbulenceProperties diff --git a/integration/OpenCFD/testCases/waveExampleStokesV/constant/waveProperties b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/constant/waveProperties similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesV/constant/waveProperties rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesV/constant/waveProperties diff --git a/integration/OpenCFD/testCases/waveExampleStokesV/system/blockMeshDict b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/system/blockMeshDict similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesV/system/blockMeshDict rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesV/system/blockMeshDict diff --git a/integration/OpenCFD/testCases/waveExampleStokesV/system/controlDict b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/system/controlDict similarity index 98% rename from integration/OpenCFD/testCases/waveExampleStokesV/system/controlDict rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesV/system/controlDict index c45cdd924de0dfec19be1bfc1aa03e91247410e8..76911c1e87a88678cdb67c8e518aa0a9a8f997a5 100644 --- a/integration/OpenCFD/testCases/waveExampleStokesV/system/controlDict +++ b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/system/controlDict @@ -15,12 +15,6 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -libs -( - "libwaveBCs.so" - "libwaveModels.so" -); - application interFoam; startFrom latestTime; diff --git a/integration/OpenCFD/testCases/waveExampleStokesV/system/decomposeParDict b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/system/decomposeParDict similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesV/system/decomposeParDict rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesV/system/decomposeParDict diff --git a/integration/OpenCFD/testCases/waveExampleStokesV/system/fvSchemes b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/system/fvSchemes similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesV/system/fvSchemes rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesV/system/fvSchemes diff --git a/integration/OpenCFD/testCases/waveExampleStokesV/system/fvSolution b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/system/fvSolution similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesV/system/fvSolution rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesV/system/fvSolution diff --git a/integration/OpenCFD/testCases/waveExampleStokesV/system/setFieldsDict b/tutorials/multiphase/interFoam/laminar/waveExampleStokesV/system/setFieldsDict similarity index 100% rename from integration/OpenCFD/testCases/waveExampleStokesV/system/setFieldsDict rename to tutorials/multiphase/interFoam/laminar/waveExampleStokesV/system/setFieldsDict