CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Cyclic BC and moving mesh (https://www.cfd-online.com/Forums/openfoam-pre-processing/121847-cyclic-bc-moving-mesh.html)

snippsnuske August 6, 2013 10:39

Cyclic BC and moving mesh
 
Can anyone help with cyclic BC???
I am trying to use cyclic BC on inlet and outlet for a case with dynamic mesh (wind over waves). The mesh does not move/change at the outlet and inlet patch and therefore I thought it could be possible to use cyclic conditions. I am running the case for a short time (I use pimpleDyMFoam) and then I am changing the patches to cyclic (by the use of foamUpgradeCyclic). Not sure if this will work but it looks like the syntax is accepted but I get a more fundamental problem about the pressure? I get this error message and it is related to set a reference cell for p.

Anyone know a “work around”?


--> FOAM FATAL IO ERROR:
Unable to set reference cell for field p
Please supply either pRefCell or pRefPoint

file: /import/br1raid6a1h2/stud/sirik/pimpleDyMFoam.onewave/w2_su_cyclic2/system/fvSolution::PIMPLE from line 70 to line 72.
From function void Foam::setRefCell
(
const volScalarField&,
const volScalarField&,
const dictionary&,
label& scalar&,
bool
)
in file cfdTools/general/findRefCell/findRefCell.C at line 115.
FOAM exiting

Siri

DaSh August 11, 2013 05:26

In your fvSolutions you should find something like:

PIMPLE
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;
pRefCell 1000;
pRefValue 0;
}

Apparently at least your entries for pRefCell and pRefValue are missing.

Regards!


All times are GMT -4. The time now is 20:37.