CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Unknown function type loadPsiThermoModel (https://www.cfd-online.com/Forums/openfoam-solving/157856-unknown-function-type-loadpsithermomodel.html)

immortality August 10, 2015 05:59

Unknown function type loadPsiThermoModel
 
when run the code, an error on loadPsiThermoModel occurs as this:
Code:

Starting time loop

[0]
[0]
[0] --> FOAM FATAL ERROR:
[0] Unknown function type loadPsiThermoModel

Valid functions are :

56
(
CourantNo
DESModelRegions
Lambda2
Peclet
Q
abort
addForeignMeshes
addGlobalVariable
blendingFactor
calculateGlobalVariables
cellSource
clearExpressionField
coded
createSampledSet
createSampledSurface
dsmcFields
expressionField
faceSource
fieldAverage
fieldCoordinateSystemTransform
fieldMinMax
fieldValueDelta
foreignMeshesFollowTime
initSwakFunctionObject
manipulateField
manipulatePatchField
nearWallFields
partialWrite
patchProbes
pressureTools
probes
processorField
readFields
regionSizeDistribution
removeGlobalVariable
removeRegisteredObject
residuals
scalarTransport
setTimeStep
sets
solveLaplacianPDE
solveTransportPDE
solverPerformanceToGlobalVariables
streamLine
surfaceInterpolateFields
surfaces
swakCoded
timeActivatedFileUpdate
turbulenceFields
vorticity
wallBoundedStreamLine
wallShearStress
writeDictionary
writeRegisteredObject
yPlusLES
yPlusRAS
)

[0]
[0]
[0]    From function functionObject::New(const word& name, const Time&, const dictionary&)
[0]    in file db/functionObjects/functionObject/functionObject.C[1]
[1]
[1] --> FOAM FATAL ERROR:
[1] Unknown function type loadPsiThermoModel

Valid functions are :

loadThermo is added to controlDict like this:
Code:

loadThermo {
        type loadPsiThermoModel;
        correctModel false;//I think that if "correctModel" is set to "true", it will call "thermo.correct()" at the beginning of each time iteration.
        //        correctModel true;
        allowReload false;//it's possibly for keeping track of the changes in "constant/thermo*"
        failIfModelTypeExists false;
        outputControlMode timeStep;
        outputInterval 1;
    }

is was running well in 2.2.2 version, it should be changed to what for adapting with 2.4.0 version of OF?
thanks so much for helping.

crazzy.pirate43 June 9, 2017 07:50

Hi,
I know it's from long time but I got the same problem with the vorticity and gradU in openfoam-1612+ did you find the solution for that problem

Crazzy.Pirate43


All times are GMT -4. The time now is 05:40.