by introducing rational base-classes rather than using the hideous 'switch' statement. Further rationalization of the cell-selection mechanism will be implemented via an appropriate class hierarchy to replace the remaining 'switch' statement. Mesh-motion is currently handled very inefficiently for cellSets and not at all for inter-region coupling. The former will be improved when the cell-selection classes are written and the latter by making the meshToMesh class a MeshObject after it has been corrected for mapFields.
36 lines
1.2 KiB
C++
36 lines
1.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "constant";
|
|
object fvOptions;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
source1
|
|
{
|
|
type fixedTemperatureConstraint;
|
|
active yes;
|
|
|
|
fixedTemperatureConstraintCoeffs
|
|
{
|
|
timeStart 0.1;
|
|
duration 0.4;
|
|
selectionMode cellSet;
|
|
cellSet ignitionCells;
|
|
|
|
mode uniform;
|
|
temperature 2000;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|