|
[Sponsors] |
November 7, 2013, 15:45 |
zeroGradient vs fixedGradient vs mixedBC
|
#1 |
Member
Norbert Weber
Join Date: May 2012
Location: Dresden, Germany
Posts: 37
Rep Power: 14 |
I tried to make my own boundary condition, and discovered, that the mixed boundary condition does not behave as expected. With the following set, I thought it would work like 'zeroGradient' or 'fixedGradient' with gradient=0, but it does not. The Poisson equation for p does not converge ...
type mixed; gradient 0; value 0; valueFraction 0; Any hints? Mixed boundary condition is a mix of Dirichlet and a normal gradient? |
|
November 8, 2013, 05:07 |
|
#2 | |
Member
Norbert Weber
Join Date: May 2012
Location: Dresden, Germany
Posts: 37
Rep Power: 14 |
I found the solution: As implemented now, the mixed boundary condition can not be used as purely gradient boundary condition (valueFraction = 0).
Quote:
Last edited by dl6tud; November 8, 2013 at 11:39. |
||
October 5, 2018, 11:30 |
|
#3 | |
Member
Alberto
Join Date: Sep 2013
Posts: 37
Rep Power: 13 |
Quote:
In my current implementation (OpenFOAM 5.x) the default value is true and valueFraction = 0 does not behave as zeroGradient BC |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
second order schemes | marine | OpenFOAM | 67 | April 11, 2022 19:19 |
fixedGradient, zeroGradient? | smillion | OpenFOAM | 16 | January 8, 2022 09:17 |
multiphaseInterFoam: timestep error by simulating a co-extrusion nozzle | Quatschinsky | OpenFOAM Running, Solving & CFD | 7 | March 27, 2014 06:08 |
[swak4Foam] Air Conditioned room groovyBC | Sebaj | OpenFOAM Community Contributions | 7 | October 31, 2012 15:16 |
Pressure instability with rhoSimpleFoam | daniel_mills | OpenFOAM Running, Solving & CFD | 44 | February 17, 2011 18:08 |