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

cuttingPlane with cyclic BC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 14, 2013, 05:20
Smile cuttingPlane with cyclic BC
  #1
New Member
 
Julia Docampo
Join Date: Jun 2013
Location: Barcelona, Spain
Posts: 14
Rep Power: 12
Xulia is on a distinguished road
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!!
Xulia is offline   Reply With Quote

Old   April 26, 2016, 07:27
Default
  #2
New Member
 
sandy
Join Date: Aug 2011
Posts: 13
Rep Power: 14
vishwakarma is on a distinguished road
Quote:
Originally Posted by Xulia View Post
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!!

Did you get the answer to your question? I am facing the same problem and not able to resolve it.
vishwakarma is offline   Reply With Quote

Reply

Tags
channelflow les, cuttingplane, cyclic bc, runtime postprocessing


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 Off
Pingbacks are On
Refbacks are On


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 15:20
[mesh manipulation] Cyclic Mesh Error vbchris OpenFOAM Meshing & Mesh Conversion 4 November 15, 2012 13:04
Cyclic bc. and overlapGgi Pekka OpenFOAM 12 February 15, 2012 07: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 04:36
Pressure instability with rhoSimpleFoam daniel_mills OpenFOAM Running, Solving & CFD 44 February 17, 2011 17:08


All times are GMT -4. The time now is 12:10.