|
[Sponsors] |
May 1, 2024, 12:22 |
First time User fvOptions error OpenFOAM 11
|
#1 |
New Member
Terence
Join Date: May 2024
Posts: 9
Rep Power: 2 |
Code:
--> FOAM FATAL IO ERROR: keyword type is undefined in dictionary "/home/OpenFOAM/run/heatedDuct/constant/heater/fvOptions/options" file: /home/OpenFOAM/run/heatedDuct/constant/heater/fvOptions/options from line 22 to line 33. From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const in file db/dictionary/dictionary.C at line 827. FOAM exiting Here is my fvOptions file Code:
FoamFile { version 2.0; format ascii; class dictionary; location "constant/heater"; object fvOptions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // options { energySource { type scalarSemiImplicitSource; selectionMode all; volumeMode specific; injectionRateSuSp { name h; timeStart 0; duration 1; selectionMode all; explicit 10e7; //implicit ;{} } } } |
|
May 2, 2024, 05:38 |
|
#2 |
Senior Member
|
Hi,
The error says that the options part does not have a type entry. Probably you have a level of {} too many. Try this: Code:
FoamFile { version 2.0; format ascii; class dictionary; location "constant/heater"; object fvOptions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // energySource { type scalarSemiImplicitSource; selectionMode all; volumeMode specific; injectionRateSuSp { name h; timeStart 0; duration 1; selectionMode all; explicit 10e7; //implicit ;{} } } Hope this helps. Tom |
|
May 2, 2024, 09:25 |
|
#3 |
New Member
Terence
Join Date: May 2024
Posts: 9
Rep Power: 2 |
Thanks,
That helped to generate a different error. Unfortunately, I am quite inexperienced with openFOAM and have very little idea of what to do next. The number of changes between versions makes it very difficult to learn from scratch. Here is the new error I receive: Code:
--> FOAM FATAL IO ERROR: Unknown fvModel scalarSemiImplicitSource Valid fvModels are: 22 ( accelerationSource actuationDiskSource buoyancyEnergy buoyancyForce coded effectivenessHeatExchangerSource explicitPorositySource heatSource heatTransfer interRegionExplicitPorositySource interRegionHeatTransfer massSource phaseLimitStabilisation radialActuationDiskSource rotorDisk semiImplicitSource sixDoFAccelerationSource solidEquilibriumEnergySource solidificationMeltingSource volumeFractionSource zeroDimensionalFixedPressure zeroDimensionalMassSource ) |
|
May 2, 2024, 09:38 |
|
#4 |
Senior Member
|
Hi,
Indeed some of these changes can be difficult to trace back. However given the name, I guess you should use semiImplicitSource. The link above will give some more information on the usage as it is implemented in v11. You may need to "translate" your setup to the new syntax. Good luck, Tom |
|
Tags |
fvoptions heat source, openfoam 11, scalarsemiimplicitsource, type |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
How to make user routine just be called once in one time step? | doublestrong | CFX | 3 | October 22, 2018 00:06 |
pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 06:28 |
pressure in incompressible solvers e.g. simpleFoam | chrizzl | OpenFOAM Running, Solving & CFD | 13 | March 28, 2017 06:49 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 03:50 |