CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLOW-3D

Interim Depth variable

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 25, 2013, 12:55
Default Interim Depth variable
  #1
New Member
 
Evan T
Join Date: Apr 2013
Posts: 1
Rep Power: 0
EvanT is on a distinguished road
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.
EvanT is offline   Reply With Quote

Old   June 4, 2013, 16:38
Default
  #2
Member
 
Join Date: Mar 2012
Posts: 71
Rep Power: 5
dmilano is on a distinguished road
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.
dmilano is offline   Reply With Quote

Reply

Tags
customization, flow 3d

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFoam-1.6-ext Allwmake compilation error - one last barrier Pat84 OpenFOAM Installation 15 July 25, 2012 21:49
emag beta feature: charge density charlotte CFX 4 March 22, 2011 10:14
error in COMSOL:'ERROR:6164 Duplicate Variable' bhushas Main CFD Forum 1 May 30, 2008 04: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


All times are GMT -4. The time now is 05:36.