|
[Sponsors] |
August 16, 2012, 18:19 |
problem with cyclic Bc
|
#1 |
New Member
Oscar Urbina
Join Date: Nov 2011
Location: Montréal
Posts: 16
Rep Power: 14 |
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 |
|
Tags |
openfoam cyclic bc |
|
|
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 |