CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   an error?? (https://www.cfd-online.com/Forums/openfoam-programming-development/119832-error.html)

liuke870915 June 25, 2013 21:53

an error??
 
:confused::confused:when I run a solver which was writen by myself,an error like follows:
--> FOAM FATAL ERROR:
gradientInternalCoeffs cannot be called for a calculatedFvPatchField
on patch movingWall of field Y1 in file "/home/cfd/OpenFOAM/cfd-2.1.0/run/tutorials/incompressible/rkcpFoam/cavity/0/Y1"
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
how can I handle it?

thank you!!


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