|
[Sponsors] |
August 14, 2013, 06:20 |
cuttingPlane with cyclic BC
|
#1 |
New Member
Julia Docampo
Join Date: Jun 2013
Location: Barcelona, Spain
Posts: 14
Rep Power: 13 |
Dear Foamers:
I have been using OF-2.1.x for the past two months, forgive me if my problem is very easy/obvious to fix. I am running simulations on open channel so my BCs are cyclic in the spanwise direction. I am generating turbulence (using LES) that I will save as initial conditions for the next simulation: turbine performance. I want to save a plane from the middle of the channel (normal to streamwise direction) containing data of U, p, U_0, etc during different times, that I will use as inlet for the turbine simulation. I found that cuttingPlane can do that and I imitated the case incompressible/simpleFoam/motorbike. This is my cuttingPlane function: cuttingPlane { type surfaces; functionObjectLibs ("libsampling.so"); outputControl outputTime; surfaceFormat vtk; fields ( p U U_0 nuSgs); interpolationScheme cellPoint; surfaces ( yNormal { type cuttingPlane; planeType pointAndNormal; pointAndNormalDict { basePoint (2 1 1); normalVector (0 1 0); } interpolate true; } ); } When I run the solver (channelFoam), it gives me this error: --> FOAM FATAL ERROR: Unhandled coupledPolyPatch type cyclic From function isoSurface::collocatedFaces(const coupledPolyPatch&) const in file sampledSurface/isoSurface/isoSurface.C at line 94. FOAM aborting I can't avoid the cyclic BC, since it represents the width of my channel and I need it to be that way... I am confused because I went through the cuttingPlane case (/src/sampling/cuttingPlane) and read all the functions and I don't know when isoSurface.C is called... I can't find that line.... Has anybody succeed in using cuttingPlane involving cyclic BCs? Is there an alternative way to save a plane during simulations? Many thanks!! |
|
April 26, 2016, 08:27 |
|
#2 | |
New Member
sandy
Join Date: Aug 2011
Posts: 13
Rep Power: 15 |
Quote:
Did you get the answer to your question? I am facing the same problem and not able to resolve it. |
||
Tags |
channelflow les, cuttingplane, cyclic bc, runtime postprocessing |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why Menter's SST model low-Re issue has not been seriously investigated? | vkrastev | OpenFOAM | 58 | January 8, 2018 16:20 |
[mesh manipulation] Cyclic Mesh Error | vbchris | OpenFOAM Meshing & Mesh Conversion | 4 | November 15, 2012 14:04 |
Cyclic bc. and overlapGgi | Pekka | OpenFOAM | 12 | February 15, 2012 08:10 |
[Commercial meshers] Handling cyclic BC from gambit to openfoam for a cascade airfoil problem - OF 1.6 | maverick | OpenFOAM Meshing & Mesh Conversion | 2 | June 18, 2011 05:36 |
Pressure instability with rhoSimpleFoam | daniel_mills | OpenFOAM Running, Solving & CFD | 44 | February 17, 2011 18:08 |