AdamRM |
November 9, 2023 07:49 |
type limitTemperature problem
Forum members,
I am using OpenFoam-2206 patch=221104, solver HiSA.
I would like to introduce a temperature limit into the calculations and I get this error:
Code:
[19] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104)
[19] Unknown fvOption type limitTemperature
Valid fvOption types :
1(radiation)
[19]
[19]
[19] file: stream.limitTemperature1 at line 0.
[19]
[19] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&)
[19] in file cfdTools/general/fvOptions/fvOption.C at line 104.
[19]
FOAM parallel run exiting
fvOption file, the commented content are various attempts to implement the limit:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class dictionary;
object fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
limitTemperature1
{
// Mandatory entries (unmodifiable)
type limitTemperature;
// Mandatory entries (runtime modifiable)
min 101;
max 1000;
// Optional entries (runtime modifiable)
//phase <phaseName>;
// Mandatory/Optional (inherited) entries
//...
}
/*
limitTemperature1
{
type limitTemperature;
selectionMode all;
active true;
// Mandatory entries (runtime modifiable)
min 101;
max 1000;
}
temperatureLimit
{
type limitTemperature;
active true;
limitTemperatureCoeffs
{
selectionMode all;
min 101;
max 1000;
}
}
bound_T
{
type temperatureLimitsConstraint;
selectionMode all;
active true;
temperatureLimitsConstraintCoeffs
{
Tmin 101;
Tmax 1000;
}
}
source1
{
type temperatureLimitsConstraint;
selectionMode all;
active true;
temperatureLimitsConstraintCoeffs
{
Tmin 101;
Tmax 1000;
}
}
limitT
{
type temperatureLimitsConstraint;
active yes;
selectionMode all;
min 200;
max 500;
phase gas; // optional
}
limitT
{
type limitTemperature;
selectionMode all;
active true;
min 101;
max 1000;
}
*/
// ************************************************************************* //
Could anyone help?
|