CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

problem with cyclic Bc

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 16, 2012, 18:19
Default problem with cyclic Bc
  #1
New Member
 
Oscar Urbina
Join Date: Nov 2011
Location: Montréal
Posts: 16
Rep Power: 6
oscar_urri is on a distinguished road
hello everyone,

i'm having troubles understanding the cyclic BC in Openfoam,

what i would like to know is if it is possible to access and change the velocity field in a cyclic bc, to set a non-uniform custom bc.

and if it is, should i try to change the owner patch or the slave patch?

i've looked several times at cyclicFvPatchField.C

and it doesn't at any point make a reference to the owner patch, the only thing i've concluled is that it sets the neighbour patch to be the same as the internalfield.

code:

template<class Type>
const cyclicFvPatchField<Type>& cyclicFvPatchField<Type>::neighbourPatchField()
const
{
const GeometricField<Type, fvPatchField, volMesh>& fld =
static_cast<const GeometricField<Type, fvPatchField, volMesh>&>
(
this->internalField()
);

return refCast<const cyclicFvPatchField<Type> >
(
fld.boundaryField()[this->cyclicPatch().neighbPatchID()]
);
}


so i would really appreciate if someone could give me an idea on how to change the bc to set a custom velocity vector field, for the cyclic bc. (i need the cyclic bc cause i also need to use the fan bc for a pressure jump).

thanks

Oscar
oscar_urri is offline   Reply With Quote

Reply

Tags
openfoam cyclic bc

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Non-linear problem and cyclic boundaries bentivegna OpenFOAM Running, Solving & CFD 0 May 22, 2012 07:44
CFX two-phase cyclic boundary condition problem ukbid CFX 1 May 2, 2012 04:09
Velocity profiles problem behind the elbow (3D problem) kabat73 FLUENT 8 May 9, 2010 04:26
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13


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