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

cyclic patchType with inletOutlet boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 1, 2016, 08:20
Default cyclic patchType with inletOutlet boundary condition
  #1
Member
 
Join Date: Jun 2011
Posts: 42
Rep Power: 14
mikeP is on a distinguished road
Hello,

I am trying to simulate a cyclic flow with a defined uniform temperature value at the inlet. The following two boundary conditions for T work in a serial case:

Quote:
type inletOutlet;
patchType cyclic;
inletValue uniform 290;
value uniform 290;
and

Quote:
type groovyBC;
patchType cyclic;
valueExpression "290";
value uniform 290;
However, when I try to run the case in parallel, I get the following error immediately at the start of the simulation.

FOAM FATAL IO ERROR:
inconsistent patch and patchField types for patch type cyclic and patchField type inletOutlet

Is this a bug? I know there is also the possibility of mapped boundary condition. But it is more convenient in this particular case if I can do it with cyclic.

I am using chtMultiRegionSimpleFoam as solver and OpenFOAM v2.4.
mikeP is offline   Reply With Quote

Old   August 14, 2016, 08:50
Default
  #2
Senior Member
 
Artur's Avatar
 
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 19
Artur will become famous soon enough
Hi,

This sort of problem appears if your boundary is defined in constant/polyMesh/boundary as a type cyclic and then you try to assign a non-cyclic BC to it. This causes issues because the physical definition of the boundary in the mesh files is different to what you are prescribing. Hard to say how you managed to get it to work in serial, my guess is somewhere between making the mesh and decomposing it things got twisted around. My advice is to look through the mesh files and make sure everything is consistent and the way you intended.

All the best,

A
Artur is offline   Reply With Quote

Old   August 16, 2016, 10:25
Default Doubt in cyclic Boundary Condition
  #3
Member
 
Suman Chakraborty
Join Date: Sep 2014
Location: Mumbai, India
Posts: 42
Rep Power: 11
suman91 is on a distinguished road
Hi,

Am currently new to OpenFOAM and wanted to know how to apply cyclic boundary conditions. I am running a 3D test case in which the front and back faces I want as cyclic. In the blockMeshDict file I have mentioned type as "cyclic".

a. Where to mention the neighbor patches?
b. In which other files I need to do changes?
suman91 is offline   Reply With Quote

Old   August 4, 2021, 14:29
Default
  #4
New Member
 
Saumava Dey
Join Date: Sep 2020
Posts: 29
Rep Power: 5
saumavadey is on a distinguished road
Hello!
I have developed a customized boundary condition "criticalDepthBC" based on fixedValueFvPatchField.

The test case that I am solving has an internal boundary. For creating the internal boundary I have used the createBaffles utility. Now, the boundary conditions implemented on the master patch have to be mapped onto the slave patch. I am using patchType: cyclic for that.

For the fields, I have prescribed zeroGradient BC with patchType cyclic expect for one where I have prescribed my customized BC "criticalDepthBC" with patchType cyclic.

After running the command createBaffles, the master and slave boundaries for all the fields with zeroGradient BC are overwritten correctly except for the customized BC "criticalDepthBC".

I don't know why is this happening.
Please help with your valuable suggestions!
saumavadey is offline   Reply With Quote

Reply


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
Centrifugal fan j0hnny CFX 13 October 1, 2019 13:55
Problem in setting Boundary Condition Madhatter92 CFX 12 January 12, 2016 04:39
Low Mixing time Problem Mavier CFX 5 April 29, 2013 00:00
About cyclic boundary condition mmkr825 OpenFOAM 0 December 16, 2012 23:44
About cyclic boundary condition mmkr825 OpenFOAM 0 December 14, 2012 01:36


All times are GMT -4. The time now is 04:31.