CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

Cyclic BC and moving mesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 6, 2013, 10:39
Default Cyclic BC and moving mesh
  #1
New Member
 
siri
Join Date: Apr 2010
Location: Norway
Posts: 16
Rep Power: 7
snippsnuske is on a distinguished road
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
snippsnuske is offline   Reply With Quote

Old   August 11, 2013, 05:26
Default
  #2
New Member
 
Danesh S
Join Date: Jul 2013
Location: Bochum, Germany
Posts: 27
Rep Power: 3
DaSh is on a distinguished road
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!
DaSh is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



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