Corrected typos in comments
found using cspell. Patch contributed by Timo Niemi, VTT.
This commit is contained in:
@ -25,7 +25,7 @@ Class
|
|||||||
Foam::XiEqModels::basicSubGrid
|
Foam::XiEqModels::basicSubGrid
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Basic sub-grid obstacle flame-wrinking enhancement factor model.
|
Basic sub-grid obstacle flame-wrinkling enhancement factor model.
|
||||||
Details supplied by J Puttock 2/7/06.
|
Details supplied by J Puttock 2/7/06.
|
||||||
|
|
||||||
<b> Sub-grid flame area generation </b>
|
<b> Sub-grid flame area generation </b>
|
||||||
@ -119,7 +119,7 @@ public:
|
|||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return the flame-wrinking XiEq
|
//- Return the flame-wrinkling XiEq
|
||||||
virtual tmp<volScalarField> XiEq() const;
|
virtual tmp<volScalarField> XiEq() const;
|
||||||
|
|
||||||
//- Update properties from given dictionary
|
//- Update properties from given dictionary
|
||||||
|
|||||||
@ -26,7 +26,7 @@ Class
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
|
|
||||||
Basic sub-grid obstacle flame-wrinking generation rate coefficient model.
|
Basic sub-grid obstacle flame-wrinkling generation rate coefficient model.
|
||||||
Details supplied by J Puttock 2/7/06.
|
Details supplied by J Puttock 2/7/06.
|
||||||
|
|
||||||
\f$ G_{sub} \f$ denotes the generation coefficient and it is given by
|
\f$ G_{sub} \f$ denotes the generation coefficient and it is given by
|
||||||
@ -107,7 +107,7 @@ public:
|
|||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return the flame-wrinking generation rate
|
//- Return the flame-wrinkling generation rate
|
||||||
virtual tmp<volScalarField> G() const;
|
virtual tmp<volScalarField> G() const;
|
||||||
|
|
||||||
//- Return the flame diffusivity
|
//- Return the flame diffusivity
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -129,7 +129,7 @@ void PDRkEpsilon::correct()
|
|||||||
volScalarField G(GName(), rho_*nut_*(tgradU() && dev(twoSymm(tgradU()))));
|
volScalarField G(GName(), rho_*nut_*(tgradU() && dev(twoSymm(tgradU()))));
|
||||||
tgradU.clear();
|
tgradU.clear();
|
||||||
|
|
||||||
// Update espsilon and G at the wall
|
// Update epsilon and G at the wall
|
||||||
epsilon_.boundaryFieldRef().updateCoeffs();
|
epsilon_.boundaryFieldRef().updateCoeffs();
|
||||||
|
|
||||||
// Add the blockage generation term so that it is included consistently
|
// Add the blockage generation term so that it is included consistently
|
||||||
|
|||||||
@ -95,7 +95,7 @@ public:
|
|||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return the flame-wrinking XiEq
|
//- Return the flame-wrinkling XiEq
|
||||||
virtual tmp<volScalarField> XiEq() const;
|
virtual tmp<volScalarField> XiEq() const;
|
||||||
|
|
||||||
//- Update properties from given dictionary
|
//- Update properties from given dictionary
|
||||||
|
|||||||
@ -91,7 +91,7 @@ public:
|
|||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return the flame-wrinking XiEq
|
//- Return the flame-wrinkling XiEq
|
||||||
virtual tmp<volScalarField> XiEq() const;
|
virtual tmp<volScalarField> XiEq() const;
|
||||||
|
|
||||||
//- Update properties from given dictionary
|
//- Update properties from given dictionary
|
||||||
|
|||||||
@ -109,7 +109,7 @@ public:
|
|||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return the flame-wrinking XiEq
|
//- Return the flame-wrinkling XiEq
|
||||||
virtual tmp<volScalarField> XiEq() const;
|
virtual tmp<volScalarField> XiEq() const;
|
||||||
|
|
||||||
//- Update properties from given dictionary
|
//- Update properties from given dictionary
|
||||||
|
|||||||
@ -136,7 +136,7 @@ public:
|
|||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return the flame-wrinking XiEq
|
//- Return the flame-wrinkling XiEq
|
||||||
virtual tmp<volScalarField> XiEq() const
|
virtual tmp<volScalarField> XiEq() const
|
||||||
{
|
{
|
||||||
return turbulence_.muEff();
|
return turbulence_.muEff();
|
||||||
|
|||||||
@ -90,7 +90,7 @@ public:
|
|||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return the flame-wrinking XiEq
|
//- Return the flame-wrinkling XiEq
|
||||||
virtual tmp<volScalarField> XiEq() const;
|
virtual tmp<volScalarField> XiEq() const;
|
||||||
|
|
||||||
//- Update properties from given dictionary
|
//- Update properties from given dictionary
|
||||||
|
|||||||
@ -25,7 +25,7 @@ Class
|
|||||||
Foam::XiGModels::KTS
|
Foam::XiGModels::KTS
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Simple Kolmogorov time-scale (KTS) model for the flame-wrinling generation
|
Simple Kolmogorov time-scale (KTS) model for the flame-wrinkling generation
|
||||||
rate.
|
rate.
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
@ -85,7 +85,7 @@ public:
|
|||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return the flame-wrinking generation rate
|
//- Return the flame-wrinkling generation rate
|
||||||
virtual tmp<volScalarField> G() const;
|
virtual tmp<volScalarField> G() const;
|
||||||
|
|
||||||
//- Update properties from given dictionary
|
//- Update properties from given dictionary
|
||||||
|
|||||||
@ -127,7 +127,7 @@ public:
|
|||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return the flame-wrinking generation rate
|
//- Return the flame-wrinkling generation rate
|
||||||
virtual tmp<volScalarField> G() const = 0;
|
virtual tmp<volScalarField> G() const = 0;
|
||||||
|
|
||||||
//- Return the flame diffusivity
|
//- Return the flame diffusivity
|
||||||
|
|||||||
@ -25,7 +25,7 @@ Class
|
|||||||
Foam::XiGModels::instabilityG
|
Foam::XiGModels::instabilityG
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Flame-surface instabilityG flame-wrinking generation rate coefficient model
|
Flame-surface instabilityG flame-wrinkling generation rate coefficient model
|
||||||
used in \link XiModel.H \endlink.
|
used in \link XiModel.H \endlink.
|
||||||
|
|
||||||
See Technical Report SH/RE/01R for details on the PDR modelling.
|
See Technical Report SH/RE/01R for details on the PDR modelling.
|
||||||
@ -57,7 +57,7 @@ class instabilityG
|
|||||||
{
|
{
|
||||||
// Private Data
|
// Private Data
|
||||||
|
|
||||||
//- Flame instabilityG wrinling generation rate coefficient
|
//- Flame instabilityG wrinkling generation rate coefficient
|
||||||
dimensionedScalar GIn_;
|
dimensionedScalar GIn_;
|
||||||
|
|
||||||
//- InstabilityG length-scale
|
//- InstabilityG length-scale
|
||||||
@ -94,7 +94,7 @@ public:
|
|||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return the flame-wrinking generation rate
|
//- Return the flame-wrinkling generation rate
|
||||||
virtual tmp<volScalarField> G() const;
|
virtual tmp<volScalarField> G() const;
|
||||||
|
|
||||||
//- Return the flame diffusivity
|
//- Return the flame diffusivity
|
||||||
|
|||||||
@ -49,7 +49,7 @@ Description
|
|||||||
\f$ \Xi_{coeff} \f$ is a model constant.
|
\f$ \Xi_{coeff} \f$ is a model constant.
|
||||||
|
|
||||||
\f$ \Xi^* \f$ is the total equilibrium wrinkling combining the effects
|
\f$ \Xi^* \f$ is the total equilibrium wrinkling combining the effects
|
||||||
of the flame inestability and turbulence interaction and is given by
|
of the flame instability and turbulence interaction and is given by
|
||||||
|
|
||||||
\f[
|
\f[
|
||||||
\Xi^* = \frac {R}{R - G_\eta - G_{in}}
|
\Xi^* = \frac {R}{R - G_\eta - G_{in}}
|
||||||
@ -61,7 +61,7 @@ Description
|
|||||||
interaction.
|
interaction.
|
||||||
|
|
||||||
\f$ G_{in} = \kappa \rho_{u}/\rho_{b} \f$ is the generation
|
\f$ G_{in} = \kappa \rho_{u}/\rho_{b} \f$ is the generation
|
||||||
rate due to the flame inestability.
|
rate due to the flame instability.
|
||||||
|
|
||||||
By adding the removal rates of the two effects:
|
By adding the removal rates of the two effects:
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ Description
|
|||||||
\f$ \Xi_{\eta_{eq}} \f$ is the flame wrinkling due to turbulence.
|
\f$ \Xi_{\eta_{eq}} \f$ is the flame wrinkling due to turbulence.
|
||||||
|
|
||||||
\f$ \Xi_{{in}_{eq}} \f$ is the equilibrium level of the flame wrinkling
|
\f$ \Xi_{{in}_{eq}} \f$ is the equilibrium level of the flame wrinkling
|
||||||
generated by inestability. It is a constant (default 2.5).
|
generated by instability. It is a constant (default 2.5).
|
||||||
|
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
@ -122,7 +122,7 @@ protected:
|
|||||||
const volScalarField& b_;
|
const volScalarField& b_;
|
||||||
const surfaceScalarField& phi_;
|
const surfaceScalarField& phi_;
|
||||||
|
|
||||||
//- Flame wrinking field
|
//- Flame wrinkling field
|
||||||
volScalarField Xi_;
|
volScalarField Xi_;
|
||||||
|
|
||||||
|
|
||||||
@ -199,7 +199,7 @@ public:
|
|||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return the flame-wrinking Xi
|
//- Return the flame-wrinkling Xi
|
||||||
virtual const volScalarField& Xi() const
|
virtual const volScalarField& Xi() const
|
||||||
{
|
{
|
||||||
return Xi_;
|
return Xi_;
|
||||||
@ -219,10 +219,10 @@ public:
|
|||||||
)
|
)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//- Correct the flame-wrinking Xi
|
//- Correct the flame-wrinkling Xi
|
||||||
virtual void correct() = 0;
|
virtual void correct() = 0;
|
||||||
|
|
||||||
//- Correct the flame-wrinking Xi using the given convection scheme
|
//- Correct the flame-wrinkling Xi using the given convection scheme
|
||||||
virtual void correct(const fv::convectionScheme<scalar>&)
|
virtual void correct(const fv::convectionScheme<scalar>&)
|
||||||
{
|
{
|
||||||
correct();
|
correct();
|
||||||
|
|||||||
@ -98,7 +98,7 @@ public:
|
|||||||
//- Return the flame diffusivity
|
//- Return the flame diffusivity
|
||||||
virtual tmp<volScalarField> Db() const;
|
virtual tmp<volScalarField> Db() const;
|
||||||
|
|
||||||
//- Correct the flame-wrinking Xi
|
//- Correct the flame-wrinkling Xi
|
||||||
virtual void correct();
|
virtual void correct();
|
||||||
|
|
||||||
//- Update properties from given dictionary
|
//- Update properties from given dictionary
|
||||||
|
|||||||
@ -83,7 +83,7 @@ public:
|
|||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Correct the flame-wrinking Xi
|
//- Correct the flame-wrinkling Xi
|
||||||
virtual void correct()
|
virtual void correct()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|||||||
@ -107,13 +107,13 @@ public:
|
|||||||
fields.add(Xi_);
|
fields.add(Xi_);
|
||||||
}
|
}
|
||||||
|
|
||||||
//- Correct the flame-wrinking Xi
|
//- Correct the flame-wrinkling Xi
|
||||||
virtual void correct()
|
virtual void correct()
|
||||||
{
|
{
|
||||||
NotImplemented;
|
NotImplemented;
|
||||||
}
|
}
|
||||||
|
|
||||||
//- Correct the flame-wrinking Xi using the given convection scheme
|
//- Correct the flame-wrinkling Xi using the given convection scheme
|
||||||
virtual void correct(const fv::convectionScheme<scalar>& mvConvection);
|
virtual void correct(const fv::convectionScheme<scalar>& mvConvection);
|
||||||
|
|
||||||
//- Update properties from given dictionary
|
//- Update properties from given dictionary
|
||||||
|
|||||||
@ -30,7 +30,7 @@ Description
|
|||||||
Seven parameters are specified in terms of polynomial functions of
|
Seven parameters are specified in terms of polynomial functions of
|
||||||
stoichiometry. Two polynomials are fitted, covering different parts of the
|
stoichiometry. Two polynomials are fitted, covering different parts of the
|
||||||
flammable range. If the mixture is outside the fitted range, linear
|
flammable range. If the mixture is outside the fitted range, linear
|
||||||
interpolation is used between the extreme of the polynomio and the upper or
|
interpolation is used between the extreme of the polynomial and the upper or
|
||||||
lower flammable limit with the Markstein number constant.
|
lower flammable limit with the Markstein number constant.
|
||||||
|
|
||||||
Variations of pressure and temperature from the reference values are taken
|
Variations of pressure and temperature from the reference values are taken
|
||||||
@ -43,7 +43,7 @@ Description
|
|||||||
|
|
||||||
where:
|
where:
|
||||||
|
|
||||||
\f$ a_{i} \f$ are the polinomial coefficients.
|
\f$ a_{i} \f$ are the polynomial coefficients.
|
||||||
|
|
||||||
\f$ pexp \f$ and \f$ texp \f$ are the pressure and temperature factors
|
\f$ pexp \f$ and \f$ texp \f$ are the pressure and temperature factors
|
||||||
respectively.
|
respectively.
|
||||||
@ -109,10 +109,10 @@ class SCOPE
|
|||||||
|
|
||||||
dictionary coeffsDict_;
|
dictionary coeffsDict_;
|
||||||
|
|
||||||
//- Lower flamability limit
|
//- Lower flammability limit
|
||||||
scalar LFL_;
|
scalar LFL_;
|
||||||
|
|
||||||
//- Upper flamability limit
|
//- Upper flammability limit
|
||||||
scalar UFL_;
|
scalar UFL_;
|
||||||
|
|
||||||
//- Lower Su polynomial
|
//- Lower Su polynomial
|
||||||
|
|||||||
@ -114,7 +114,7 @@ public:
|
|||||||
return relativePermeability_;
|
return relativePermeability_;
|
||||||
}
|
}
|
||||||
|
|
||||||
//- Return remenence
|
//- Return remanence
|
||||||
inline const dimensionedScalar& Mr() const
|
inline const dimensionedScalar& Mr() const
|
||||||
{
|
{
|
||||||
return remanence_;
|
return remanence_;
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
Info<< "Total cylinder mass: " << fvc::domainIntegrate(rho).value() << endl;
|
Info<< "Total cylinder mass: " << fvc::domainIntegrate(rho).value() << endl;
|
||||||
//Info<< "Total fuel mass: "
|
//Info<< "Total fuel mass: "
|
||||||
// << fvc::domainIntegrate(rho*compostion.ft()).value() << endl;
|
// << fvc::domainIntegrate(rho*composition.ft()).value() << endl;
|
||||||
|
|
||||||
OFstream logSummaryFile
|
OFstream logSummaryFile
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -134,7 +134,7 @@ public:
|
|||||||
// ********************************** NB! *****************************
|
// ********************************** NB! *****************************
|
||||||
// for numerical reasons alpha1 and alpha2 has been
|
// for numerical reasons alpha1 and alpha2 has been
|
||||||
// extracted from the dragFunction K,
|
// extracted from the dragFunction K,
|
||||||
// so you MUST divide K by alpha1*alpha2 when implemnting the drag
|
// so you MUST divide K by alpha1*alpha2 when implementing the drag
|
||||||
// function
|
// function
|
||||||
// ********************************** NB! *****************************
|
// ********************************** NB! *****************************
|
||||||
virtual tmp<volScalarField> K(const volScalarField& Ur) const = 0;
|
virtual tmp<volScalarField> K(const volScalarField& Ur) const = 0;
|
||||||
|
|||||||
@ -26,7 +26,7 @@ Class
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
A thermal wall function for simulation of subcooled nucleate wall boiling
|
A thermal wall function for simulation of subcooled nucleate wall boiling
|
||||||
with runtime selctable submodels for:
|
with runtime selectable submodels for:
|
||||||
- wall heat flux partitioning model
|
- wall heat flux partitioning model
|
||||||
- nucleation site density
|
- nucleation site density
|
||||||
- bubble departure frequency
|
- bubble departure frequency
|
||||||
@ -86,7 +86,7 @@ Usage
|
|||||||
departureFreqModel| | yes |
|
departureFreqModel| | yes |
|
||||||
\endtable
|
\endtable
|
||||||
|
|
||||||
NOTE: Runtime selectabale submodels may require model specific entries
|
NOTE: Runtime selectable submodels may require model specific entries
|
||||||
|
|
||||||
Example usage:
|
Example usage:
|
||||||
\verbatim
|
\verbatim
|
||||||
|
|||||||
@ -29,7 +29,7 @@ Description
|
|||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
departureDiameterModel.C
|
departureDiameterModel.C
|
||||||
newdepartureDiameterModel.C
|
newDepartureDiameterModel.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -29,7 +29,7 @@ Description
|
|||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
departureFrequencyModel.C
|
departureFrequencyModel.C
|
||||||
newdepartureFrequencyModel.C
|
newDepartureFrequencyModel.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -29,7 +29,7 @@ Description
|
|||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
nucleationSiteModel.C
|
nucleationSiteModel.C
|
||||||
newnucleationSiteModel.C
|
newNucleationSiteModel.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -29,7 +29,7 @@ Description
|
|||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
partitioningModel.C
|
partitioningModel.C
|
||||||
newpartitioningModel.C
|
newPartitioningModel.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -146,7 +146,7 @@ protected:
|
|||||||
//- Abscissa type
|
//- Abscissa type
|
||||||
coordinateType coordinateType_;
|
coordinateType coordinateType_;
|
||||||
|
|
||||||
//- List of volume-averaged number concentations
|
//- List of volume-averaged number concentrations
|
||||||
scalarField N_;
|
scalarField N_;
|
||||||
|
|
||||||
//- List of volume-averaged surface areas
|
//- List of volume-averaged surface areas
|
||||||
@ -167,7 +167,7 @@ protected:
|
|||||||
//- Highest moment order
|
//- Highest moment order
|
||||||
label maxOrder_;
|
label maxOrder_;
|
||||||
|
|
||||||
//- Bins (respresentative volume/area/diameter)
|
//- Bins (representative volume/area/diameter)
|
||||||
pointField bins_;
|
pointField bins_;
|
||||||
|
|
||||||
//- Bin component used according to chosen coordinate type
|
//- Bin component used according to chosen coordinate type
|
||||||
|
|||||||
@ -75,10 +75,10 @@ class nonRandomTwoLiquid
|
|||||||
//- Name of species 2
|
//- Name of species 2
|
||||||
word species2Name_;
|
word species2Name_;
|
||||||
|
|
||||||
//- Indiex of species 1 within this thermo
|
//- Index of species 1 within this thermo
|
||||||
label species1Index_;
|
label species1Index_;
|
||||||
|
|
||||||
//- Indiex of species 2 within this thermo
|
//- Index of species 2 within this thermo
|
||||||
label species2Index_;
|
label species2Index_;
|
||||||
|
|
||||||
//- Non-randomness constant parameter for species 1
|
//- Non-randomness constant parameter for species 1
|
||||||
|
|||||||
@ -71,13 +71,13 @@ class linearTsub
|
|||||||
//- Reference diameter for low subcooling temperature
|
//- Reference diameter for low subcooling temperature
|
||||||
dimensionedScalar d2_;
|
dimensionedScalar d2_;
|
||||||
|
|
||||||
//- Subcooling temperature where low subcooling diamter is reached
|
//- Subcooling temperature where low subcooling diameter is reached
|
||||||
dimensionedScalar Tsub2_;
|
dimensionedScalar Tsub2_;
|
||||||
|
|
||||||
//- Reference diameter for high subcooling temperature
|
//- Reference diameter for high subcooling temperature
|
||||||
dimensionedScalar d1_;
|
dimensionedScalar d1_;
|
||||||
|
|
||||||
//- Subcooling temperature where high subcooling diamter is reached
|
//- Subcooling temperature where high subcooling diameter is reached
|
||||||
dimensionedScalar Tsub1_;
|
dimensionedScalar Tsub1_;
|
||||||
|
|
||||||
//- Diameter field
|
//- Diameter field
|
||||||
|
|||||||
@ -30,7 +30,6 @@ Description
|
|||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
sinteringModel.C
|
sinteringModel.C
|
||||||
newsinteringModel.C
|
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -30,7 +30,7 @@ Description
|
|||||||
quite restrictive as it also has to support an equivalent stationary model,
|
quite restrictive as it also has to support an equivalent stationary model,
|
||||||
which does not store motion fields or a turbulence model.
|
which does not store motion fields or a turbulence model.
|
||||||
|
|
||||||
Possible future extensions include separating the turbulent fuctionality
|
Possible future extensions include separating the turbulent functionality
|
||||||
into another layer.
|
into another layer.
|
||||||
|
|
||||||
See also
|
See also
|
||||||
|
|||||||
@ -27,7 +27,7 @@ Class
|
|||||||
Description
|
Description
|
||||||
Class which represents a stationary (and therefore probably solid) phase.
|
Class which represents a stationary (and therefore probably solid) phase.
|
||||||
Generates, but does not store, zero velocity and flux field and turbulent
|
Generates, but does not store, zero velocity and flux field and turbulent
|
||||||
qauantities. Throws an error when non-const access is requested to the
|
quantities. Throws an error when non-const access is requested to the
|
||||||
motion fields or when the momentum equation is requested. Usage must
|
motion fields or when the momentum equation is requested. Usage must
|
||||||
must protect against such calls.
|
must protect against such calls.
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -64,7 +64,7 @@ void Foam::sammMesh::calcPointCells() const
|
|||||||
// the supporting point labels, we need to work based on the cell faces.
|
// the supporting point labels, we need to work based on the cell faces.
|
||||||
// This is because some of the faces for meshes with arbitrary interfaces
|
// This is because some of the faces for meshes with arbitrary interfaces
|
||||||
// do not come from the cell shape, but from the slaves of the coupled
|
// do not come from the cell shape, but from the slaves of the coupled
|
||||||
// match. It is also adventageous to remove the duplicates from the
|
// match. It is also advantageous to remove the duplicates from the
|
||||||
// point-cell addressing, because this removes a lot of waste later.
|
// point-cell addressing, because this removes a lot of waste later.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -37,7 +37,7 @@ void Foam::sammMesh::addRegularCell
|
|||||||
const label nCreatedCells
|
const label nCreatedCells
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
// Momory management
|
// Memory management
|
||||||
static labelList labelsHex(8);
|
static labelList labelsHex(8);
|
||||||
static labelList labelsWedge(7);
|
static labelList labelsWedge(7);
|
||||||
static labelList labelsPrism(6);
|
static labelList labelsPrism(6);
|
||||||
|
|||||||
@ -27,7 +27,7 @@ Class
|
|||||||
Description
|
Description
|
||||||
A messy mesh class which supports the possibility of creating a shapeMesh
|
A messy mesh class which supports the possibility of creating a shapeMesh
|
||||||
for regular Samm meshes (no arbitrary interfaces or collapsed SAMM cells).
|
for regular Samm meshes (no arbitrary interfaces or collapsed SAMM cells).
|
||||||
If any of these special feateres exist, the mesh is created as polyMesh
|
If any of these special features exist, the mesh is created as polyMesh
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
sammMesh.C
|
sammMesh.C
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -64,7 +64,7 @@ void Foam::starMesh::calcPointCells() const
|
|||||||
// the supporting point labels, we need to work based on the cell faces.
|
// the supporting point labels, we need to work based on the cell faces.
|
||||||
// This is because some of the faces for meshes with arbitrary interfaces
|
// This is because some of the faces for meshes with arbitrary interfaces
|
||||||
// do not come from the cell shape, but from the slaves of the coupled
|
// do not come from the cell shape, but from the slaves of the coupled
|
||||||
// match. It is also adventageous to remove the duplicates from the
|
// match. It is also advantageous to remove the duplicates from the
|
||||||
// point-cell addressing, because this removes a lot of waste later.
|
// point-cell addressing, because this removes a lot of waste later.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,7 +31,7 @@ Description
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
// Specialist version of face comparison to deal with
|
// Specialist version of face comparison to deal with
|
||||||
// PROSTAR boundary format idiosyncracies
|
// PROSTAR boundary format idiosyncrasies
|
||||||
bool Foam::starMesh::starEqualFace
|
bool Foam::starMesh::starEqualFace
|
||||||
(
|
(
|
||||||
const face& boundaryFace,
|
const face& boundaryFace,
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -993,7 +993,7 @@ void Foam::starMesh::createCoupleMatches()
|
|||||||
// list of edges to consider. Make sure all edges are
|
// list of edges to consider. Make sure all edges are
|
||||||
// added such that the current point is their start.
|
// added such that the current point is their start.
|
||||||
// Loop through all edges to consider and find the one
|
// Loop through all edges to consider and find the one
|
||||||
// which produces the buggest right-hand-turn. This
|
// which produces the biggest right-hand-turn. This
|
||||||
// is the next edge to be added to the face. If its
|
// is the next edge to be added to the face. If its
|
||||||
// end is the same as the starting point, the face is
|
// end is the same as the starting point, the face is
|
||||||
// complete; resize it to the number of active points
|
// complete; resize it to the number of active points
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -37,7 +37,7 @@ void Foam::starMesh::addRegularCell
|
|||||||
const label nCreatedCells
|
const label nCreatedCells
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
// Momory management
|
// Memory management
|
||||||
static labelList labelsHex(8);
|
static labelList labelsHex(8);
|
||||||
static labelList labelsPrism(6);
|
static labelList labelsPrism(6);
|
||||||
static labelList labelsPyramid(5);
|
static labelList labelsPyramid(5);
|
||||||
|
|||||||
@ -27,7 +27,7 @@ Class
|
|||||||
Description
|
Description
|
||||||
A messy mesh class which supports the possibility of creating a shapeMesh
|
A messy mesh class which supports the possibility of creating a shapeMesh
|
||||||
for regular Star meshes (no arbitrary interfaces or collapsed SAMM cells).
|
for regular Star meshes (no arbitrary interfaces or collapsed SAMM cells).
|
||||||
If any of these special feateres exist, the mesh is created as polyMesh
|
If any of these special features exist, the mesh is created as polyMesh
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
calcPointCells.C
|
calcPointCells.C
|
||||||
|
|||||||
@ -709,7 +709,7 @@ void countExtrudePatches
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Synchronise decistion. Actual numbers are not important, just make
|
// Synchronise decision. Actual numbers are not important, just make
|
||||||
// sure that they're > 0 on all processors.
|
// sure that they're > 0 on all processors.
|
||||||
Pstream::listCombineGather(zoneSidePatch, plusEqOp<label>());
|
Pstream::listCombineGather(zoneSidePatch, plusEqOp<label>());
|
||||||
Pstream::listCombineScatter(zoneSidePatch);
|
Pstream::listCombineScatter(zoneSidePatch);
|
||||||
@ -2381,7 +2381,7 @@ int main(int argc, char *argv[])
|
|||||||
meshMod
|
meshMod
|
||||||
);
|
);
|
||||||
|
|
||||||
// Enforce actual point posititions according to extrudeModel (model)
|
// Enforce actual point positions according to extrudeModel (model)
|
||||||
// (extruder.setRefinement only does fixed expansionRatio)
|
// (extruder.setRefinement only does fixed expansionRatio)
|
||||||
// The regionPoints and nLayers are looped in the same way as in
|
// The regionPoints and nLayers are looped in the same way as in
|
||||||
// createShellMesh
|
// createShellMesh
|
||||||
|
|||||||
@ -69,8 +69,8 @@ public:
|
|||||||
|
|
||||||
// Controls
|
// Controls
|
||||||
|
|
||||||
//- Minimum cell size below which protusions through the surface are
|
//- Minimum cell size below which protrusions through the surface
|
||||||
// not split
|
// are not split
|
||||||
scalar minCellSize_;
|
scalar minCellSize_;
|
||||||
|
|
||||||
//- Square of minCellSize
|
//- Square of minCellSize
|
||||||
@ -114,14 +114,14 @@ public:
|
|||||||
//- Square of span
|
//- Square of span
|
||||||
scalar span2_;
|
scalar span2_;
|
||||||
|
|
||||||
//- Minimum edge-length of the cell size below which protusions
|
//- Minimum edge-length of the cell size below which protrusions
|
||||||
// through the surface are not split
|
// through the surface are not split
|
||||||
scalar minEdgeLen_;
|
scalar minEdgeLen_;
|
||||||
|
|
||||||
//- Square of minEdgeLen
|
//- Square of minEdgeLen
|
||||||
scalar minEdgeLen2_;
|
scalar minEdgeLen2_;
|
||||||
|
|
||||||
//- Maximum notch size below which protusions into the surface are
|
//- Maximum notch size below which protrusions into the surface are
|
||||||
// not filled
|
// not filled
|
||||||
scalar maxNotchLen_;
|
scalar maxNotchLen_;
|
||||||
|
|
||||||
|
|||||||
@ -456,7 +456,7 @@ private:
|
|||||||
|
|
||||||
//- Return false if the line is entirely outside the current processor
|
//- Return false if the line is entirely outside the current processor
|
||||||
// domain, true is either point is inside, or the processor domain
|
// domain, true is either point is inside, or the processor domain
|
||||||
// bounadry is intersected (i.e. the points are box outside but the
|
// boundary is intersected (i.e. the points are box outside but the
|
||||||
// line cuts. The points will be moved onto the box where they
|
// line cuts. The points will be moved onto the box where they
|
||||||
// intersect.
|
// intersect.
|
||||||
bool clipLineToProc
|
bool clipLineToProc
|
||||||
|
|||||||
@ -636,7 +636,7 @@ bool Foam::autoDensity::fillBox
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Using the sampledPoints as the first test locations as they are
|
// Using the sampledPoints as the first test locations as they are
|
||||||
// randomly shuffled, but unfiormly sampling space and have wellInside
|
// randomly shuffled, but uniformly sampling space and have wellInside
|
||||||
// and size data already
|
// and size data already
|
||||||
|
|
||||||
maxDensity = 1/pow3(max(minCellSize, small));
|
maxDensity = 1/pow3(max(minCellSize, small));
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -773,7 +773,7 @@ void Foam::CV2D::newPoints()
|
|||||||
if (!is_infinite(ec)) break;
|
if (!is_infinite(ec)) break;
|
||||||
} while (++ec != ecStart);
|
} while (++ec != ecStart);
|
||||||
|
|
||||||
// Store the start-end of the first non-infinte edge
|
// Store the start-end of the first non-infinite edge
|
||||||
point2D de0 = toPoint2D(circumcenter(ec->first));
|
point2D de0 = toPoint2D(circumcenter(ec->first));
|
||||||
|
|
||||||
// Keep track of the maximum edge length^2
|
// Keep track of the maximum edge length^2
|
||||||
|
|||||||
@ -68,7 +68,7 @@ Description
|
|||||||
randomiseInitialGrid yes;
|
randomiseInitialGrid yes;
|
||||||
|
|
||||||
// Perturbation fraction, 1 = cell-size.
|
// Perturbation fraction, 1 = cell-size.
|
||||||
randomPurturbation 0.1;
|
randomPerturbation 0.1;
|
||||||
|
|
||||||
// Number of relaxation iterations.
|
// Number of relaxation iterations.
|
||||||
nIterations 5;
|
nIterations 5;
|
||||||
|
|||||||
@ -169,14 +169,14 @@ public:
|
|||||||
|
|
||||||
// Friend Functions
|
// Friend Functions
|
||||||
|
|
||||||
//- Do the two given vertices consitute a boundary point-pair
|
//- Do the two given vertices constitute a boundary point-pair
|
||||||
friend bool pointPair <Gt, Vb>
|
friend bool pointPair <Gt, Vb>
|
||||||
(
|
(
|
||||||
const indexedVertex<Gt, Vb>& v0,
|
const indexedVertex<Gt, Vb>& v0,
|
||||||
const indexedVertex<Gt, Vb>& v1
|
const indexedVertex<Gt, Vb>& v1
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Do the three given vertices consitute a boundary triangle
|
//- Do the three given vertices constitute a boundary triangle
|
||||||
friend bool boundaryTriangle <Gt, Vb>
|
friend bool boundaryTriangle <Gt, Vb>
|
||||||
(
|
(
|
||||||
const indexedVertex<Gt, Vb>& v0,
|
const indexedVertex<Gt, Vb>& v0,
|
||||||
@ -184,7 +184,7 @@ public:
|
|||||||
const indexedVertex<Gt, Vb>& v2
|
const indexedVertex<Gt, Vb>& v2
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Do the three given vertices consitute an outside triangle
|
//- Do the three given vertices constitute an outside triangle
|
||||||
friend bool outsideTriangle <Gt, Vb>
|
friend bool outsideTriangle <Gt, Vb>
|
||||||
(
|
(
|
||||||
const indexedVertex<Gt, Vb>& v0,
|
const indexedVertex<Gt, Vb>& v0,
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -1142,7 +1142,7 @@ void Foam::meshDualiser::setRefinement
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
// Detect whether different dual cells on either side of a face. This
|
// Detect whether different dual cells on either side of a face. This
|
||||||
// would neccesitate having a dual face built from the face and thus a
|
// would necessitate having a dual face built from the face and thus a
|
||||||
// dual point at the face centre.
|
// dual point at the face centre.
|
||||||
for (label facei = 0; facei < mesh_.nInternalFaces(); facei++)
|
for (label facei = 0; facei < mesh_.nInternalFaces(); facei++)
|
||||||
{
|
{
|
||||||
@ -1189,7 +1189,7 @@ void Foam::meshDualiser::setRefinement
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Detect whether different dual cells on either side of an edge. This
|
// Detect whether different dual cells on either side of an edge. This
|
||||||
// would neccesitate having a dual face built perpendicular to the edge
|
// would necessitate having a dual face built perpendicular to the edge
|
||||||
// and thus a dual point at the mid of the edge.
|
// and thus a dual point at the mid of the edge.
|
||||||
// Note: not really true - the face can be built without the edge centre!
|
// Note: not really true - the face can be built without the edge centre!
|
||||||
const labelListList& edgeCells = mesh_.edgeCells();
|
const labelListList& edgeCells = mesh_.edgeCells();
|
||||||
|
|||||||
@ -185,7 +185,7 @@ class vtkPVblockMesh
|
|||||||
//- Selected curved edges
|
//- Selected curved edges
|
||||||
boolList edgeStatus_;
|
boolList edgeStatus_;
|
||||||
|
|
||||||
//- First instance and size of bleckMesh blocks
|
//- First instance and size of blockMesh blocks
|
||||||
// used to index into blockStatus_
|
// used to index into blockStatus_
|
||||||
arrayRange arrayRangeBlocks_;
|
arrayRange arrayRangeBlocks_;
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -56,7 +56,7 @@ class tabulatedWallFunction
|
|||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
// Proteced data
|
// Protected data
|
||||||
|
|
||||||
//- Main dictionary
|
//- Main dictionary
|
||||||
const dictionary dict_;
|
const dictionary dict_;
|
||||||
|
|||||||
@ -446,7 +446,7 @@ void Foam::chemkinReader::addReaction
|
|||||||
|
|
||||||
|
|
||||||
// Calculate the unit conversion factor for the A coefficient
|
// Calculate the unit conversion factor for the A coefficient
|
||||||
// for the change from mol/cm^3 to kmol/m^3 concentraction units
|
// for the change from mol/cm^3 to kmol/m^3 concentration units
|
||||||
const scalar concFactor = 0.001;
|
const scalar concFactor = 0.001;
|
||||||
scalar sumExp = 0.0;
|
scalar sumExp = 0.0;
|
||||||
forAll(lhs, i)
|
forAll(lhs, i)
|
||||||
|
|||||||
@ -118,7 +118,7 @@ surfaceConformation
|
|||||||
|
|
||||||
// Maximum allowable protrusion through the surface before
|
// Maximum allowable protrusion through the surface before
|
||||||
// conformation points are added - fraction of the local target
|
// conformation points are added - fraction of the local target
|
||||||
// cell size. These small protusions are (hopefully) done by mesh filtering
|
// cell size. These small protrusions are (hopefully) done by mesh filtering
|
||||||
// instead.
|
// instead.
|
||||||
maxSurfaceProtrusionCoeff 0.1;
|
maxSurfaceProtrusionCoeff 0.1;
|
||||||
|
|
||||||
|
|||||||
@ -76,7 +76,7 @@ protected:
|
|||||||
|
|
||||||
// Protected Member Functions
|
// Protected Member Functions
|
||||||
|
|
||||||
//- Return the nomalized scalar error
|
//- Return the normalized scalar error
|
||||||
scalar normalizeError
|
scalar normalizeError
|
||||||
(
|
(
|
||||||
const scalarField& y0,
|
const scalarField& y0,
|
||||||
|
|||||||
@ -55,7 +55,7 @@ class adaptiveSolver
|
|||||||
//- Cache for dydx at the initial time
|
//- Cache for dydx at the initial time
|
||||||
mutable scalarField dydx0_;
|
mutable scalarField dydx0_;
|
||||||
|
|
||||||
//- Temprorary for the test-step solution
|
//- Temporary for the test-step solution
|
||||||
mutable scalarField yTemp_;
|
mutable scalarField yTemp_;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -128,7 +128,7 @@ private:
|
|||||||
|
|
||||||
// Static data
|
// Static data
|
||||||
|
|
||||||
//- Relative peturbation tolerance. Determines when point is
|
//- Relative perturbation tolerance. Determines when point is
|
||||||
// considered to be close to face/edge of bb of node.
|
// considered to be close to face/edge of bb of node.
|
||||||
// The tolerance is relative to the bounding box of the smallest
|
// The tolerance is relative to the bounding box of the smallest
|
||||||
// node.
|
// node.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -21,7 +21,7 @@ License
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
InNamspace
|
InNamespace
|
||||||
Foam
|
Foam
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|||||||
@ -346,7 +346,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
//- Return physical processor number (i.e. processor number in
|
//- Return physical processor number (i.e. processor number in
|
||||||
// worldComm) given communicator and procssor
|
// worldComm) given communicator and processor
|
||||||
static int baseProcNo(const label myComm, const int procID);
|
static int baseProcNo(const label myComm, const int procID);
|
||||||
|
|
||||||
//- Return processor number in communicator (given physical processor
|
//- Return processor number in communicator (given physical processor
|
||||||
|
|||||||
@ -1119,7 +1119,7 @@ Foam::label Foam::fileOperation::splitProcessorPath
|
|||||||
|
|
||||||
if (f.size() && f[0] == 's')
|
if (f.size() && f[0] == 's')
|
||||||
{
|
{
|
||||||
// "processsorsNNN"
|
// "processorsNNN"
|
||||||
|
|
||||||
f = f.substr(1);
|
f = f.substr(1);
|
||||||
|
|
||||||
|
|||||||
@ -312,7 +312,7 @@ public:
|
|||||||
// ) const = 0;
|
// ) const = 0;
|
||||||
|
|
||||||
|
|
||||||
// (reg)IOobject functinality
|
// (reg)IOobject functionality
|
||||||
|
|
||||||
//- Generate disk file name for object. Opposite of filePath.
|
//- Generate disk file name for object. Opposite of filePath.
|
||||||
// Optional wanted typeName.
|
// Optional wanted typeName.
|
||||||
@ -494,7 +494,7 @@ public:
|
|||||||
virtual void flush() const;
|
virtual void flush() const;
|
||||||
|
|
||||||
//- Generate path (like io.path) from root+casename with any
|
//- Generate path (like io.path) from root+casename with any
|
||||||
// 'processorXXX' replaced by procDir (usually 'processsors')
|
// 'processorXXX' replaced by procDir (usually 'processors')
|
||||||
fileName processorsCasePath
|
fileName processorsCasePath
|
||||||
(
|
(
|
||||||
const IOobject&,
|
const IOobject&,
|
||||||
@ -502,7 +502,7 @@ public:
|
|||||||
) const;
|
) const;
|
||||||
|
|
||||||
//- Generate path (like io.path) with provided instance and any
|
//- Generate path (like io.path) with provided instance and any
|
||||||
// 'processorXXX' replaced by procDir (usually 'processsors')
|
// 'processorXXX' replaced by procDir (usually 'processors')
|
||||||
fileName processorsPath
|
fileName processorsPath
|
||||||
(
|
(
|
||||||
const IOobject&,
|
const IOobject&,
|
||||||
|
|||||||
@ -641,7 +641,7 @@ public:
|
|||||||
// ) const;
|
// ) const;
|
||||||
|
|
||||||
|
|
||||||
// (reg)IOobject functinality
|
// (reg)IOobject functionality
|
||||||
|
|
||||||
//- Search for an object. checkGlobal : also check undecomposed case
|
//- Search for an object. checkGlobal : also check undecomposed case
|
||||||
virtual fileName filePath
|
virtual fileName filePath
|
||||||
|
|||||||
@ -108,7 +108,7 @@ Foam::fileName Foam::fileOperations::uncollatedFileOperation::filePathInfo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if parallel "procesors" directory
|
// Check if parallel "processors" directory
|
||||||
if (io.time().processorCase())
|
if (io.time().processorCase())
|
||||||
{
|
{
|
||||||
tmpNrc<dirIndexList> pDirs
|
tmpNrc<dirIndexList> pDirs
|
||||||
|
|||||||
@ -207,7 +207,7 @@ public:
|
|||||||
// ) const;
|
// ) const;
|
||||||
|
|
||||||
|
|
||||||
// (reg)IOobject functinality
|
// (reg)IOobject functionality
|
||||||
|
|
||||||
//- Search for an object. checkGlobal : also check undecomposed case
|
//- Search for an object. checkGlobal : also check undecomposed case
|
||||||
virtual fileName filePath
|
virtual fileName filePath
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -235,7 +235,7 @@ void Foam::LduMatrix<Type, DType, LUType>::residual
|
|||||||
|
|
||||||
// Parallel boundary initialisation.
|
// Parallel boundary initialisation.
|
||||||
// Note: there is a change of sign in the coupled
|
// Note: there is a change of sign in the coupled
|
||||||
// interface update to add the contibution to the r.h.s.
|
// interface update to add the contribution to the r.h.s.
|
||||||
|
|
||||||
FieldField<Field, LUType> mBouCoeffs(interfacesUpper_.size());
|
FieldField<Field, LUType> mBouCoeffs(interfacesUpper_.size());
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -89,7 +89,7 @@ void Foam::TGaussSeidelSmoother<Type, DType, LUType>::smooth
|
|||||||
// Parallel boundary initialisation. The parallel boundary is treated
|
// Parallel boundary initialisation. The parallel boundary is treated
|
||||||
// as an effective jacobi interface in the boundary.
|
// as an effective jacobi interface in the boundary.
|
||||||
// Note: there is a change of sign in the coupled
|
// Note: there is a change of sign in the coupled
|
||||||
// interface update to add the contibution to the r.h.s.
|
// interface update to add the contribution to the r.h.s.
|
||||||
|
|
||||||
FieldField<Field, LUType> mBouCoeffs(matrix_.interfacesUpper().size());
|
FieldField<Field, LUType> mBouCoeffs(matrix_.interfacesUpper().size());
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -136,7 +136,7 @@ bool Foam::eagerGAMGProcAgglomeration::agglomerate()
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
// Use procesor agglomeration maps to do the actual
|
// Use processor agglomeration maps to do the actual
|
||||||
// collecting.
|
// collecting.
|
||||||
if (Pstream::myProcNo(levelComm) != -1)
|
if (Pstream::myProcNo(levelComm) != -1)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -183,7 +183,7 @@ bool Foam::manualGAMGProcAgglomeration::agglomerate()
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
// Use procesor agglomeration maps to do the actual
|
// Use processor agglomeration maps to do the actual
|
||||||
// collecting
|
// collecting
|
||||||
if (Pstream::myProcNo(levelMesh.comm()) != -1)
|
if (Pstream::myProcNo(levelMesh.comm()) != -1)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -123,7 +123,7 @@ bool Foam::masterCoarsestGAMGProcAgglomeration::agglomerate()
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
// Use procesor agglomeration maps to do the actual collecting.
|
// Use processor agglomeration maps to do the actual collecting.
|
||||||
if (Pstream::myProcNo(levelComm) != -1)
|
if (Pstream::myProcNo(levelComm) != -1)
|
||||||
{
|
{
|
||||||
GAMGProcAgglomeration::agglomerate
|
GAMGProcAgglomeration::agglomerate
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -303,7 +303,7 @@ bool Foam::procFacesGAMGProcAgglomeration::agglomerate()
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// Use procesor agglomeration maps to do the actual
|
// Use processor agglomeration maps to do the actual
|
||||||
// collecting.
|
// collecting.
|
||||||
GAMGProcAgglomeration::agglomerate
|
GAMGProcAgglomeration::agglomerate
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -384,7 +384,7 @@ Foam::lduPrimitiveMesh::lduPrimitiveMesh
|
|||||||
const lduInterfacePtrsList interfaces =
|
const lduInterfacePtrsList interfaces =
|
||||||
mesh(myMesh, otherMeshes, procMeshI).interfaces();
|
mesh(myMesh, otherMeshes, procMeshI).interfaces();
|
||||||
|
|
||||||
// Inialise all boundaries as merged
|
// Initialise all boundaries as merged
|
||||||
boundaryMap[procMeshI].setSize(interfaces.size(), -1);
|
boundaryMap[procMeshI].setSize(interfaces.size(), -1);
|
||||||
boundaryFaceMap[procMeshI].setSize(interfaces.size());
|
boundaryFaceMap[procMeshI].setSize(interfaces.size());
|
||||||
|
|
||||||
|
|||||||
@ -135,7 +135,7 @@ public:
|
|||||||
//- Return interpolated addressing
|
//- Return interpolated addressing
|
||||||
virtual const labelListList& addressing() const;
|
virtual const labelListList& addressing() const;
|
||||||
|
|
||||||
//- Return interpolaion weights
|
//- Return interpolation weights
|
||||||
virtual const scalarListList& weights() const;
|
virtual const scalarListList& weights() const;
|
||||||
|
|
||||||
//- Are there any inserted points
|
//- Are there any inserted points
|
||||||
|
|||||||
@ -143,7 +143,7 @@ public:
|
|||||||
//- Return interpolated addressing
|
//- Return interpolated addressing
|
||||||
virtual const labelListList& addressing() const;
|
virtual const labelListList& addressing() const;
|
||||||
|
|
||||||
//- Return interpolaion weights
|
//- Return interpolation weights
|
||||||
virtual const scalarListList& weights() const;
|
virtual const scalarListList& weights() const;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -134,7 +134,7 @@ public:
|
|||||||
//- Return interpolated addressing
|
//- Return interpolated addressing
|
||||||
virtual const labelListList& addressing() const;
|
virtual const labelListList& addressing() const;
|
||||||
|
|
||||||
//- Return interpolaion weights
|
//- Return interpolation weights
|
||||||
virtual const scalarListList& weights() const;
|
virtual const scalarListList& weights() const;
|
||||||
|
|
||||||
//- Are there any inserted cells
|
//- Are there any inserted cells
|
||||||
|
|||||||
@ -138,7 +138,7 @@ public:
|
|||||||
//- Return interpolated addressing
|
//- Return interpolated addressing
|
||||||
virtual const labelListList& addressing() const;
|
virtual const labelListList& addressing() const;
|
||||||
|
|
||||||
//- Return interpolaion weights
|
//- Return interpolation weights
|
||||||
virtual const scalarListList& weights() const;
|
virtual const scalarListList& weights() const;
|
||||||
|
|
||||||
//- Return flux flip map
|
//- Return flux flip map
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -148,7 +148,7 @@ Foam::vector Foam::eigenVector
|
|||||||
scalar sd0, sd1, sd2;
|
scalar sd0, sd1, sd2;
|
||||||
scalar magSd0, magSd1, magSd2;
|
scalar magSd0, magSd1, magSd2;
|
||||||
|
|
||||||
// Sub-determinants for a unique eivenvalue
|
// Sub-determinants for a unique eigenvalue
|
||||||
sd0 = A.yy()*A.zz() - A.yz()*A.zy();
|
sd0 = A.yy()*A.zz() - A.yz()*A.zy();
|
||||||
sd1 = A.zz()*A.xx() - A.zx()*A.xz();
|
sd1 = A.zz()*A.xx() - A.zx()*A.xz();
|
||||||
sd2 = A.xx()*A.yy() - A.xy()*A.yx();
|
sd2 = A.xx()*A.yy() - A.xy()*A.yx();
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -21,7 +21,7 @@ License
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
InNamspace
|
InNamespace
|
||||||
Foam
|
Foam
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -21,7 +21,7 @@ License
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
InNamspace
|
InNamespace
|
||||||
Foam
|
Foam
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|||||||
@ -38,7 +38,7 @@ Description
|
|||||||
<magSfN> <valueN> <qDotN> <htcN>
|
<magSfN> <valueN> <qDotN> <htcN>
|
||||||
\endverbatim
|
\endverbatim
|
||||||
|
|
||||||
and received as the constituent pieces of the `mixed' condition, i.e.
|
and received as the constitutent pieces of the `mixed' condition, i.e.
|
||||||
|
|
||||||
\verbatim
|
\verbatim
|
||||||
# Patch: <patch name>
|
# Patch: <patch name>
|
||||||
|
|||||||
@ -38,8 +38,8 @@ Description
|
|||||||
where
|
where
|
||||||
|
|
||||||
\vartable
|
\vartable
|
||||||
\alpha_t| turblence thermal diffusivity
|
\alpha_t| turbulence thermal diffusivity
|
||||||
\mu_t | turblence viscosity
|
\mu_t | turbulence viscosity
|
||||||
Pr_t | turblent Prandtl number
|
Pr_t | turblent Prandtl number
|
||||||
\endvartable
|
\endvartable
|
||||||
|
|
||||||
|
|||||||
@ -35,8 +35,8 @@ Description
|
|||||||
where
|
where
|
||||||
|
|
||||||
\vartable
|
\vartable
|
||||||
epsilon | turblence dissipation field
|
epsilon | turbulence dissipation field
|
||||||
G | turblence generation field
|
G | turbulence generation field
|
||||||
\endvartable
|
\endvartable
|
||||||
|
|
||||||
The model switches between laminar and turbulent functions based on the
|
The model switches between laminar and turbulent functions based on the
|
||||||
|
|||||||
@ -38,7 +38,7 @@ Description
|
|||||||
pc is considered from the IFC solution.
|
pc is considered from the IFC solution.
|
||||||
omegaFuelBar is calculated solving a relaxation equation which tends to
|
omegaFuelBar is calculated solving a relaxation equation which tends to
|
||||||
omegaEq. This omegaEq is obtained from the flamelet solution for
|
omegaEq. This omegaEq is obtained from the flamelet solution for
|
||||||
different strain rates and fit using a expential distribution.
|
different strain rates and fit using a exponential distribution.
|
||||||
|
|
||||||
The spacial distribution of the consumption speed (omega) is obtained also
|
The spacial distribution of the consumption speed (omega) is obtained also
|
||||||
from a strained flamelet solution and it is assumed to have a gaussian
|
from a strained flamelet solution and it is assumed to have a gaussian
|
||||||
@ -93,7 +93,7 @@ class FSD
|
|||||||
//- Fuel mass concentration on the fuel stream
|
//- Fuel mass concentration on the fuel stream
|
||||||
dimensionedScalar YFuelFuelStream_;
|
dimensionedScalar YFuelFuelStream_;
|
||||||
|
|
||||||
//- Oxygen mass concentration on the oxydizer stream
|
//- Oxygen mass concentration on the oxidizer stream
|
||||||
dimensionedScalar YO2OxiStream_;
|
dimensionedScalar YO2OxiStream_;
|
||||||
|
|
||||||
//- Similarity constant for the sub-grid ft fluctuations
|
//- Similarity constant for the sub-grid ft fluctuations
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -624,7 +624,7 @@ Body:
|
|||||||
|
|
||||||
where boundaryType is truncated to 4 characters from one of the following:
|
where boundaryType is truncated to 4 characters from one of the following:
|
||||||
INLET
|
INLET
|
||||||
PRESSSURE
|
PRESSURE
|
||||||
OUTLET
|
OUTLET
|
||||||
BAFFLE
|
BAFFLE
|
||||||
etc,
|
etc,
|
||||||
|
|||||||
@ -848,7 +848,7 @@ void Foam::boundaryMesh::writeTriSurface(const fileName& fName) const
|
|||||||
|
|
||||||
// Get index in this (boundaryMesh) of face nearest to each boundary face in
|
// Get index in this (boundaryMesh) of face nearest to each boundary face in
|
||||||
// pMesh.
|
// pMesh.
|
||||||
// Origininally all triangles/faces of boundaryMesh would be bunged into
|
// Originally all triangles/faces of boundaryMesh would be bunged into
|
||||||
// one big octree. Problem was that faces on top of each other, differing
|
// one big octree. Problem was that faces on top of each other, differing
|
||||||
// only in sign of normal, could not be found separately. It would always
|
// only in sign of normal, could not be found separately. It would always
|
||||||
// find only one. We could detect that it was probably finding the wrong one
|
// find only one. We could detect that it was probably finding the wrong one
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -520,7 +520,7 @@ Foam::multiDirRefinement::multiDirRefinement
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Construct from directionary and directions to refine.
|
// Construct from dictionary and directions to refine.
|
||||||
Foam::multiDirRefinement::multiDirRefinement
|
Foam::multiDirRefinement::multiDirRefinement
|
||||||
(
|
(
|
||||||
polyMesh& mesh,
|
polyMesh& mesh,
|
||||||
|
|||||||
@ -255,7 +255,7 @@ Foam::displacementLayeredMotionMotionSolver::faceZoneEvaluate
|
|||||||
}
|
}
|
||||||
else if (type == "uniformFollow")
|
else if (type == "uniformFollow")
|
||||||
{
|
{
|
||||||
// Reads name of name of patch. Then get average point dislacement on
|
// Reads name of name of patch. Then get average point displacement on
|
||||||
// patch. That becomes the value of fld.
|
// patch. That becomes the value of fld.
|
||||||
const word patchName(dict.lookup("patch"));
|
const word patchName(dict.lookup("patch"));
|
||||||
label patchID = mesh().boundaryMesh().findPatchID(patchName);
|
label patchID = mesh().boundaryMesh().findPatchID(patchName);
|
||||||
|
|||||||
@ -67,7 +67,7 @@ class rotatingMotion
|
|||||||
//- Axis vector
|
//- Axis vector
|
||||||
const vector axis_;
|
const vector axis_;
|
||||||
|
|
||||||
//- Angular velocty (rad/sec)
|
//- Angular velocity (rad/sec)
|
||||||
autoPtr<Function1<scalar>> omega_;
|
autoPtr<Function1<scalar>> omega_;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -247,7 +247,7 @@ public:
|
|||||||
return owner_;
|
return owner_;
|
||||||
}
|
}
|
||||||
|
|
||||||
//- Return neighour cell
|
//- Return neighbour cell
|
||||||
label neighbour() const
|
label neighbour() const
|
||||||
{
|
{
|
||||||
return neighbour_;
|
return neighbour_;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -104,7 +104,7 @@ void Foam::duplicatePoints::setRefinement
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Modfify faces according to face region
|
// Modify faces according to face region
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
face newFace;
|
face newFace;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -449,7 +449,7 @@ void Foam::tetDecomposer::setRefinement
|
|||||||
label nextFp = f.fcIndex(fp);
|
label nextFp = f.fcIndex(fp);
|
||||||
|
|
||||||
|
|
||||||
// Triangle triI consisiting of f[fp0], f[fp], f[nextFp]
|
// Triangle triI consisting of f[fp0], f[fp], f[nextFp]
|
||||||
|
|
||||||
|
|
||||||
// 1. Front triangle (decomposition of face itself)
|
// 1. Front triangle (decomposition of face itself)
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -384,7 +384,7 @@ void Foam::slidingInterface::coupleInterface(polyTopoChange& ref) const
|
|||||||
// cutPointEdgePairMap
|
// cutPointEdgePairMap
|
||||||
|
|
||||||
// Note. "Processing slave edges" code is repeated twice in the
|
// Note. "Processing slave edges" code is repeated twice in the
|
||||||
// sliding intergace coupling in order to allow the point
|
// sliding interface coupling in order to allow the point
|
||||||
// projection to be done separately from the actual cutting.
|
// projection to be done separately from the actual cutting.
|
||||||
// Please change consistently with slidingInterfaceProjectPoints.C
|
// Please change consistently with slidingInterfaceProjectPoints.C
|
||||||
//
|
//
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -729,7 +729,7 @@ bool Foam::slidingInterface::projectPoints() const
|
|||||||
scalarField masterPointEdgeDist(masterLocalPoints.size(), great);
|
scalarField masterPointEdgeDist(masterLocalPoints.size(), great);
|
||||||
|
|
||||||
// Note. "Processing slave edges" code is repeated twice in the
|
// Note. "Processing slave edges" code is repeated twice in the
|
||||||
// sliding intergace coupling in order to allow the point
|
// sliding interface coupling in order to allow the point
|
||||||
// projection to be done separately from the actual cutting.
|
// projection to be done separately from the actual cutting.
|
||||||
// Please change consistently with coupleSlidingInterface.C
|
// Please change consistently with coupleSlidingInterface.C
|
||||||
//
|
//
|
||||||
|
|||||||
@ -104,7 +104,7 @@ class MRFZone
|
|||||||
//- Axis vector
|
//- Axis vector
|
||||||
vector axis_;
|
vector axis_;
|
||||||
|
|
||||||
//- Angular velocty (rad/sec)
|
//- Angular velocity (rad/sec)
|
||||||
autoPtr<Function1<scalar>> omega_;
|
autoPtr<Function1<scalar>> omega_;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -81,7 +81,7 @@ protected:
|
|||||||
//- Axis of rotation, a direction vector which passes through the origin
|
//- Axis of rotation, a direction vector which passes through the origin
|
||||||
vector axis_;
|
vector axis_;
|
||||||
|
|
||||||
//- SRF model coeficients dictionary
|
//- SRF model coefficients dictionary
|
||||||
dictionary SRFModelCoeffs_;
|
dictionary SRFModelCoeffs_;
|
||||||
|
|
||||||
//- Angular velocity of the frame (rad/s)
|
//- Angular velocity of the frame (rad/s)
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -76,7 +76,7 @@ bool Foam::setRefCell
|
|||||||
label sumHasRef = returnReduce<label>(hasRef, sumOp<label>());
|
label sumHasRef = returnReduce<label>(hasRef, sumOp<label>());
|
||||||
|
|
||||||
// If reference cell no found use octree search
|
// If reference cell no found use octree search
|
||||||
// with cell tet-decompositoin
|
// with cell tet-decomposition
|
||||||
if (sumHasRef != 1)
|
if (sumHasRef != 1)
|
||||||
{
|
{
|
||||||
refCelli = field.mesh().findCell(refPointi);
|
refCelli = field.mesh().findCell(refPointi);
|
||||||
|
|||||||
@ -153,10 +153,10 @@ public:
|
|||||||
//- Return true if all convergence checks are satisfied
|
//- Return true if all convergence checks are satisfied
|
||||||
virtual bool criteriaSatisfied() const = 0;
|
virtual bool criteriaSatisfied() const = 0;
|
||||||
|
|
||||||
//- Flag to indicate whether convergance has been reached
|
//- Flag to indicate whether convergence has been reached
|
||||||
bool converged();
|
bool converged();
|
||||||
|
|
||||||
//- End the run if convergance has been reached
|
//- End the run if convergence has been reached
|
||||||
bool endIfConverged(Time& time);
|
bool endIfConverged(Time& time);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -72,8 +72,8 @@ protected:
|
|||||||
// than PISO mode
|
// than PISO mode
|
||||||
bool simpleRho_;
|
bool simpleRho_;
|
||||||
|
|
||||||
//- Flag to control whether turblence is solved just on the final pimple
|
//- Flag to control whether turbulence is solved just on the final
|
||||||
// iteration, or on every pimple iteration
|
// pimple iteration, or on every pimple iteration
|
||||||
bool turbOnFinalIterOnly_;
|
bool turbOnFinalIterOnly_;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -25,7 +25,7 @@ Class
|
|||||||
Foam::calculatedFvPatchField
|
Foam::calculatedFvPatchField
|
||||||
|
|
||||||
Description
|
Description
|
||||||
This boundary condition is not designed to be evaluated; it is assmued
|
This boundary condition is not designed to be evaluated; it is assumed
|
||||||
that the value is assigned via field assignment, and not via a call to
|
that the value is assigned via field assignment, and not via a call to
|
||||||
e.g. \c updateCoeffs or \c evaluate.
|
e.g. \c updateCoeffs or \c evaluate.
|
||||||
|
|
||||||
|
|||||||
@ -40,7 +40,7 @@ Usage
|
|||||||
|
|
||||||
Note
|
Note
|
||||||
The outer boundary of the patch pairs must be similar, i.e. if the owner
|
The outer boundary of the patch pairs must be similar, i.e. if the owner
|
||||||
patch is transformed to the neighbour patch, the outer perimiter of each
|
patch is transformed to the neighbour patch, the outer perimeter of each
|
||||||
patch should be identical (or very similar).
|
patch should be identical (or very similar).
|
||||||
|
|
||||||
See also
|
See also
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2018 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2018-2019 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -40,7 +40,7 @@ Usage
|
|||||||
|
|
||||||
Note
|
Note
|
||||||
The outer boundary of the patch pairs must be similar, i.e. if the owner
|
The outer boundary of the patch pairs must be similar, i.e. if the owner
|
||||||
patch is transformed to the neighbour patch, the outer perimiter of each
|
patch is transformed to the neighbour patch, the outer perimeter of each
|
||||||
patch should be identical (or very similar).
|
patch should be identical (or very similar).
|
||||||
|
|
||||||
See also
|
See also
|
||||||
|
|||||||
@ -35,7 +35,7 @@ Usage
|
|||||||
Property | Description | Required | Default value
|
Property | Description | Required | Default value
|
||||||
phi | flux field name | no | phi
|
phi | flux field name | no | phi
|
||||||
tangentialVelocity | tangential velocity field | no |
|
tangentialVelocity | tangential velocity field | no |
|
||||||
omega | angular velocty of the frame [rad/s] | yes |
|
omega | angular velocity of the frame [rad/s] | yes |
|
||||||
\endtable
|
\endtable
|
||||||
|
|
||||||
Example of the boundary condition specification:
|
Example of the boundary condition specification:
|
||||||
|
|||||||
@ -37,7 +37,7 @@ Usage
|
|||||||
psi | compressibility field name | no | none
|
psi | compressibility field name | no | none
|
||||||
gamma | ratio of specific heats (Cp/Cv) | yes |
|
gamma | ratio of specific heats (Cp/Cv) | yes |
|
||||||
p0 | static pressure reference | yes |
|
p0 | static pressure reference | yes |
|
||||||
omega | angular velocty of the frame [rad/s] | yes |
|
omega | angular velocity of the frame [rad/s] | yes |
|
||||||
\endtable
|
\endtable
|
||||||
|
|
||||||
Example of the boundary condition specification:
|
Example of the boundary condition specification:
|
||||||
|
|||||||
@ -32,7 +32,7 @@ Usage
|
|||||||
Property | Description | Required | Default value
|
Property | Description | Required | Default value
|
||||||
origin | origin of rotation in Cartesian co-ordinates | yes|
|
origin | origin of rotation in Cartesian co-ordinates | yes|
|
||||||
axis | axis of rotation | yes |
|
axis | axis of rotation | yes |
|
||||||
omega | angular velocty of the frame [rad/s] | yes |
|
omega | angular velocity of the frame [rad/s] | yes |
|
||||||
\endtable
|
\endtable
|
||||||
|
|
||||||
Example of the boundary condition specification:
|
Example of the boundary condition specification:
|
||||||
|
|||||||
@ -26,7 +26,7 @@ Class
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
This boundary condition provides a velocity boundary condition for
|
This boundary condition provides a velocity boundary condition for
|
||||||
multphase flow based on a user-specified volumetric flow rate.
|
multiphase flow based on a user-specified volumetric flow rate.
|
||||||
|
|
||||||
The flow rate is made proportional to the phase fraction alpha at each
|
The flow rate is made proportional to the phase fraction alpha at each
|
||||||
face of the patch and alpha is ensured to be bound between 0 and 1.
|
face of the patch and alpha is ensured to be bound between 0 and 1.
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user