mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GIT: Resolved conflict
This commit is contained in:
@ -11,6 +11,7 @@ $(BCs)/turbulentTemperatureRadCoupledMixed/turbulentTemperatureRadCoupledMixedFv
|
|||||||
$(BCs)/externalWallHeatFluxTemperature/externalWallHeatFluxTemperatureFvPatchScalarField.C
|
$(BCs)/externalWallHeatFluxTemperature/externalWallHeatFluxTemperatureFvPatchScalarField.C
|
||||||
$(BCs)/wallHeatTransfer/wallHeatTransferFvPatchScalarField.C
|
$(BCs)/wallHeatTransfer/wallHeatTransferFvPatchScalarField.C
|
||||||
$(BCs)/convectiveHeatTransfer/convectiveHeatTransferFvPatchScalarField.C
|
$(BCs)/convectiveHeatTransfer/convectiveHeatTransferFvPatchScalarField.C
|
||||||
|
$(BCs)/fixedIncidentRadiation/fixedIncidentRadiationFvPatchScalarField.C
|
||||||
|
|
||||||
turbulentFluidThermoModels/derivedFvPatchFields/wallFunctions/alphatWallFunctions/alphatWallFunction/alphatWallFunctionFvPatchScalarField.C
|
turbulentFluidThermoModels/derivedFvPatchFields/wallFunctions/alphatWallFunctions/alphatWallFunction/alphatWallFunctionFvPatchScalarField.C
|
||||||
turbulentFluidThermoModels/derivedFvPatchFields/wallFunctions/alphatWallFunctions/alphatJayatillekeWallFunction/alphatJayatillekeWallFunctionFvPatchScalarField.C
|
turbulentFluidThermoModels/derivedFvPatchFields/wallFunctions/alphatWallFunctions/alphatJayatillekeWallFunction/alphatJayatillekeWallFunctionFvPatchScalarField.C
|
||||||
|
|||||||
@ -2,6 +2,7 @@ EXE_INC = \
|
|||||||
-I../turbulenceModels/lnInclude \
|
-I../turbulenceModels/lnInclude \
|
||||||
-I$(LIB_SRC)/transportModels/compressible/lnInclude \
|
-I$(LIB_SRC)/transportModels/compressible/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
|
||||||
|
-I$(LIB_SRC)/thermophysicalModels/radiation/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/solidThermo/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/solidThermo/lnInclude \
|
||||||
-I$(LIB_SRC)/thermophysicalModels/solidSpecie/lnInclude \
|
-I$(LIB_SRC)/thermophysicalModels/solidSpecie/lnInclude \
|
||||||
@ -10,6 +11,7 @@ EXE_INC = \
|
|||||||
|
|
||||||
LIB_LIBS = \
|
LIB_LIBS = \
|
||||||
-lcompressibleTransportModels \
|
-lcompressibleTransportModels \
|
||||||
|
-lradiationModels \
|
||||||
-lfluidThermophysicalModels \
|
-lfluidThermophysicalModels \
|
||||||
-lsolidThermo \
|
-lsolidThermo \
|
||||||
-lsolidSpecie \
|
-lsolidSpecie \
|
||||||
|
|||||||
@ -0,0 +1,219 @@
|
|||||||
|
/*---------------------------------------------------------------------------*\
|
||||||
|
========= |
|
||||||
|
\\ / 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 2 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, write to the Free Software Foundation,
|
||||||
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
#include "fixedIncidentRadiationFvPatchScalarField.H"
|
||||||
|
#include "addToRunTimeSelectionTable.H"
|
||||||
|
#include "fvPatchFieldMapper.H"
|
||||||
|
#include "volFields.H"
|
||||||
|
#include "constants.H"
|
||||||
|
#include "radiationModel.H"
|
||||||
|
#include "absorptionEmissionModel.H"
|
||||||
|
|
||||||
|
using namespace Foam::constant;
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
Foam::radiation::fixedIncidentRadiationFvPatchScalarField::
|
||||||
|
fixedIncidentRadiationFvPatchScalarField
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<scalar, volMesh>& iF
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedGradientFvPatchScalarField(p, iF),
|
||||||
|
temperatureCoupledBase(patch(), "undefined", "undefined", "undefined-K"),
|
||||||
|
QrIncident_(p.size(), 0.0)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::radiation::fixedIncidentRadiationFvPatchScalarField::
|
||||||
|
fixedIncidentRadiationFvPatchScalarField
|
||||||
|
(
|
||||||
|
const fixedIncidentRadiationFvPatchScalarField& psf,
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<scalar, volMesh>& iF,
|
||||||
|
const fvPatchFieldMapper& mapper
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedGradientFvPatchScalarField(psf, p, iF, mapper),
|
||||||
|
temperatureCoupledBase(patch(), psf),
|
||||||
|
QrIncident_(psf.QrIncident_)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::radiation::fixedIncidentRadiationFvPatchScalarField::
|
||||||
|
fixedIncidentRadiationFvPatchScalarField
|
||||||
|
(
|
||||||
|
const fvPatch& p,
|
||||||
|
const DimensionedField<scalar, volMesh>& iF,
|
||||||
|
const dictionary& dict
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedGradientFvPatchScalarField(p, iF),
|
||||||
|
temperatureCoupledBase(patch(), dict),
|
||||||
|
QrIncident_("QrIncident", dict, p.size())
|
||||||
|
{
|
||||||
|
if (dict.found("value") && dict.found("gradient"))
|
||||||
|
{
|
||||||
|
fvPatchField<scalar>::operator=(Field<scalar>("value", dict, p.size()));
|
||||||
|
gradient() = Field<scalar>("gradient", dict, p.size());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Still reading so cannot yet evaluate. Make up a value.
|
||||||
|
fvPatchField<scalar>::operator=(patchInternalField());
|
||||||
|
gradient() = 0.0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::radiation::fixedIncidentRadiationFvPatchScalarField::
|
||||||
|
fixedIncidentRadiationFvPatchScalarField
|
||||||
|
(
|
||||||
|
const fixedIncidentRadiationFvPatchScalarField& psf,
|
||||||
|
const DimensionedField<scalar, volMesh>& iF
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedGradientFvPatchScalarField(psf, iF),
|
||||||
|
temperatureCoupledBase(patch(), psf),
|
||||||
|
QrIncident_(psf.QrIncident_)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
Foam::radiation::fixedIncidentRadiationFvPatchScalarField::
|
||||||
|
fixedIncidentRadiationFvPatchScalarField
|
||||||
|
(
|
||||||
|
const fixedIncidentRadiationFvPatchScalarField& ptf
|
||||||
|
)
|
||||||
|
:
|
||||||
|
fixedGradientFvPatchScalarField(ptf),
|
||||||
|
temperatureCoupledBase(patch(), ptf),
|
||||||
|
QrIncident_(ptf.QrIncident_)
|
||||||
|
{}
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|
||||||
|
void Foam::radiation::fixedIncidentRadiationFvPatchScalarField::autoMap
|
||||||
|
(
|
||||||
|
const fvPatchFieldMapper& m
|
||||||
|
)
|
||||||
|
{
|
||||||
|
fixedGradientFvPatchScalarField::autoMap(m);
|
||||||
|
QrIncident_.autoMap(m);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void Foam::radiation::fixedIncidentRadiationFvPatchScalarField::rmap
|
||||||
|
(
|
||||||
|
const fvPatchScalarField& psf,
|
||||||
|
const labelList& addr
|
||||||
|
)
|
||||||
|
{
|
||||||
|
fixedGradientFvPatchScalarField::rmap(psf, addr);
|
||||||
|
|
||||||
|
const fixedIncidentRadiationFvPatchScalarField& thftpsf =
|
||||||
|
refCast<const fixedIncidentRadiationFvPatchScalarField>
|
||||||
|
(
|
||||||
|
psf
|
||||||
|
);
|
||||||
|
|
||||||
|
QrIncident_.rmap(thftpsf.QrIncident_, addr);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void Foam::radiation::fixedIncidentRadiationFvPatchScalarField::updateCoeffs()
|
||||||
|
{
|
||||||
|
if (updated())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
scalarField intFld(patchInternalField());
|
||||||
|
|
||||||
|
const radiation::radiationModel& radiation =
|
||||||
|
db().lookupObject<radiation::radiationModel>("radiationProperties");
|
||||||
|
|
||||||
|
scalarField emissivity
|
||||||
|
(
|
||||||
|
radiation.absorptionEmission().e()().boundaryField()
|
||||||
|
[
|
||||||
|
patch().index()
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
||||||
|
gradient() =
|
||||||
|
emissivity*
|
||||||
|
(
|
||||||
|
QrIncident_
|
||||||
|
- physicoChemical::sigma.value()*pow4(*this)
|
||||||
|
)/kappa(*this);
|
||||||
|
|
||||||
|
fixedGradientFvPatchScalarField::updateCoeffs();
|
||||||
|
|
||||||
|
if (debug)
|
||||||
|
{
|
||||||
|
scalar Qr = gSum(kappa(*this)*gradient()*patch().magSf());
|
||||||
|
Info<< patch().boundaryMesh().mesh().name() << ':'
|
||||||
|
<< patch().name() << ':'
|
||||||
|
<< this->dimensionedInternalField().name() << " -> "
|
||||||
|
<< " radiativeFlux:" << Qr
|
||||||
|
<< " walltemperature "
|
||||||
|
<< " min:" << gMin(*this)
|
||||||
|
<< " max:" << gMax(*this)
|
||||||
|
<< " avg:" << gAverage(*this)
|
||||||
|
<< endl;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void Foam::radiation::fixedIncidentRadiationFvPatchScalarField::write
|
||||||
|
(
|
||||||
|
Ostream& os
|
||||||
|
) const
|
||||||
|
{
|
||||||
|
fixedGradientFvPatchScalarField::write(os);
|
||||||
|
temperatureCoupledBase::write(os);
|
||||||
|
QrIncident_.writeEntry("QrIncident", os);
|
||||||
|
writeEntry("value", os);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
namespace Foam
|
||||||
|
{
|
||||||
|
namespace radiation
|
||||||
|
{
|
||||||
|
makePatchTypeField
|
||||||
|
(
|
||||||
|
fvPatchScalarField,
|
||||||
|
fixedIncidentRadiationFvPatchScalarField
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -0,0 +1,205 @@
|
|||||||
|
/*---------------------------------------------------------------------------*\
|
||||||
|
========= |
|
||||||
|
\\ / 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, write to the Free Software Foundation,
|
||||||
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
Class
|
||||||
|
Foam::radiation::fixedIncidentRadiationFvPatchScalarField
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpThermoBoundaryConditions
|
||||||
|
|
||||||
|
Description
|
||||||
|
Boundary condition for thermal coupling for solid regions.
|
||||||
|
Used to emulate a fixed incident radiative heat flux on a wall.
|
||||||
|
|
||||||
|
the gradient heat flux is calculated as :
|
||||||
|
|
||||||
|
Qr = emissivity*(QrIncident - sigma_*T^4)
|
||||||
|
|
||||||
|
where:
|
||||||
|
|
||||||
|
emissivity is the emissivity of the solid.
|
||||||
|
QrIncident is the specified fixed incident radiation.
|
||||||
|
|
||||||
|
Example usage:
|
||||||
|
|
||||||
|
wall
|
||||||
|
{
|
||||||
|
type fixedIncidentRadiation;
|
||||||
|
QrIncident uniform 500;
|
||||||
|
kappa solidThermo;
|
||||||
|
KappaName none;
|
||||||
|
}
|
||||||
|
|
||||||
|
kappa:
|
||||||
|
- 'lookup' : lookup volScalarField (or volSymmTensorField) with name
|
||||||
|
- 'solidThermo' : use solidThermo kappa()
|
||||||
|
|
||||||
|
emissivity:
|
||||||
|
- 'lookup' : lookup volScalarField emissivity
|
||||||
|
- 'localSolidRadiation': Look up for local solidRadiation
|
||||||
|
|
||||||
|
|
||||||
|
SourceFiles
|
||||||
|
fixedIncidentRadiationFvPatchScalarField.C
|
||||||
|
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifndef fixedIncidentRadiationFvPatchScalarField_H
|
||||||
|
#define fixedIncidentRadiationFvPatchScalarField_H
|
||||||
|
|
||||||
|
#include "fixedGradientFvPatchFields.H"
|
||||||
|
#include "temperatureCoupledBase.H"
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
namespace Foam
|
||||||
|
{
|
||||||
|
namespace radiation
|
||||||
|
{
|
||||||
|
/*---------------------------------------------------------------------------*\
|
||||||
|
Class fixedIncidentRadiationFvPatchScalarField declaration
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
class fixedIncidentRadiationFvPatchScalarField
|
||||||
|
:
|
||||||
|
public fixedGradientFvPatchScalarField,
|
||||||
|
public temperatureCoupledBase
|
||||||
|
{
|
||||||
|
// Private data
|
||||||
|
|
||||||
|
//- Incident radiative heat flux
|
||||||
|
scalarField QrIncident_;
|
||||||
|
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
//- Runtime type information
|
||||||
|
TypeName("fixedIncidentRadiation");
|
||||||
|
|
||||||
|
|
||||||
|
// Constructors
|
||||||
|
|
||||||
|
//- Construct from patch and internal field
|
||||||
|
fixedIncidentRadiationFvPatchScalarField
|
||||||
|
(
|
||||||
|
const fvPatch&,
|
||||||
|
const DimensionedField<scalar, volMesh>&
|
||||||
|
);
|
||||||
|
|
||||||
|
//- Construct from patch, internal field and dictionary
|
||||||
|
fixedIncidentRadiationFvPatchScalarField
|
||||||
|
(
|
||||||
|
const fvPatch&,
|
||||||
|
const DimensionedField<scalar, volMesh>&,
|
||||||
|
const dictionary&
|
||||||
|
);
|
||||||
|
|
||||||
|
//- Construct by mapping given
|
||||||
|
// turbulentTemperatureCoupledBaffleMixedFvPatchScalarField onto a
|
||||||
|
// new patch
|
||||||
|
fixedIncidentRadiationFvPatchScalarField
|
||||||
|
(
|
||||||
|
const
|
||||||
|
fixedIncidentRadiationFvPatchScalarField&,
|
||||||
|
const fvPatch&,
|
||||||
|
const DimensionedField<scalar, volMesh>&,
|
||||||
|
const fvPatchFieldMapper&
|
||||||
|
);
|
||||||
|
|
||||||
|
//- Construct as copy
|
||||||
|
fixedIncidentRadiationFvPatchScalarField
|
||||||
|
(
|
||||||
|
const fixedIncidentRadiationFvPatchScalarField&
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
//- Construct and return a clone
|
||||||
|
virtual tmp<fvPatchScalarField> clone() const
|
||||||
|
{
|
||||||
|
return tmp<fvPatchScalarField>
|
||||||
|
(
|
||||||
|
new fixedIncidentRadiationFvPatchScalarField
|
||||||
|
(
|
||||||
|
*this
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
//- Construct as copy setting internal field reference
|
||||||
|
fixedIncidentRadiationFvPatchScalarField
|
||||||
|
(
|
||||||
|
const fixedIncidentRadiationFvPatchScalarField&,
|
||||||
|
const DimensionedField<scalar, volMesh>&
|
||||||
|
);
|
||||||
|
|
||||||
|
//- Construct and return a clone setting internal field reference
|
||||||
|
virtual tmp<fvPatchScalarField> clone
|
||||||
|
(
|
||||||
|
const DimensionedField<scalar, volMesh>& iF
|
||||||
|
) const
|
||||||
|
{
|
||||||
|
return tmp<fvPatchScalarField>
|
||||||
|
(
|
||||||
|
new fixedIncidentRadiationFvPatchScalarField
|
||||||
|
(
|
||||||
|
*this,
|
||||||
|
iF
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Member functions
|
||||||
|
|
||||||
|
|
||||||
|
// Mapping functions
|
||||||
|
|
||||||
|
//- Map (and resize as needed) from self given a mapping object
|
||||||
|
virtual void autoMap(const fvPatchFieldMapper&);
|
||||||
|
|
||||||
|
//- Reverse map the given fvPatchField onto this fvPatchField
|
||||||
|
virtual void rmap
|
||||||
|
(
|
||||||
|
const fvPatchScalarField&,
|
||||||
|
const labelList&
|
||||||
|
);
|
||||||
|
|
||||||
|
//- Update the coefficients associated with the patch field
|
||||||
|
virtual void updateCoeffs();
|
||||||
|
|
||||||
|
//- Write
|
||||||
|
virtual void write(Ostream&) const;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
} // End namespace Foam
|
||||||
|
} // End namespace radiation
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -260,35 +260,35 @@ void Foam::activePressureForceBaffleVelocityFvPatchVectorField::updateCoeffs()
|
|||||||
|
|
||||||
scalar valueDiff = 0;
|
scalar valueDiff = 0;
|
||||||
|
|
||||||
if (fBased_)
|
// Add this side (p*area)
|
||||||
|
forAll(cyclicFaceCells, facei)
|
||||||
{
|
{
|
||||||
// Add this side
|
valueDiff +=p[cyclicFaceCells[facei]]*mag(initCyclicSf_[facei]);
|
||||||
forAll(cyclicFaceCells, facei)
|
|
||||||
{
|
|
||||||
valueDiff +=p[cyclicFaceCells[facei]]*mag(initCyclicSf_[facei]);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Remove other side
|
|
||||||
forAll(nbrFaceCells, facei)
|
|
||||||
{
|
|
||||||
valueDiff -=p[nbrFaceCells[facei]]*mag(initCyclicSf_[facei]);
|
|
||||||
}
|
|
||||||
|
|
||||||
Info<< "Force difference = " << valueDiff << endl;
|
|
||||||
}
|
}
|
||||||
else //pressure based
|
|
||||||
|
// Remove other side
|
||||||
|
forAll(nbrFaceCells, facei)
|
||||||
{
|
{
|
||||||
forAll(cyclicFaceCells, facei)
|
valueDiff -=p[nbrFaceCells[facei]]*mag(initCyclicSf_[facei]);
|
||||||
{
|
}
|
||||||
valueDiff += p[cyclicFaceCells[facei]];
|
|
||||||
}
|
|
||||||
|
|
||||||
forAll(nbrFaceCells, facei)
|
if (!fBased_) //pressure based then weighted by area
|
||||||
{
|
{
|
||||||
valueDiff -= p[nbrFaceCells[facei]];
|
valueDiff = valueDiff/gSum(patch().magSf());
|
||||||
}
|
}
|
||||||
|
|
||||||
Info<< "Pressure difference = " << valueDiff << endl;
|
reduce(valueDiff, sumOp<scalar>());
|
||||||
|
|
||||||
|
if (Pstream::master())
|
||||||
|
{
|
||||||
|
if (fBased_)
|
||||||
|
{
|
||||||
|
Info<< "Force difference = " << valueDiff << endl;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Info<< "Area-averaged pressure difference = " << valueDiff << endl;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mag(valueDiff) > mag(minThresholdValue_) || baffleActivated_)
|
if (mag(valueDiff) > mag(minThresholdValue_) || baffleActivated_)
|
||||||
@ -316,7 +316,10 @@ void Foam::activePressureForceBaffleVelocityFvPatchVectorField::updateCoeffs()
|
|||||||
openFraction_ = max(min(1 - 1e-6, openFraction_), 1e-6);
|
openFraction_ = max(min(1 - 1e-6, openFraction_), 1e-6);
|
||||||
}
|
}
|
||||||
|
|
||||||
Info<< "Open fraction = " << openFraction_ << endl;
|
if (Pstream::master())
|
||||||
|
{
|
||||||
|
Info<< "Open fraction = " << openFraction_ << endl;
|
||||||
|
}
|
||||||
|
|
||||||
scalar areaFraction = 0.0;
|
scalar areaFraction = 0.0;
|
||||||
|
|
||||||
|
|||||||
@ -29,21 +29,19 @@ Group
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
This boundary condition is applied to the flow velocity, to simulate the
|
This boundary condition is applied to the flow velocity, to simulate the
|
||||||
opening or closure of a baffle due to local pressure or force changes,
|
opening or closure of a baffle due to area averaged pressure or force delta,
|
||||||
by merging the behaviours of wall and cyclic conditions.
|
between both sides of the baffle. This is achieved by merging the
|
||||||
|
behaviours of wall and cyclic baffles
|
||||||
|
|
||||||
The baffle joins two mesh regions, where the open fraction determines
|
The baffle joins two mesh regions, where the open fraction determines
|
||||||
the interpolation weights applied to each cyclic- and neighbour-patch
|
the interpolation weights applied to each cyclic- and neighbour-patch
|
||||||
contribution. This means that this is boundary condition is meant to be
|
contribution. This means that this is boundary condition is meant to be
|
||||||
used in an extra wall beyond an existing cyclic patch pair. See PDRMesh
|
used in an extra wall beyond an existing cyclic patch pair.
|
||||||
for more details.
|
|
||||||
|
|
||||||
The baffle is activated when the pressure difference between master and
|
The baffle is activated when the area weighted pressure difference between
|
||||||
slave paches is positive and larger then minThresholdValue. The
|
master and slave paches is larger then minThresholdValue.
|
||||||
orientation flag is used to to calculate the pressure difference bwetween
|
|
||||||
master-slave or slave-master.
|
|
||||||
|
|
||||||
Once the threshold is crossed, this condition activated and continues to
|
Once the threshold is crossed, the baffle is activated and continues to
|
||||||
open or close at a fixed rate using
|
open or close at a fixed rate using
|
||||||
|
|
||||||
\f[
|
\f[
|
||||||
@ -91,7 +89,7 @@ Description
|
|||||||
maxOpenFractionDelta 0.1;
|
maxOpenFractionDelta 0.1;
|
||||||
minThresholdValue 0.01;
|
minThresholdValue 0.01;
|
||||||
forceBased false;
|
forceBased false;
|
||||||
opening 1;
|
opening true;
|
||||||
}
|
}
|
||||||
\endverbatim
|
\endverbatim
|
||||||
|
|
||||||
|
|||||||
@ -28,10 +28,11 @@ Group
|
|||||||
grpInletletBoundaryConditions grpOutletBoundaryConditions
|
grpInletletBoundaryConditions grpOutletBoundaryConditions
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|
||||||
This velocity inlet/outlet boundary condition combines a fixed normal
|
This velocity inlet/outlet boundary condition combines a fixed normal
|
||||||
component obtained from the "normalVelocity" patchField supplied with a
|
component obtained from the "normalVelocity" patchField supplied with a
|
||||||
fixed or zero-gradiented tangential component depending on the direction
|
fixed or zero-gradiented tangential component.
|
||||||
|
|
||||||
|
The tangential component is set depending on the direction
|
||||||
of the flow and the setting of "fixTangentialInflow":
|
of the flow and the setting of "fixTangentialInflow":
|
||||||
- Outflow: apply zero-gradient condition to tangential components
|
- Outflow: apply zero-gradient condition to tangential components
|
||||||
- Inflow:
|
- Inflow:
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::boundedConvectionScheme
|
Foam::fv::boundedConvectionScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvConvectionSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Bounded form of the selected convection scheme.
|
Bounded form of the selected convection scheme.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::convectionScheme
|
Foam::fv::convectionScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvConvectionSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Abstract base class for convection schemes.
|
Abstract base class for convection schemes.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::gaussConvectionScheme
|
Foam::fv::gaussConvectionScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvConvectionSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Basic second-order convection using face-gradients and Gauss' theorem.
|
Basic second-order convection using face-gradients and Gauss' theorem.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::multivariateGaussConvectionScheme
|
Foam::fv::multivariateGaussConvectionScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvConvectionSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Basic second-order convection using face-gradients and Gauss' theorem.
|
Basic second-order convection using face-gradients and Gauss' theorem.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::CoEulerDdtScheme
|
Foam::fv::CoEulerDdtScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvDdtSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Courant number limited first-order Euler implicit/explicit ddt.
|
Courant number limited first-order Euler implicit/explicit ddt.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::CrankNicolsonDdtScheme
|
Foam::fv::CrankNicolsonDdtScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvDdtSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Second-oder Crank-Nicolson implicit ddt using the current and
|
Second-oder Crank-Nicolson implicit ddt using the current and
|
||||||
previous time-step fields as well as the previous time-step ddt.
|
previous time-step fields as well as the previous time-step ddt.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::EulerDdtScheme
|
Foam::fv::EulerDdtScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvDdtSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Basic first-order Euler implicit/explicit ddt using only the current and
|
Basic first-order Euler implicit/explicit ddt using only the current and
|
||||||
previous time-step values.
|
previous time-step values.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::SLTSDdtScheme
|
Foam::fv::SLTSDdtScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvDdtSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Stabilised local time-step first-order Euler implicit/explicit ddt.
|
Stabilised local time-step first-order Euler implicit/explicit ddt.
|
||||||
The time-step is adjusted locally so that an advective equations remains
|
The time-step is adjusted locally so that an advective equations remains
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::backwardDdtScheme
|
Foam::fv::backwardDdtScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvDdtSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Second-order backward-differencing ddt using the current and
|
Second-order backward-differencing ddt using the current and
|
||||||
two previous time-step values.
|
two previous time-step values.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::boundedDdtScheme
|
Foam::fv::boundedDdtScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvDdtSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Bounded form of the selected ddt scheme.
|
Bounded form of the selected ddt scheme.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::ddtScheme
|
Foam::fv::ddtScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvDdtSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Abstract base class for ddt schemes.
|
Abstract base class for ddt schemes.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::localEulerDdtScheme
|
Foam::fv::localEulerDdtScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvDdtSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Local time-step first-order Euler implicit/explicit ddt.
|
Local time-step first-order Euler implicit/explicit ddt.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::steadyStateDdtScheme
|
Foam::fv::steadyStateDdtScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvDdtSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
SteadyState implicit/explicit ddt which returns 0.
|
SteadyState implicit/explicit ddt which returns 0.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::divScheme
|
Foam::fv::divScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvDivSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Abstract base class for div schemes.
|
Abstract base class for div schemes.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::gaussDivScheme
|
Foam::fv::gaussDivScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvDivSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Basic second-order div using face-gradients and Gauss' theorem.
|
Basic second-order div using face-gradients and Gauss' theorem.
|
||||||
|
|
||||||
|
|||||||
80
src/finiteVolume/finiteVolume/doc/finiteVolumeSchemesDoc.H
Normal file
80
src/finiteVolume/finiteVolume/doc/finiteVolumeSchemesDoc.H
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
/*---------------------------------------------------------------------------*\
|
||||||
|
========= |
|
||||||
|
\\ / 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/>.
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
\defgroup grpFvSchemes Finite volume numerical schemes
|
||||||
|
@{
|
||||||
|
This group contains finite volume numerical schemes
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpFvGradSchemes Gradient schemes
|
||||||
|
@{
|
||||||
|
\ingroup grpFvSchemes
|
||||||
|
This group contains finite volume gradient schemes
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpFvSnGradSchemes Surface normal gradient schemes
|
||||||
|
@{
|
||||||
|
\ingroup grpFvSchemes
|
||||||
|
This group contains finite volume surface normal gradient schemes
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpFvDivSchemes Divergence schemes
|
||||||
|
@{
|
||||||
|
\ingroup grpFvSchemes
|
||||||
|
This group contains finite volume divergence schemes
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpFvLaplacianSchemes Laplacian schemes
|
||||||
|
@{
|
||||||
|
\ingroup grpFvSchemes
|
||||||
|
This group contains finite volume Laplacian schemes
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpFvDdtSchemes Time schemes
|
||||||
|
@{
|
||||||
|
\ingroup grpFvSchemes
|
||||||
|
This group contains finite volume time schemes
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpFvConvectionSchemes Convection schemes
|
||||||
|
@{
|
||||||
|
\ingroup grpFvSchemes
|
||||||
|
This group contains finite volume convection schemes
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpFvSurfaceInterpolationSchemes Surface interpolation schemes
|
||||||
|
@{
|
||||||
|
\ingroup grpFvSchemes
|
||||||
|
This group contains finite volume surface interpolation schemes
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpFvLimitedSurfaceInterpolationSchemes Limited interpolation schemes
|
||||||
|
@{
|
||||||
|
\ingroup grpFvSurfaceInterpolationSchemes
|
||||||
|
This group contains finite volume limited surface interpolation schemes
|
||||||
|
@}
|
||||||
|
|
||||||
|
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::LeastSquaresGrad
|
Foam::fv::LeastSquaresGrad
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvGradSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Gradient calculated using weighted least-squares on an arbitrary stencil.
|
Gradient calculated using weighted least-squares on an arbitrary stencil.
|
||||||
The stencil type is provided via a template argument and any cell-based
|
The stencil type is provided via a template argument and any cell-based
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::fourthGrad
|
Foam::fv::fourthGrad
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvGradSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Second-order gradient scheme using least-squares.
|
Second-order gradient scheme using least-squares.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::gaussGrad
|
Foam::fv::gaussGrad
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvGradSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Basic second-order gradient scheme using face-interpolation
|
Basic second-order gradient scheme using face-interpolation
|
||||||
and Gauss' theorem.
|
and Gauss' theorem.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::leastSquaresGrad
|
Foam::fv::leastSquaresGrad
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvGradSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Second-order gradient scheme using least-squares.
|
Second-order gradient scheme using least-squares.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::cellLimitedGrad
|
Foam::fv::cellLimitedGrad
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvGradSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
cellLimitedGrad gradient scheme applied to a runTime selected base gradient
|
cellLimitedGrad gradient scheme applied to a runTime selected base gradient
|
||||||
scheme.
|
scheme.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::cellMDLimitedGrad
|
Foam::fv::cellMDLimitedGrad
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvGradSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
cellMDLimitedGrad gradient scheme applied to a runTime selected base
|
cellMDLimitedGrad gradient scheme applied to a runTime selected base
|
||||||
gradient scheme.
|
gradient scheme.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::faceLimitedGrad
|
Foam::fv::faceLimitedGrad
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvGradSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
faceLimitedGrad gradient scheme applied to a runTime selected base gradient
|
faceLimitedGrad gradient scheme applied to a runTime selected base gradient
|
||||||
scheme.
|
scheme.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::faceMDLimitedGrad
|
Foam::fv::faceMDLimitedGrad
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvGradSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
faceMDLimitedGrad gradient scheme applied to a runTime selected
|
faceMDLimitedGrad gradient scheme applied to a runTime selected
|
||||||
base gradient scheme.
|
base gradient scheme.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::gaussLaplacianScheme
|
Foam::fv::gaussLaplacianScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLaplacianSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Basic second-order laplacian using face-gradients and Gauss' theorem.
|
Basic second-order laplacian using face-gradients and Gauss' theorem.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::laplacianScheme
|
Foam::fv::laplacianScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLaplacianSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Abstract base class for laplacian schemes.
|
Abstract base class for laplacian schemes.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::CentredFitSnGradScheme
|
Foam::CentredFitSnGradScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSnGradSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Centred fit snGrad scheme which applies an explicit correction to snGrad
|
Centred fit snGrad scheme which applies an explicit correction to snGrad
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::correctedSnGrad
|
Foam::fv::correctedSnGrad
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSnGradSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Simple central-difference snGrad scheme with non-orthogonal correction.
|
Simple central-difference snGrad scheme with non-orthogonal correction.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::faceCorrectedSnGrad
|
Foam::fv::faceCorrectedSnGrad
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSnGradSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Simple central-difference snGrad scheme with non-orthogonal correction.
|
Simple central-difference snGrad scheme with non-orthogonal correction.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::limitedSnGrad
|
Foam::fv::limitedSnGrad
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSnGradSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Run-time selected snGrad scheme with limited non-orthogonal correction.
|
Run-time selected snGrad scheme with limited non-orthogonal correction.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::orthogonalSnGrad
|
Foam::fv::orthogonalSnGrad
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSnGradSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Simple central-difference snGrad scheme without non-orthogonal correction.
|
Simple central-difference snGrad scheme without non-orthogonal correction.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::snGradScheme
|
Foam::fv::snGradScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSnGradSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Abstract base class for snGrad schemes.
|
Abstract base class for snGrad schemes.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fv::uncorrectedSnGrad
|
Foam::fv::uncorrectedSnGrad
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSnGradSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Simple central-difference snGrad scheme without non-orthogonal correction.
|
Simple central-difference snGrad scheme without non-orthogonal correction.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::GammaLimiter
|
Foam::GammaLimiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class with limiter function which returns the limiter for the
|
Class with limiter function which returns the limiter for the
|
||||||
Gamma differencing scheme based on phict obtained from the LimiterFunc
|
Gamma differencing scheme based on phict obtained from the LimiterFunc
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::LimitedLimiter
|
Foam::LimitedLimiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Foam::LimitedLimiter
|
Foam::LimitedLimiter
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::Limited01Limiter
|
Foam::Limited01Limiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
A LimitedLimiter with the range 0-1
|
A LimitedLimiter with the range 0-1
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::LimitedScheme
|
Foam::LimitedScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class to create NVD/TVD limited weighting-factors.
|
Class to create NVD/TVD limited weighting-factors.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::MUSCLLimiter
|
Foam::MUSCLLimiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class with limiter function which returns the limiter for the
|
Class with limiter function which returns the limiter for the
|
||||||
van Leer's MUSCL differencing scheme.
|
van Leer's MUSCL differencing scheme.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::MinmodLimiter
|
Foam::MinmodLimiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class with limiter function which returns the limiter for the
|
Class with limiter function which returns the limiter for the
|
||||||
Minmod differencing scheme.
|
Minmod differencing scheme.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::OSPRELimiter
|
Foam::OSPRELimiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class with limiter function which returns the limiter for the
|
Class with limiter function which returns the limiter for the
|
||||||
OSPRE differencing scheme based on r obtained from the LimiterFunc
|
OSPRE differencing scheme based on r obtained from the LimiterFunc
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::PhiLimiter
|
Foam::PhiLimiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class with limiter function which returns the limiter for the
|
Class with limiter function which returns the limiter for the
|
||||||
Phi differencing scheme.
|
Phi differencing scheme.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::PhiScheme
|
Foam::PhiScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class to create the weighting-factors based on the face-flux.
|
Class to create the weighting-factors based on the face-flux.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::QUICKLimiter
|
Foam::QUICKLimiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class with limiter function which returns the limiter for the
|
Class with limiter function which returns the limiter for the
|
||||||
quadratic-upwind differencing scheme.
|
quadratic-upwind differencing scheme.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::SFCDLimiter
|
Foam::SFCDLimiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class with limiter function which returns the limiter for the
|
Class with limiter function which returns the limiter for the
|
||||||
SFCD differencing scheme based on phict obtained from the LimiterFunc
|
SFCD differencing scheme based on phict obtained from the LimiterFunc
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::SuperBeeLimiter
|
Foam::SuperBeeLimiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class with limiter function which returns the limiter for the
|
Class with limiter function which returns the limiter for the
|
||||||
SuperBee differencing scheme based on r obtained from the LimiterFunc
|
SuperBee differencing scheme based on r obtained from the LimiterFunc
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::UMISTLimiter
|
Foam::UMISTLimiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class with limiter function which returns the limiter for the
|
Class with limiter function which returns the limiter for the
|
||||||
UMIST differencing scheme.
|
UMIST differencing scheme.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::blended
|
Foam::blended
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
linear/upwind blended differencing scheme.
|
linear/upwind blended differencing scheme.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::filteredLinearLimiter
|
Foam::filteredLinearLimiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class to generate weighting factors for the filteredLinear
|
Class to generate weighting factors for the filteredLinear
|
||||||
differencing scheme.
|
differencing scheme.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::filteredLinear2Limiter
|
Foam::filteredLinear2Limiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class to generate weighting factors for the filteredLinear2
|
Class to generate weighting factors for the filteredLinear2
|
||||||
differencing scheme.
|
differencing scheme.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::filteredLinear3Limiter
|
Foam::filteredLinear3Limiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class to generate weighting factors for the filteredLinear
|
Class to generate weighting factors for the filteredLinear
|
||||||
differencing scheme.
|
differencing scheme.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::limitWith
|
Foam::limitWith
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
limitWith differencing scheme limits the specified scheme with the
|
limitWith differencing scheme limits the specified scheme with the
|
||||||
specified limiter.
|
specified limiter.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::limitedCubicLimiter
|
Foam::limitedCubicLimiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class with limiter function which returns the limiter for the
|
Class with limiter function which returns the limiter for the
|
||||||
TVD limited centred-cubic differencing scheme based on r obtained from
|
TVD limited centred-cubic differencing scheme based on r obtained from
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::limitedLinearLimiter
|
Foam::limitedLinearLimiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class with limiter function which returns the limiter for the
|
Class with limiter function which returns the limiter for the
|
||||||
TVD limited linear differencing scheme based on r obtained from the
|
TVD limited linear differencing scheme based on r obtained from the
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::limitedSurfaceInterpolationScheme
|
Foam::limitedSurfaceInterpolationScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Abstract base class for limited surface interpolation schemes.
|
Abstract base class for limited surface interpolation schemes.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::upwind
|
Foam::upwind
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Upwind differencing scheme class.
|
Upwind differencing scheme class.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::vanAlbadaLimiter
|
Foam::vanAlbadaLimiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class with limiter function which returns the limiter for the
|
Class with limiter function which returns the limiter for the
|
||||||
vanAlbada differencing scheme based on r obtained from the LimiterFunc
|
vanAlbada differencing scheme based on r obtained from the LimiterFunc
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::vanLeerLimiter
|
Foam::vanLeerLimiter
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvLimitedSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class with limiter function which returns the limiter for the
|
Class with limiter function which returns the limiter for the
|
||||||
vanLeer differencing scheme based on r obtained from the LimiterFunc
|
vanLeer differencing scheme based on r obtained from the LimiterFunc
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::CentredFitScheme
|
Foam::CentredFitScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Centred fit surface interpolation scheme which applies an explicit
|
Centred fit surface interpolation scheme which applies an explicit
|
||||||
correction to linear.
|
correction to linear.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::CoBlended
|
Foam::CoBlended
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Two-scheme Courant number based blending differencing scheme.
|
Two-scheme Courant number based blending differencing scheme.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::LUST
|
Foam::LUST
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
LUST: Linear-upwind stabilised transport.
|
LUST: Linear-upwind stabilised transport.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::PureUpwindFitScheme
|
Foam::PureUpwindFitScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Upwind biased fit surface interpolation scheme that applies an explicit
|
Upwind biased fit surface interpolation scheme that applies an explicit
|
||||||
correction to upwind.
|
correction to upwind.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::UpwindFitScheme
|
Foam::UpwindFitScheme
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Upwind biased fit surface interpolation scheme that applies an explicit
|
Upwind biased fit surface interpolation scheme that applies an explicit
|
||||||
correction to linear.
|
correction to linear.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::cellCoBlended
|
Foam::cellCoBlended
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Two-scheme cell-based Courant number based blending differencing scheme.
|
Two-scheme cell-based Courant number based blending differencing scheme.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::clippedLinear
|
Foam::clippedLinear
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Central-differencing interpolation scheme using clipped-weights to
|
Central-differencing interpolation scheme using clipped-weights to
|
||||||
improve stability on meshes with very rapid variations in cell size.
|
improve stability on meshes with very rapid variations in cell size.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::cubic
|
Foam::cubic
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Cubic interpolation scheme class derived from linear and returns
|
Cubic interpolation scheme class derived from linear and returns
|
||||||
linear weighting factors but also applies an explicit correction.
|
linear weighting factors but also applies an explicit correction.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::downwind
|
Foam::downwind
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Downwind differencing scheme class.
|
Downwind differencing scheme class.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::fixedBlended
|
Foam::fixedBlended
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Two-scheme fixed-blending differencing scheme.
|
Two-scheme fixed-blending differencing scheme.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::harmonic
|
Foam::harmonic
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Harmonic-mean differencing scheme class.
|
Harmonic-mean differencing scheme class.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::limiterBlended
|
Foam::limiterBlended
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Blends two specified schemes using the limiter function provided by a
|
Blends two specified schemes using the limiter function provided by a
|
||||||
limitedSurfaceInterpolationScheme.
|
limitedSurfaceInterpolationScheme.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::linear
|
Foam::linear
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Central-differencing interpolation scheme class
|
Central-differencing interpolation scheme class
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::linearUpwind
|
Foam::linearUpwind
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
linearUpwind interpolation scheme class derived from upwind and returns
|
linearUpwind interpolation scheme class derived from upwind and returns
|
||||||
upwind weighting factors and also applies a gradient-based explicit
|
upwind weighting factors and also applies a gradient-based explicit
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::localBlended
|
Foam::localBlended
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Two-scheme localBlended differencing scheme.
|
Two-scheme localBlended differencing scheme.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::localMax
|
Foam::localMax
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
LocalMax-mean differencing scheme class.
|
LocalMax-mean differencing scheme class.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::localMin
|
Foam::localMin
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
LocalMin-mean differencing scheme class.
|
LocalMin-mean differencing scheme class.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::midPoint
|
Foam::midPoint
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Mid-point interpolation (weighting factors = 0.5) scheme class.
|
Mid-point interpolation (weighting factors = 0.5) scheme class.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::outletStabilised
|
Foam::outletStabilised
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Outlet-stabilised interpolation scheme which applies upwind differencing
|
Outlet-stabilised interpolation scheme which applies upwind differencing
|
||||||
to the faces of the cells adjacent to outlets.
|
to the faces of the cells adjacent to outlets.
|
||||||
@ -54,7 +57,7 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class outletStabilised Declaration
|
Class outletStabilised Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::pointLinear
|
Foam::pointLinear
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Face-point interpolation scheme class derived from linear and
|
Face-point interpolation scheme class derived from linear and
|
||||||
returns linear weighting factors but also applies an explicit correction.
|
returns linear weighting factors but also applies an explicit correction.
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::reverseLinear
|
Foam::reverseLinear
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Inversed weight central-differencing interpolation scheme class.
|
Inversed weight central-differencing interpolation scheme class.
|
||||||
|
|
||||||
@ -46,7 +49,7 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class reverseLinear Declaration
|
Class reverseLinear Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::skewCorrected
|
Foam::skewCorrected
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Skewness-corrected interpolation scheme that applies an explicit
|
Skewness-corrected interpolation scheme that applies an explicit
|
||||||
correction to given scheme.
|
correction to given scheme.
|
||||||
@ -47,7 +50,7 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class skewCorrected Declaration
|
Class skewCorrected Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::weighted
|
Foam::weighted
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpFvSurfaceInterpolationSchemes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Interpolation scheme class using weights looked-up from the objectRegistry.
|
Interpolation scheme class using weights looked-up from the objectRegistry.
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::COxidationDiffusionLimitedRate
|
Foam::COxidationDiffusionLimitedRate
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpLagrangianIntermediateSurfaceReactionSubModels
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Diffusion limited rate surface reaction model for coal parcels. Limited to:
|
Diffusion limited rate surface reaction model for coal parcels. Limited to:
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::COxidationHurtMitchell
|
Foam::COxidationHurtMitchell
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpLagrangianIntermediateSurfaceReactionSubModels
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Char oxidation model given by Hurt and Mitchell:
|
Char oxidation model given by Hurt and Mitchell:
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::COxidationIntrinsicRate
|
Foam::COxidationIntrinsicRate
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpLagrangianIntermediateSurfaceReactionSubModels
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Intrinsic char surface reaction mndel
|
Intrinsic char surface reaction mndel
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::COxidationKineticDiffusionLimitedRate
|
Foam::COxidationKineticDiffusionLimitedRate
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpLagrangianIntermediateSurfaceReactionSubModels
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Kinetic/diffusion limited rate surface reaction model for coal parcels.
|
Kinetic/diffusion limited rate surface reaction model for coal parcels.
|
||||||
Limited to:
|
Limited to:
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::COxidationMurphyShaddix
|
Foam::COxidationMurphyShaddix
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpLagrangianIntermediateSurfaceReactionSubModels
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Limited to C(s) + O2 -> CO2
|
Limited to C(s) + O2 -> CO2
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::CollidingCloud
|
Foam::CollidingCloud
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpLagrangianIntermediateClouds
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Adds coolisions to kinematic clouds
|
Adds coolisions to kinematic clouds
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::KinematicCloud
|
Foam::KinematicCloud
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpLagrangianIntermediateClouds
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Templated base class for kinematic cloud
|
Templated base class for kinematic cloud
|
||||||
|
|
||||||
|
|||||||
@ -63,6 +63,10 @@ Foam::cloudSolution::cloudSolution(const fvMesh& mesh, const dictionary& dict)
|
|||||||
{
|
{
|
||||||
Info<< "Cloud source terms will be held constant" << endl;
|
Info<< "Cloud source terms will be held constant" << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// transient default to false asks for extra massFlowRate
|
||||||
|
// in transient lagrangian
|
||||||
|
dict_.lookup("transient") >> transient_;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::MPPICCloud
|
Foam::MPPICCloud
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpLagrangianIntermediateClouds
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Adds MPPIC modelling to kinematic clouds
|
Adds MPPIC modelling to kinematic clouds
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::ReactingCloud
|
Foam::ReactingCloud
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpLagrangianIntermediateClouds
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Templated base class for reacting cloud
|
Templated base class for reacting cloud
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::ReactingMultiphaseCloud
|
Foam::ReactingMultiphaseCloud
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpLagrangianIntermediateClouds
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Templated base class for multiphase reacting cloud
|
Templated base class for multiphase reacting cloud
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,9 @@ License
|
|||||||
Class
|
Class
|
||||||
Foam::ThermoCloud
|
Foam::ThermoCloud
|
||||||
|
|
||||||
|
Group
|
||||||
|
grpLagrangianIntermediateClouds
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Templated base class for thermodynamic cloud
|
Templated base class for thermodynamic cloud
|
||||||
|
|
||||||
|
|||||||
220
src/lagrangian/intermediate/doc/finiteVolumeSchemesDoc.H
Normal file
220
src/lagrangian/intermediate/doc/finiteVolumeSchemesDoc.H
Normal file
@ -0,0 +1,220 @@
|
|||||||
|
/*---------------------------------------------------------------------------*\
|
||||||
|
========= |
|
||||||
|
\\ / 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/>.
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediate Lagrangian particle modelling
|
||||||
|
@{
|
||||||
|
This group contains Lagrangian modelling available in the 'intermediate' library
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateClouds Clouds
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediate
|
||||||
|
This group contains Lagrangian clouds
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateParcels Parcels
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediate
|
||||||
|
This group contains Lagrangian parcels
|
||||||
|
@}
|
||||||
|
|
||||||
|
// Submodels
|
||||||
|
\defgroup grpLagrangianIntermediateSubModels Submodels
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediate
|
||||||
|
This group contains Lagrangian parcel submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateKinematicSubModels Kinematic
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateSubModels
|
||||||
|
This group contains Lagrangian kinematic parcel submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateThermoSubModels Thermodynamic
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateSubModels
|
||||||
|
This group contains Lagrangian thermo parcel submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateReactingSubModels Reacting
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateSubModels
|
||||||
|
This group contains Lagrangian reacting parcel submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateReactingMultiphaseSubModels Reacting multiphase
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateSubModels
|
||||||
|
This group contains Lagrangian reacting multiphase parcel submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateMPPICSubModels MP-PIC
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateSubModels
|
||||||
|
This group contains Lagrangian MP-PIC parcel submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
|
||||||
|
// Kinematic parcel sub models
|
||||||
|
\defgroup grpLagrangianIntermediateCollisionSubModels Collision
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateKinematicSubModels
|
||||||
|
This group contains Lagrangian particle collision submodes
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateDispersionSubModels Dispersion
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateKinematicSubModels
|
||||||
|
This group contains Lagrangian particle dispersion submodes
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateInjectionSubModels Injection
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateKinematicSubModels
|
||||||
|
This group contains Lagrangian particle injection submodes
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateForceSubModels Forces
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateKinematicSubModels
|
||||||
|
This group contains Lagrangian particle force submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediatePatchInteractionSubModels Patch interaction
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateKinematicSubModels
|
||||||
|
This group contains Lagrangian particle patch interaction submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateSurfaceFilmSubModels Surface film
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateKinematicSubModels
|
||||||
|
This group contains Lagrangian particle patch interaction submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
|
||||||
|
// Thermo parcel submodels
|
||||||
|
\defgroup grpLagrangianIntermediateHeatTransferSubModels Heat transfer
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateThermoSubModels
|
||||||
|
This group contains Lagrangian particle heat transfer submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
|
||||||
|
// Reacting parcel submodels
|
||||||
|
\defgroup grpLagrangianIntermediateCompositionSubModels Composition
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateReactingSubModels
|
||||||
|
This group contains Lagrangian particle composition submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediatePhaseChangeSubModels Phase change
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateReactingSubModels
|
||||||
|
This group contains Lagrangian particle phase change submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
// Spray parcel submodels (Spray derived from Reacting)
|
||||||
|
\defgroup grpLagrangianIntermediateAtomizationSubModels Atomization
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateReactingSubModels
|
||||||
|
This group contains Lagrangian particle atomization submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateBreakupSubModels Breakup
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateReactingSubModels
|
||||||
|
This group contains Lagrangian particle breakup submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
|
||||||
|
// Reacting multiphase parcel submodels
|
||||||
|
\defgroup grpLagrangianIntermediateDevolatilisationSubModels Devolatilisation
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateReactingMultiphaseSubModels
|
||||||
|
This group contains Lagrangian particle devolatilisation submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateSurfaceReactionSubModels Surface reaction
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateReactingMultiphaseSubModels
|
||||||
|
This group contains Lagrangian particle surface reaction submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
|
||||||
|
// MP-PIC parcel submodels
|
||||||
|
\defgroup grpLagrangianIntermediateMPPICAveragingMethods Averaging
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateMPPICSubModels
|
||||||
|
This group contains Lagrangian MP-PIC particle averaging methods
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateMPPICCorrectionLimitingMethods Correction limiting
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateMPPICSubModels
|
||||||
|
This group contains Lagrangian MP-PIC particle correction limiting methods
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateMPPICDampingSubModels Damping
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateMPPICSubModels
|
||||||
|
This group contains Lagrangian MP-PIC particle damping submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateMPPICIsotropySubModels Isotropy
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateMPPICSubModels
|
||||||
|
This group contains Lagrangian MP-PIC particle isotropy submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateMPPICPackingSubModels Packing
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateMPPICSubModels
|
||||||
|
This group contains Lagrangian MP-PIC particle packing submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateMPPICParticleStressSubModels Particle stress
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateMPPICSubModels
|
||||||
|
This group contains Lagrangian MP-PIC particle stress submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
\defgroup grpLagrangianIntermediateMPPICTimeScaleSubModels Time scale
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateMPPICSubModels
|
||||||
|
This group contains Lagrangian MP-PIC particle time scale submodels
|
||||||
|
@}
|
||||||
|
|
||||||
|
|
||||||
|
// Function objects
|
||||||
|
\defgroup grpLagrangianIntermediateFunctionObjects Function objects
|
||||||
|
@{
|
||||||
|
\ingroup grpLagrangianIntermediateSubModels
|
||||||
|
This group contains Lagrangian function objects
|
||||||
|
@}
|
||||||
|
|
||||||
|
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user