tutorials: reverseBurner: Ignite with temperature constraint

This method of igniting is easier to control than a heat-source based
method. A suitable temperature at which the reaction will take is
typically fairly easy to estimate, whilst determining a heat source
value which achieves the same effect is difficult and is often requires
trial and error.

The new fractional control of value constraints has permitted the use of
fixedTemperatureConstraint in this way; both because it allows for
ramping and for limiting the duration over which the constraint is
applied.
This commit is contained in:
Will Bainbridge
2022-03-23 13:00:58 +00:00
parent 32be464010
commit 19b3b2e563
2 changed files with 35 additions and 17 deletions

View File

@ -14,23 +14,6 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ignition
{
type heatSource;
selectionMode cellSet;
cellSet ignition;
q
{
type scale;
scale squarePulse;
start 0;
duration 1;
value 5e7;
}
}
radiation
{
type radiation;

View File

@ -0,0 +1,35 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class dictionary;
location "constant";
object fvConstraints;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ignition
{
type fixedTemperatureConstraint;
selectionMode cellSet;
cellSet ignition;
mode uniform;
temperature 2000;
fraction
{
type table;
values ((0 0) (0.1 0) (0.2 1) (0.4 1) (0.5 0));
}
}
// ************************************************************************* //