diff --git a/src/TurbulenceModels/turbulenceModels/Make/files b/src/TurbulenceModels/turbulenceModels/Make/files index 86009f9d4..6f35baae1 100644 --- a/src/TurbulenceModels/turbulenceModels/Make/files +++ b/src/TurbulenceModels/turbulenceModels/Make/files @@ -33,7 +33,6 @@ $(nutWallFunctions)/nutWallFunction/nutWallFunctionFvPatchScalarField.C $(nutWallFunctions)/nutkWallFunction/nutkWallFunctionFvPatchScalarField.C $(nutWallFunctions)/nutkRoughWallFunction/nutkRoughWallFunctionFvPatchScalarField.C -$(nutWallFunctions)/nutkAtmRoughWallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.C $(nutWallFunctions)/nutUWallFunction/nutUWallFunctionFvPatchScalarField.C $(nutWallFunctions)/nutUSpaldingWallFunction/nutUSpaldingWallFunctionFvPatchScalarField.C @@ -64,11 +63,5 @@ RASBCs = RAS/derivedFvPatchFields $(RASBCs)/turbulentMixingLengthDissipationRateInlet/turbulentMixingLengthDissipationRateInletFvPatchScalarField.C $(RASBCs)/turbulentMixingLengthFrequencyInlet/turbulentMixingLengthFrequencyInletFvPatchScalarField.C -/* Atmospheric boundary layer BCs */ -$(RASBCs)/atmBoundaryLayer/atmBoundaryLayer.C -$(RASBCs)/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.C -$(RASBCs)/atmBoundaryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.C -$(RASBCs)/atmBoundaryLayerInletEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.C - LIB = $(FOAM_LIBBIN)/libturbulenceModels diff --git a/src/atmosphericModels/Make/files b/src/atmosphericModels/Make/files new file mode 100644 index 000000000..a5a1c27f2 --- /dev/null +++ b/src/atmosphericModels/Make/files @@ -0,0 +1,7 @@ +derivedFvPatchFields/atmBoundaryLayer/atmBoundaryLayer.C +derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.C +derivedFvPatchFields/atmBoundaryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.C +derivedFvPatchFields/atmBoundaryLayerInletEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.C +derivedFvPatchFields/nutkAtmRoughWallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.C + +LIB = $(FOAM_LIBBIN)/libatmosphericModels diff --git a/src/atmosphericModels/Make/options b/src/atmosphericModels/Make/options new file mode 100644 index 000000000..3ffea18be --- /dev/null +++ b/src/atmosphericModels/Make/options @@ -0,0 +1,18 @@ +EXE_INC = \ + -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \ + -I$(LIB_SRC)/TurbulenceModels/incompressible/lnInclude \ + -I$(LIB_SRC)/transportModels \ + -I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \ + -I$(LIB_SRC)/finiteVolume/lnInclude \ + -I$(LIB_SRC)/meshTools/lnInclude \ + -I$(LIB_SRC)/triSurface/lnInclude \ + -I$(LIB_SRC)/fvOptions/lnInclude + +LIB_LIBS = \ + -lturbulenceModels \ + -lincompressibleTurbulenceModels \ + -lincompressibleTransportModels \ + -lfiniteVolume \ + -lmeshTools \ + -ltriSurface \ + -lfvOptions diff --git a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayer/atmBoundaryLayer.C b/src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayer/atmBoundaryLayer.C similarity index 100% rename from src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayer/atmBoundaryLayer.C rename to src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayer/atmBoundaryLayer.C diff --git a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayer/atmBoundaryLayer.H b/src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayer/atmBoundaryLayer.H similarity index 100% rename from src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayer/atmBoundaryLayer.H rename to src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayer/atmBoundaryLayer.H diff --git a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.C b/src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.C similarity index 82% rename from src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.C rename to src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.C index 20a917ec3..65e748f3d 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.C +++ b/src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -43,7 +43,7 @@ atmBoundaryLayerInletEpsilonFvPatchScalarField const DimensionedField& iF ) : - fixedValueFvPatchScalarField(p, iF), + inletOutletFvPatchScalarField(p, iF), atmBoundaryLayer() {} @@ -56,10 +56,23 @@ atmBoundaryLayerInletEpsilonFvPatchScalarField const dictionary& dict ) : - fixedValueFvPatchScalarField(p, iF, dict, false), + inletOutletFvPatchScalarField(p, iF), atmBoundaryLayer(patch().Cf(), dict) { - scalarField::operator=(epsilon(patch().Cf())); + phiName_ = dict.lookupOrDefault("phi", "phi"); + + refValue() = epsilon(patch().Cf()); + refGrad() = 0; + valueFraction() = 1; + + if (dict.found("value")) + { + scalarField::operator=(scalarField("value", dict, p.size())); + } + else + { + scalarField::operator=(refValue()); + } } @@ -72,7 +85,7 @@ atmBoundaryLayerInletEpsilonFvPatchScalarField const fvPatchFieldMapper& mapper ) : - fixedValueFvPatchScalarField(psf, p, iF, mapper), + inletOutletFvPatchScalarField(psf, p, iF, mapper), atmBoundaryLayer(psf, mapper) {} @@ -84,7 +97,7 @@ atmBoundaryLayerInletEpsilonFvPatchScalarField const DimensionedField& iF ) : - fixedValueFvPatchScalarField(psf, iF), + inletOutletFvPatchScalarField(psf, iF), atmBoundaryLayer(psf) {} @@ -96,7 +109,7 @@ void atmBoundaryLayerInletEpsilonFvPatchScalarField::autoMap const fvPatchFieldMapper& m ) { - fixedValueFvPatchScalarField::autoMap(m); + inletOutletFvPatchScalarField::autoMap(m); atmBoundaryLayer::autoMap(m); } @@ -107,7 +120,7 @@ void atmBoundaryLayerInletEpsilonFvPatchScalarField::rmap const labelList& addr ) { - fixedValueFvPatchScalarField::rmap(psf, addr); + inletOutletFvPatchScalarField::rmap(psf, addr); const atmBoundaryLayerInletEpsilonFvPatchScalarField& blpsf = refCast(psf); @@ -120,6 +133,7 @@ void atmBoundaryLayerInletEpsilonFvPatchScalarField::write(Ostream& os) const { fvPatchScalarField::write(os); atmBoundaryLayer::write(os); + writeEntryIfDifferent(os, "phi", "phi", phiName_); writeEntry("value", os); } diff --git a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.H b/src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.H similarity index 97% rename from src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.H rename to src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.H index a73e94397..ff347f966 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.H +++ b/src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -60,7 +60,7 @@ SourceFiles #define atmBoundaryLayerInletEpsilonFvPatchScalarField_H #include "fvPatchFields.H" -#include "fixedValueFvPatchFields.H" +#include "inletOutletFvPatchFields.H" #include "atmBoundaryLayer.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -74,7 +74,7 @@ namespace Foam class atmBoundaryLayerInletEpsilonFvPatchScalarField : - public fixedValueFvPatchScalarField, + public inletOutletFvPatchScalarField, public atmBoundaryLayer { diff --git a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.C b/src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.C similarity index 82% rename from src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.C rename to src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.C index 65017e252..4078d8548 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.C +++ b/src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -43,7 +43,7 @@ atmBoundaryLayerInletKFvPatchScalarField const DimensionedField& iF ) : - fixedValueFvPatchScalarField(p, iF), + inletOutletFvPatchScalarField(p, iF), atmBoundaryLayer() {} @@ -56,10 +56,23 @@ atmBoundaryLayerInletKFvPatchScalarField const dictionary& dict ) : - fixedValueFvPatchScalarField(p, iF, dict, false), + inletOutletFvPatchScalarField(p, iF), atmBoundaryLayer(patch().Cf(), dict) { - scalarField::operator=(k(patch().Cf())); + phiName_ = dict.lookupOrDefault("phi", "phi"); + + refValue() = k(patch().Cf()); + refGrad() = 0; + valueFraction() = 1; + + if (dict.found("value")) + { + scalarField::operator=(scalarField("value", dict, p.size())); + } + else + { + scalarField::operator=(refValue()); + } } @@ -72,7 +85,7 @@ atmBoundaryLayerInletKFvPatchScalarField const fvPatchFieldMapper& mapper ) : - fixedValueFvPatchScalarField(psf, p, iF, mapper), + inletOutletFvPatchScalarField(psf, p, iF, mapper), atmBoundaryLayer(psf, mapper) {} @@ -84,7 +97,7 @@ atmBoundaryLayerInletKFvPatchScalarField const DimensionedField& iF ) : - fixedValueFvPatchScalarField(psf, iF), + inletOutletFvPatchScalarField(psf, iF), atmBoundaryLayer(psf) {} @@ -96,7 +109,7 @@ void atmBoundaryLayerInletKFvPatchScalarField::autoMap const fvPatchFieldMapper& m ) { - fixedValueFvPatchScalarField::autoMap(m); + inletOutletFvPatchScalarField::autoMap(m); atmBoundaryLayer::autoMap(m); } @@ -107,7 +120,7 @@ void atmBoundaryLayerInletKFvPatchScalarField::rmap const labelList& addr ) { - fixedValueFvPatchScalarField::rmap(psf, addr); + inletOutletFvPatchScalarField::rmap(psf, addr); const atmBoundaryLayerInletKFvPatchScalarField& blpsf = refCast(psf); @@ -120,6 +133,7 @@ void atmBoundaryLayerInletKFvPatchScalarField::write(Ostream& os) const { fvPatchScalarField::write(os); atmBoundaryLayer::write(os); + writeEntryIfDifferent(os, "phi", "phi", phiName_); writeEntry("value", os); } diff --git a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.H b/src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.H similarity index 97% rename from src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.H rename to src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.H index b0cac8c4d..b575ca3e3 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.H +++ b/src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2014-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -60,7 +60,7 @@ SourceFiles #define atmBoundaryLayerInletKFvPatchScalarField_H #include "fvPatchFields.H" -#include "fixedValueFvPatchFields.H" +#include "inletOutletFvPatchFields.H" #include "atmBoundaryLayer.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -74,7 +74,7 @@ namespace Foam class atmBoundaryLayerInletKFvPatchScalarField : - public fixedValueFvPatchScalarField, + public inletOutletFvPatchScalarField, public atmBoundaryLayer { diff --git a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.C b/src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.C similarity index 83% rename from src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.C rename to src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.C index 348d041cb..ec9ee6e79 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.C +++ b/src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -43,7 +43,7 @@ atmBoundaryLayerInletVelocityFvPatchVectorField const DimensionedField& iF ) : - fixedValueFvPatchVectorField(p, iF), + inletOutletFvPatchVectorField(p, iF), atmBoundaryLayer() {} @@ -56,10 +56,23 @@ atmBoundaryLayerInletVelocityFvPatchVectorField const dictionary& dict ) : - fixedValueFvPatchVectorField(p, iF, dict, false), + inletOutletFvPatchVectorField(p, iF), atmBoundaryLayer(patch().Cf(), dict) { - vectorField::operator=(U(patch().Cf())); + phiName_ = dict.lookupOrDefault("phi", "phi"); + + refValue() = U(patch().Cf()); + refGrad() = Zero; + valueFraction() = 1; + + if (dict.found("value")) + { + vectorField::operator=(vectorField("value", dict, p.size())); + } + else + { + vectorField::operator=(refValue()); + } } @@ -72,7 +85,7 @@ atmBoundaryLayerInletVelocityFvPatchVectorField const fvPatchFieldMapper& mapper ) : - fixedValueFvPatchVectorField(pvf, p, iF, mapper), + inletOutletFvPatchVectorField(pvf, p, iF, mapper), atmBoundaryLayer(pvf, mapper) {} @@ -84,7 +97,7 @@ atmBoundaryLayerInletVelocityFvPatchVectorField const DimensionedField& iF ) : - fixedValueFvPatchVectorField(pvf, iF), + inletOutletFvPatchVectorField(pvf, iF), atmBoundaryLayer(pvf) {} @@ -96,7 +109,7 @@ void atmBoundaryLayerInletVelocityFvPatchVectorField::autoMap const fvPatchFieldMapper& m ) { - fixedValueFvPatchVectorField::autoMap(m); + inletOutletFvPatchVectorField::autoMap(m); atmBoundaryLayer::autoMap(m); } @@ -107,7 +120,7 @@ void atmBoundaryLayerInletVelocityFvPatchVectorField::rmap const labelList& addr ) { - fixedValueFvPatchVectorField::rmap(pvf, addr); + inletOutletFvPatchVectorField::rmap(pvf, addr); const atmBoundaryLayerInletVelocityFvPatchVectorField& blpvf = refCast(pvf); @@ -120,6 +133,7 @@ void atmBoundaryLayerInletVelocityFvPatchVectorField::write(Ostream& os) const { fvPatchVectorField::write(os); atmBoundaryLayer::write(os); + writeEntryIfDifferent(os, "phi", "phi", phiName_); writeEntry("value", os); } diff --git a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.H b/src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.H similarity index 97% rename from src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.H rename to src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.H index 7a22c0ef3..22b421f4a 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.H +++ b/src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -61,7 +61,7 @@ SourceFiles #define atmBoundaryLayerInletVelocityFvPatchVectorField_H #include "fvPatchFields.H" -#include "fixedValueFvPatchFields.H" +#include "inletOutletFvPatchFields.H" #include "atmBoundaryLayer.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -75,7 +75,7 @@ namespace Foam class atmBoundaryLayerInletVelocityFvPatchVectorField : - public fixedValueFvPatchVectorField, + public inletOutletFvPatchVectorField, public atmBoundaryLayer { diff --git a/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutkAtmRoughWallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.C b/src/atmosphericModels/derivedFvPatchFields/nutkAtmRoughWallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.C similarity index 98% rename from src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutkAtmRoughWallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.C rename to src/atmosphericModels/derivedFvPatchFields/nutkAtmRoughWallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.C index 668a07a2c..7bf60ee50 100644 --- a/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutkAtmRoughWallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.C +++ b/src/atmosphericModels/derivedFvPatchFields/nutkAtmRoughWallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License diff --git a/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutkAtmRoughWallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.H b/src/atmosphericModels/derivedFvPatchFields/nutkAtmRoughWallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.H similarity index 100% rename from src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutkAtmRoughWallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.H rename to src/atmosphericModels/derivedFvPatchFields/nutkAtmRoughWallFunction/nutkAtmRoughWallFunctionFvPatchScalarField.H diff --git a/tutorials/incompressible/simpleFoam/turbineSiting/system/controlDict b/tutorials/incompressible/simpleFoam/turbineSiting/system/controlDict index f648f3ed7..af41006ea 100644 --- a/tutorials/incompressible/simpleFoam/turbineSiting/system/controlDict +++ b/tutorials/incompressible/simpleFoam/turbineSiting/system/controlDict @@ -44,4 +44,6 @@ timePrecision 6; runTimeModifiable yes; +libs ("libatmosphericModels.so"); + // ************************************************************************* //