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/)
-   -   Feild h error?!? (https://www.cfd-online.com/Forums/openfoam-solving/139986-feild-h-error.html)

Jordan. August 5, 2014 11:06

Feild h error?!?
 
I am getting a weird error - I am trying to build and solve a mesh similar to the multiRegionHeater in the tutorials. I am exporting a mesh from fluent to do so. However after setting up all of the conditions I get this error message when it try's the first iteration:

--> FOAM FATAL ERROR:
gradientInternalCoeffs cannot be called for a calculatedFvPatchField
on patch wall-faces-fluid-cold-air of field h in file "C:/PROGRA~2/BLUECF~1.1/ofuser-2.1/run/tExport7/0/fluid-cold-air/h"
You are probably trying to solve for a field with a default boundary condition.

From function calculatedFvPatchField<Type>::gradientInternalCoef fs() const
in file fields/fvPatchFields/basic/calculated/calculatedFvPatchField.C at line 186.
FOAM exiting


However the file mentioned ("C:/PROGRA~2/BLUECF~1.1/ofuser-2.1/run/tExport7/0/fluid-cold-air/h") does not exist and should not exist so I am very confused to where it is coming from! Thanks in advance!

Jordan

Jordan. August 6, 2014 04:42

Worked it out!
 
For some reason (not sure why?? -maybe it refers to entropy) the "h" file was referring to the temperature file (0/T).


All times are GMT -4. The time now is 19:23.