diff --git a/integration/OpenCFD/code/waveBCs/Make/files b/integration/OpenCFD/code/waveBCs/Make/files
deleted file mode 100644
index 734e8d76a9..0000000000
--- 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 dac0999deb..0000000000
--- 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 e4a462c001..0000000000
--- 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 .
-
-\*---------------------------------------------------------------------------*/
-
-#include "waveAbsorptionOutletVelocityFvPatchVectorField.H"
-#include "addToRunTimeSelectionTable.H"
-#include "fvPatchFieldMapper.H"
-#include "waveModel.H"
-
-// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
-
-Foam::waveAbsorptionOutletVelocityFvPatchVectorField::
-waveAbsorptionOutletVelocityFvPatchVectorField
-(
- const fvPatch& p,
- const DimensionedField& iF
-)
-:
- fixedValueFvPatchField(p, iF),
- waveDictName_(waveModel::dictName)
-{}
-
-
-Foam::waveAbsorptionOutletVelocityFvPatchVectorField::
-waveAbsorptionOutletVelocityFvPatchVectorField
-(
- const waveAbsorptionOutletVelocityFvPatchVectorField& ptf,
- const fvPatch& p,
- const DimensionedField& iF,
- const fvPatchFieldMapper& mapper
-)
-:
- fixedValueFvPatchField(ptf, p, iF, mapper),
- waveDictName_(ptf.waveDictName_)
-{}
-
-
-Foam::waveAbsorptionOutletVelocityFvPatchVectorField::
-waveAbsorptionOutletVelocityFvPatchVectorField
-(
- const fvPatch& p,
- const DimensionedField& iF,
- const dictionary& dict
-)
-:
- fixedValueFvPatchField(p, iF, dict),
- waveDictName_(dict.lookupOrDefault("waveDict", waveModel::dictName))
-{}
-
-
-Foam::waveAbsorptionOutletVelocityFvPatchVectorField::
-waveAbsorptionOutletVelocityFvPatchVectorField
-(
- const waveAbsorptionOutletVelocityFvPatchVectorField& ptf
-)
-:
- fixedValueFvPatchField(ptf),
- waveDictName_(ptf.waveDictName_)
-{}
-
-
-Foam::waveAbsorptionOutletVelocityFvPatchVectorField::
-waveAbsorptionOutletVelocityFvPatchVectorField
-(
- const waveAbsorptionOutletVelocityFvPatchVectorField& ptf,
- const DimensionedField& iF
-)
-:
- fixedValueFvPatchField(ptf, iF),
- waveDictName_(ptf.waveDictName_)
-{}
-
-
-// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
-
-void Foam::waveAbsorptionOutletVelocityFvPatchVectorField::updateCoeffs()
-{
- if (updated())
- {
- return;
- }
-
- tmp tmodel
- (
- waveModel::lookupOrCreate
- (
- patch().patch(),
- internalField().mesh(),
- waveDictName_
- )
- );
-
- waveModel& model = const_cast(tmodel());
-
- model.correct(db().time().value());
-
- operator == (model.U());
-
- fixedValueFvPatchField::updateCoeffs();
-}
-
-
-void Foam::waveAbsorptionOutletVelocityFvPatchVectorField::write
-(
- Ostream& os
-) const
-{
- fvPatchField::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 d797e8017c..0000000000
--- 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 .
-
-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&
- );
-
- //- Construct from patch, internal field and dictionary
- waveAbsorptionOutletVelocityFvPatchVectorField
- (
- const fvPatch&,
- const DimensionedField&,
- const dictionary&
- );
-
- //- Construct by mapping given
- // waveAbsorptionOutletVelocityFvPatchVectorField
- // onto a new patch
- waveAbsorptionOutletVelocityFvPatchVectorField
- (
- const waveAbsorptionOutletVelocityFvPatchVectorField&,
- const fvPatch&,
- const DimensionedField&,
- const fvPatchFieldMapper&
- );
-
- //- Construct as copy
- waveAbsorptionOutletVelocityFvPatchVectorField
- (
- const waveAbsorptionOutletVelocityFvPatchVectorField&
- );
-
- //- Construct and return a clone
- virtual tmp clone() const
- {
- return tmp
- (
- new waveAbsorptionOutletVelocityFvPatchVectorField(*this)
- );
- }
-
- //- Construct as copy setting internal field reference
- waveAbsorptionOutletVelocityFvPatchVectorField
- (
- const waveAbsorptionOutletVelocityFvPatchVectorField&,
- const DimensionedField&
- );
-
- //- Construct and return a clone setting internal field reference
- virtual tmp clone
- (
- const DimensionedField& iF
- ) const
- {
- return tmp
- (
- 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 511c735a7e..bb74a0e6db 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 36161a0045..67333fa821 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 3dd4e5bcd8..6117513bc9 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& 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& iF,
const fvPatchFieldMapper& mapper
@@ -54,7 +54,7 @@ Foam::waveInletAlphaFvPatchScalarField::waveInletAlphaFvPatchScalarField
{}
-Foam::waveInletAlphaFvPatchScalarField::waveInletAlphaFvPatchScalarField
+Foam::waveAlphaFvPatchScalarField::waveAlphaFvPatchScalarField
(
const fvPatch& p,
const DimensionedField& iF,
@@ -66,9 +66,9 @@ Foam::waveInletAlphaFvPatchScalarField::waveInletAlphaFvPatchScalarField
{}
-Foam::waveInletAlphaFvPatchScalarField::waveInletAlphaFvPatchScalarField
+Foam::waveAlphaFvPatchScalarField::waveAlphaFvPatchScalarField
(
- const waveInletAlphaFvPatchScalarField& ptf
+ const waveAlphaFvPatchScalarField& ptf
)
:
fixedValueFvPatchField(ptf),
@@ -76,9 +76,9 @@ Foam::waveInletAlphaFvPatchScalarField::waveInletAlphaFvPatchScalarField
{}
-Foam::waveInletAlphaFvPatchScalarField::waveInletAlphaFvPatchScalarField
+Foam::waveAlphaFvPatchScalarField::waveAlphaFvPatchScalarField
(
- const waveInletAlphaFvPatchScalarField& ptf,
+ const waveAlphaFvPatchScalarField& ptf,
const DimensionedField& 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::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 eb84795be1..4286d15a7a 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 .
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&
);
//- Construct from patch, internal field and dictionary
- waveInletAlphaFvPatchScalarField
+ waveAlphaFvPatchScalarField
(
const fvPatch&,
const DimensionedField&,
@@ -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&,
const fvPatchFieldMapper&
);
//- Construct as copy
- waveInletAlphaFvPatchScalarField
+ waveAlphaFvPatchScalarField
(
- const waveInletAlphaFvPatchScalarField&
+ const waveAlphaFvPatchScalarField&
);
//- Construct and return a clone
@@ -120,14 +120,14 @@ public:
{
return tmp
(
- new waveInletAlphaFvPatchScalarField(*this)
+ new waveAlphaFvPatchScalarField(*this)
);
}
//- Construct as copy setting internal field reference
- waveInletAlphaFvPatchScalarField
+ waveAlphaFvPatchScalarField
(
- const waveInletAlphaFvPatchScalarField&,
+ const waveAlphaFvPatchScalarField&,
const DimensionedField&
);
@@ -139,7 +139,7 @@ public:
{
return tmp
(
- 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 5c36dc49d9..a237aabbc1 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& 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& iF,
const fvPatchFieldMapper& mapper
@@ -54,7 +54,7 @@ Foam::waveInletVelocityFvPatchVectorField::waveInletVelocityFvPatchVectorField
{}
-Foam::waveInletVelocityFvPatchVectorField::waveInletVelocityFvPatchVectorField
+Foam::waveVelocityFvPatchVectorField::waveVelocityFvPatchVectorField
(
const fvPatch& p,
const DimensionedField& iF,
@@ -66,9 +66,9 @@ Foam::waveInletVelocityFvPatchVectorField::waveInletVelocityFvPatchVectorField
{}
-Foam::waveInletVelocityFvPatchVectorField::waveInletVelocityFvPatchVectorField
+Foam::waveVelocityFvPatchVectorField::waveVelocityFvPatchVectorField
(
- const waveInletVelocityFvPatchVectorField& ptf
+ const waveVelocityFvPatchVectorField& ptf
)
:
fixedValueFvPatchField(ptf),
@@ -76,9 +76,9 @@ Foam::waveInletVelocityFvPatchVectorField::waveInletVelocityFvPatchVectorField
{}
-Foam::waveInletVelocityFvPatchVectorField::waveInletVelocityFvPatchVectorField
+Foam::waveVelocityFvPatchVectorField::waveVelocityFvPatchVectorField
(
- const waveInletVelocityFvPatchVectorField& ptf,
+ const waveVelocityFvPatchVectorField& ptf,
const DimensionedField& 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::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 1356702d9d..5098102dd1 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 .
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&
);
//- Construct from patch, internal field and dictionary
- waveInletVelocityFvPatchVectorField
+ waveVelocityFvPatchVectorField
(
const fvPatch&,
const DimensionedField&,
@@ -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&,
const fvPatchFieldMapper&
);
//- Construct as copy
- waveInletVelocityFvPatchVectorField
+ waveVelocityFvPatchVectorField
(
- const waveInletVelocityFvPatchVectorField&
+ const waveVelocityFvPatchVectorField&
);
//- Construct and return a clone
@@ -119,14 +120,14 @@ public:
{
return tmp
(
- new waveInletVelocityFvPatchVectorField(*this)
+ new waveVelocityFvPatchVectorField(*this)
);
}
//- Construct as copy setting internal field reference
- waveInletVelocityFvPatchVectorField
+ waveVelocityFvPatchVectorField
(
- const waveInletVelocityFvPatchVectorField&,
+ const waveVelocityFvPatchVectorField&,
const DimensionedField&
);
@@ -138,7 +139,7 @@ public:
{
return tmp
(
- 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 e7273e91c3..643acedeb2 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 3fee2d90a6..01f5749b9b 100644
--- a/integration/OpenCFD/code/waveModel/waveModel/waveModel.C
+++ b/src/waveModels/waveModel/waveModel.C
@@ -147,7 +147,8 @@ Foam::tmp Foam::waveModel::waterLevel() const
reduce(paddleMagSf[paddlei], sumOp());
reduce(paddleWettedMagSf[paddlei], sumOp());
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 399cf40676..7a0efd4570 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 b215c9cd48..097dae5bea 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 a99cef99e9..424d475902 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 f65efdb456..92a1a646e9 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 b215c9cd48..95453554e5 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 a99cef99e9..424d475902 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 7894dff756..87022a24ce 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 b215c9cd48..95453554e5 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 a99cef99e9..424d475902 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 c0d020cf65..91f0a8a144 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 b215c9cd48..95453554e5 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 a99cef99e9..424d475902 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 f779aa6fe6..8c005190cc 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 523da1ac2d..02f000b04a 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 b309a9dfb8..9069a26b66 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 c45cdd924d..76911c1e87 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