|
[Sponsors] |
Advective boundary condition for settling diffusiv scalar field |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 28, 2022, 07:16 |
Advective boundary condition for settling diffusiv scalar field
|
#1 |
New Member
Roie Ezraty
Join Date: Oct 2020
Posts: 4
Rep Power: 6 |
Dear FOAMers,
I have a problem with a boundary condition for a diffusive scalar field I added to my BouyantBoussinesquPimpleFOAM solver. I have a 2D tank filled with the scalar field C which settling at a constant velocity (using a modified flux I called "phiC" which has a uniform downward component of velocity). I want this field to simply pass through the bottom of the tank without accumulating. I figured this should be done using Advective boundary condition, but looks like just above the bottom the field still accumulates. I attach here the profile of the C field and a "plot over line" in the vertical direction of it, so the accumulation at the bottom could be visible. In another image I attach a zoom-in of the bottom to emphasize the effect: The 0/C file looks like this: dimensions [0 0 0 0 0 0 0]; // salt crystals is dimless internalField uniform 1; boundaryField { top { type zeroGradient; } left { type zeroGradient; } slope { type advective; phi phiC; } bottom { type advective; phi phiC; } right { type zeroGradient; } defaultFaces { type empty; } } Does anyone know why I get this accumulation? Thanks, Roie Last edited by Roie_E; January 28, 2022 at 07:32. Reason: correcting the images |
|
Tags |
advective bc, bounadry condition, scalar field, setting |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 08:56 |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 02:44 |
compressible flow in turbocharger | riesotto | OpenFOAM | 50 | May 26, 2014 02:47 |
CFX fails to calculate a diffuser pipe flow | shenying0710 | CFX | 7 | March 26, 2013 05:13 |