|
[Sponsors] |
November 9, 2023, 08:53 |
type limitTemperature problem
|
#1 |
New Member
Adam
Join Date: Nov 2023
Posts: 6
Rep Power: 3 |
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 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 { // Mandatory entries (unmodifiable) type limitTemperature; selectionMode all; active true; // Mandatory entries (runtime modifiable) min 101; max 1000; // Optional entries (runtime modifiable) //phase <phaseName>; // Mandatory/Optional (inherited) entries } 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; } */ // ************************************************************************* // |
|
November 10, 2023, 08:52 |
|
#2 |
New Member
Adam
Join Date: Nov 2023
Posts: 6
Rep Power: 3 |
Dear All,
Maybe someone has any idea? |
|
November 10, 2023, 13:15 |
|
#3 | |
Member
Lorenzo
Join Date: Apr 2020
Location: Italy
Posts: 47
Rep Power: 6 |
Hi Adam,
It seems that the solver does not load correctly the fvOptions available. Maybe is it not loading some library? It's hard to tell since it is a custom solver. I took a really quick look at the "options" file inside the "Make" directory of the hisa solver. It misses this library: Quote:
I would first try to add the before mentioned line to the options file and see if it works. If the issue persists, it could be a good idea to contact the developer of the solver. Regards, Lorenzo |
||
November 13, 2023, 09:51 |
|
#4 |
New Member
Adam
Join Date: Nov 2023
Posts: 6
Rep Power: 3 |
Dear Lorenzo,
Thank you for your interest in the topic and for your answer. Could you tell me how exactly I should add "-lfvOptions " at the "options" file inside the "Make" directory of the hisa solver? Thanks, Adam |
|
November 13, 2023, 10:13 |
|
#5 |
Member
Lorenzo
Join Date: Apr 2020
Location: Italy
Posts: 47
Rep Power: 6 |
Hi,
Assuming you're using the singleRegionModels: I would try add the line in "hisa/applications/singleRegionSolvers/hisa/Make/options" Under -lmeshtools \ Maybe you should also add the following to the file "#include "fvOptions.H" " in "hisa/applications/singleRegionSolvers/singleRegionSolver.H" under the line "#include "fvCFD.H" " Best, Lorenzo |
|
November 13, 2023, 11:32 |
|
#6 |
New Member
Adam
Join Date: Nov 2023
Posts: 6
Rep Power: 3 |
Dear Lorenzo,
Thank you for the tip, unfortunately it did not fix the error. Do you or anyone else have any other ideas? I paste the entire error code below: Code:
Selecting finite volume options type limitTemperature [0] [0] [0] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [0] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [0] [0] [0] file: system/fvOptions.limitTemperature1 at line 27 to 33. [0] [0] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [0] in file cfdTools/general/fvOptions/fvOption.C at line 104. [0] FOAM parallel run exiting [0] [22] [23] [23] [23] [30] [30] [30] --> FOAM FATAL IO ERROR: (openfoam-2206[31] [31] [31] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [31] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [31] [31] [31] [13] [13] [13] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [13] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [13] [13] [13] file: stream.limitTemperature1 at line 0. [13] [13] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [13] in file cfdTools/general/fvOptions/fvOption.C at line 104. [13] FOAM parallel run exiting [13] [16] [16] [16] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [16] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [16] [16] [16] file: stream.limitTemperature1 at line 0. [16] [16] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [16] in file cfdTools/general/fvOptions/fvOption.C at line 104. [16] FOAM parallel run exiting [16] [19] [19] [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 [19] [27] [27] [27] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [27] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [27] [27] [27] file: stream.limitTemperature1 at line 0. [27] [27] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [27] in file cfdTools/general/fvOptions/fvOption.C at line 104. [27] FOAM parallel run exiting [27] [29] [29] [29] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [29] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [29] [29] [29] file: stream.limitTemperature1 at line 0. [29] [29] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [29] in file cfdTools/general/fvOptions/fvOption.C at line 104. [29] FOAM parallel run exiting [29] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [23] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [23] [23] [23] file: stream.limitTemperature1 at line 0. [23] [23] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [23] in file cfdTools/general/fvOptions/fvOption.C at line 104. [23] FOAM parallel run exiting [23] patch=221104) [30] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [30] [30] [30] file: stream.limitTemperature1 at line 0. [30] [30] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [30] in file cfdTools/general/fvOptions/fvOption.C at line 104. [30] FOAM parallel run exiting [30] [1] [1] [1] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [1] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [1] [1] [1] file: stream.limitTemperature1 at line 0. [1] [1] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [1] in file cfdTools/general/fvOptions/fvOption.C at line 104. [1] FOAM parallel run exiting [1] [2] [2] [2] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [2] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [2] [2] [2] file: stream.limitTemperature1 at line 0. [2] [2] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [2] in file cfdTools/general/fvOptions/fvOption.C at line 104. [2] FOAM parallel run exiting [2] [3] [3] [3] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [3] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [3] [3] [3] file: stream.limitTemperature1 at line 0. [3] [3] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [3] in file cfdTools/general/fvOptions/fvOption.C at line 104. [3] FOAM parallel run exiting [3] [5] [5] [5] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [5] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [5] [5] [5] file: stream.limitTemperature1 at line 0. [5] [5] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [5] in file cfdTools/general/fvOptions/fvOption.C at line 104. [5] FOAM parallel run exiting [5] [6] [6] [6] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [6] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [6] [6] [6] file: stream.limitTemperature1 at line 0. [6] [6] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [6] in file cfdTools/general/fvOptions/fvOption.C at line 104. [6] FOAM parallel run exiting [6] [7] [7] [7] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [7] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [7] [7] [7] file: stream.limitTemperature1 at line 0. [7] [7] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [7] in file cfdTools/general/fvOptions/fvOption.C at line 104. [7] FOAM parallel run exiting [7] [10] [10] [10] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [10] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [10] [10] [10] file: stream.limitTemperature1 at line 0. [10] [10] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [10] in file cfdTools/general/fvOptions/fvOption.C at line 104. [10] FOAM parallel run exiting [10] [11] [11] [11] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [11] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [11] [11] [11] file: stream.limitTemperature1 at line 0. [11] [11] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [11] in file cfdTools/general/fvOptions/fvOption.C at line 104. [11] FOAM parallel run exiting [11] file: stream.limitTemperature1 at line 0. [31] [31] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [31] in file cfdTools/general/fvOptions/fvOption.C at line 104. [31] FOAM parallel run exiting [31] [14] [14] [14] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [14] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [14] [14] [14] file: stream.limitTemperature1 at line 0. [14] [14] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [14] in file cfdTools/general/fvOptions/fvOption.C at line 104. [14] FOAM parallel run exiting [14] [15] [15] [15] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [15] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [15] [15] [15] file: stream.limitTemperature1 at line 0. [15] [15] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [15] in file cfdTools/general/fvOptions/fvOption.C at line 104. [15] FOAM parallel run exiting [15] [17] [17] [17] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [17] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [17] [17] [17] file: stream.limitTemperature1 at line 0. [17] [17] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [17] in file cfdTools/general/fvOptions/fvOption.C at line 104. [17] FOAM parallel run exiting [17] [22] [22] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [22] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [22] [22] [22] file: stream.limitTemperature1 at line 0. [22] [22] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [22] in file cfdTools/general/fvOptions/fvOption.C at line 104. [22] FOAM parallel run exiting [22] [18] [18] [18] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [18] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [18] [18] [18] file: stream.limitTemperature1 at line [21] [21] [21] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [21] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [21] [21] [21] file: stream.limitTemperature1 at line 0. [21] [21] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [21] in file cfdTools/general/fvOptions/fvOption.C at line 104. [21] FOAM parallel run exiting [21] 0. [18] [18] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [18] in file cfdTools/general/fvOptions/fvOption.C at line 104. [18] FOAM parallel run exiting [18] [26] [26] [26] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [26] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [26] [26] [26] file: stream.limitTemperature1 at line 0. [26] [26] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [26] in file cfdTools/general/fvOptions/fvOption.C at line 104. [26] FOAM parallel run exiting [26] -------------------------------------------------------------------------- MPI_ABORT was invoked on rank 23 in communicator MPI_COMM_WORLD with errorcode 1. NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes. You may or may not see output from other processes, depending on exactly when Open MPI kills them. -------------------------------------------------------------------------- [9] [9] [9] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [9] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [9] [9] [9] file: stream.limitTemperature1 at line 0. [9] [9] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [9] in file cfdTools/general/fvOptions/fvOption.C at line 104. [9] FOAM parallel run exiting [9] [12] [12] [12] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [12] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [12] [12] [12] file: stream.limitTemperature1 at line 0. [12] [12] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [12] in file cfdTools/general/fvOptions/fvOption.C at line 104. [12] FOAM parallel run exiting [12] [20] [20] [20] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [20] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [20] [20] [20] file: stream.limitTemperature1 at line 0. [25] [25] [25] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [25] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [25] [25] [25] file: stream.limitTemperature1 at line 0. [25] [25] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [25] in file cfdTools/general/fvOptions/fvOption.C at line 104[28] [28] [28] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [28] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [28] [28] [28] file: stream.limitTemperature1 at line 0. [28] [28] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [28] in file cfdTools/general/fvOptions/fvOption.C at line 104. [28] FOAM parallel run exiting [28] [4] [4] [4] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [4] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [4] [4] [4] file: stream.limitTemperature1 at line 0. [4] [4] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [4] in file cfdTools/general/fvOptions/fvOption.C at line 104. [4] FOAM parallel run exiting [4] [20] [20] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [20] in file cfdTools/general/fvOptions/fvOption.C at line 104. [20] FOAM parallel run exiting [20] . [25] FOAM parallel run exiting [25] [8] [8] [8] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [8] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [8] [8] [8] file: stream.limitTemperature1 at line 0. [8] [8] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [8] in file cfdTools/general/fvOptions/fvOption.C at line 104. [8] FOAM parallel run exiting [8] [24] [24] [24] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [24] Unknown fvOption type limitTemperature Valid fvOption types : 1(radiation) [24] [24] [24] file: stream.limitTemperature1 at line 0. [24] [24] From static Foam::autoPtr<Foam::fv::option> Foam::fv::option::New(const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&) [24] in file cfdTools/general/fvOptions/fvOption.C at line 104. [24] FOAM parallel run exiting [24] [serwersymulacje:231141] 31 more processes have sent help message help-mpi-api.txt / mpi-abort [serwersymulacje:231141] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages |
|
November 16, 2023, 06:55 |
|
#7 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 8 |
Hi,
some years ago I implemented it in rhoCentralFoam: Sudden Increase of residuals I use OpenFOAM 5, but I hope it will work more or less the same way. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
activeBaffleVelocity boundary condition ? | om3ro | OpenFOAM Programming & Development | 10 | November 17, 2020 00:26 |
Film cooling problem | arun1994 | OpenFOAM | 0 | October 26, 2020 10:08 |
Problem with continuity simpleFoam kkl omega airfoils | ibelunatic | OpenFOAM Running, Solving & CFD | 0 | March 20, 2018 12:48 |
rhoPimpleFoam hardship | petrus | OpenFOAM Running, Solving & CFD | 0 | October 7, 2016 03:41 |
singularity? | mihaipruna | OpenFOAM Running, Solving & CFD | 5 | April 24, 2012 18:18 |