|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Evan T
Join Date: Apr 2013
Posts: 1
Rep Power: 0 ![]() |
Hi
I'm trying to make a custom executable to compute the concentration of a scalar. As an input to the source/sink computations I need to know the depth of water. This is available as a post process variable, but does not seem to be readily available during the run. Do I need to run from the water surface (where source/sink occurs) down through the cells looking for the model invert or is there a variable that would give either the depth or distance to the invert at a cell? Alternate poor idea. Run model once, output post processed depth at all the cells, then run again using saved results as input to the scalar computation. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Join Date: Mar 2012
Posts: 72
Rep Power: 14 ![]() |
The depth is a postprocessed quantity, so you'll need to compute it from the fluid fractions and volume fractions in a particular column of cells.
|
|
![]() |
![]() |
![]() |
Tags |
customization, flow 3d |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFoam-1.6-ext Allwmake compilation error - one last barrier | Pat84 | OpenFOAM Installation | 15 | July 25, 2012 22:49 |
emag beta feature: charge density | charlotte | CFX | 4 | March 22, 2011 10:14 |
error in COMSOL:'ERROR:6164 Duplicate Variable' | bhushas | COMSOL | 1 | May 30, 2008 05:35 |
Env variable not set | gruber2 | OpenFOAM Installation | 5 | December 30, 2005 05:27 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 21:09 |