|
[Sponsors] |
June 7, 2016, 15:01 |
Boundary condition for phi field.
|
#1 |
New Member
Jean Schuster
Join Date: Jan 2015
Posts: 8
Rep Power: 11 |
Hi guys.
I'm trying to simulate a shear driven flow (Couette flow) with different temperatures between the superior an inferior boundaries, with the top wall moving an the bottom wall at rest. I'm using OpenFoam 2.4.0. For that I'm plainning to use the buoyantPimpleFoam solver. The superior and inferior boundaries are of the type wall, and the horizontal boundaries (streamwise and spanwise directions) are of the type cyclic. For the phi field it is needed to specify a value for the cyclic boundary condition, and I dont know the right way to set this. Setting it like the code bellow I'm able to run my case, but I think that it makes no sense setting it to uniform 0 on the cyclic boundaries. Code:
dimensions [1 0 -1 0 0 0 0]; internalField uniform 0; boundaryField { bottomWall { type fixedValue; value uniform 0; } topWall { type fixedValue; value uniform 0; } sides1_half0 { type cyclic; value $internalField; } sides1_half1 { type cyclic; value $internalField; } sides2_half0 { type cyclic; value $internalField; } sides2_half1 { type cyclic; value $internalField; } inout1_half0 { type cyclic; value $internalField; } inout1_half1 { type cyclic; value $internalField; } inout2_half0 { type cyclic; value $internalField; } inout2_half1 { type cyclic; value $internalField; } } Regards. |
|
June 13, 2016, 03:44 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
as much as i know, here the value is place holder and your assigned magnitude is irrelevant.
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
June 14, 2016, 10:03 |
|
#3 |
New Member
Jean Schuster
Join Date: Jan 2015
Posts: 8
Rep Power: 11 |
||
Tags |
phi boundary condition, phi field, phi openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Field value inside a boundary condition class | pcaron | OpenFOAM Programming & Development | 14 | October 17, 2022 10:40 |
Centrifugal fan | j0hnny | CFX | 13 | October 1, 2019 14:55 |
[Other] dynamicTopoFVMesh and pointDisplacement | RandomUser | OpenFOAM Meshing & Mesh Conversion | 6 | April 26, 2018 08:30 |
External Radiation Boundary Condition (Two sided wall), Grid Interface | CFD XUE | FLUENT | 0 | July 8, 2010 07:49 |
Convective Heat Transfer - Heat Exchanger | Mark | CFX | 6 | November 15, 2004 16:55 |