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/)
-   -   Continuing a run (https://www.cfd-online.com/Forums/openfoam-solving/147202-continuing-run.html)

bendel_boy January 15, 2015 07:54

Continuing a run
 
Looking at previous posts it looked as if I could a simulation by setting startFromn to latestTime.

However, when I did this I get

--> FOAM FATAL ERROR:

gradientInternalCoeffs cannot be called for a calculatedFvPatchField on patch outlet of field Alpha in file "d:/blueCFD-SingleCore-2.1/OpenFOAM-2.1/tutorials/multiphase/settlingFoam/ras/circular - fixed flow/360/Alpha"

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 196.

FOAM exiting

In /0/Alpha I specified boundary conditions; in /360/Alpha these have been replaced by numerical values.

I did try replacing the contents of boundary{} with the /0/ values, but then I got a message that the token had already been read.

Any suggestions on how to proceed?

bendel_boy January 15, 2015 09:00

Alpha boundaries file for /360/

boundaryField
{
inlet
{
type fixedValue; //calculated; - replacing calculated with fixedValue resolved the error message for this boundary.
value uniform 0.00277233;
}
outlet
{
type calculated;
value nonuniform List<scalar> 3(4.77374e-108 4.65583e-108 4.20304e-108);
}
bottom
{
type calculated;
value nonuniform List<scalar>
297
(
)
;
}
sludge
{
type calculated;
value nonuniform List<scalar> 3(0.00225868 0.00226791 0.00234235);
//inletValue $internalField;
}
endWall
{
type calculated;
value nonuniform List<scalar>
122
(
)
;
}
nearWall
{
type calculated;
value nonuniform List<scalar>
54
(
)
;
}
surface
{
type calculated;
value nonuniform List<scalar>
295
(
)
;
}
otherSurface
{
type wedge;
}
}

bendel_boy January 15, 2015 09:00

And at /0/

boundaryField
{
inlet
{
type fixedValue;
value uniform 0.0029; // $internalField;
}
outlet
{
type inletOutlet;
inletValue $internalField;
}
sludge
{
type inletOutlet;
inletValue $internalField;
}

bottom
{
type zeroGradient;
}
endWall
{
type zeroGradient;
}
nearWall
{
type zeroGradient;
}
surface
{
type zeroGradient;
}
otherSurface
{
//type empty;
type wedge;
}
}


All times are GMT -4. The time now is 09:55.