CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Adding a code for ControlDict for calculaitng Flux

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2020, 01:30
Default Adding a code for ControlDict for calculaitng Flux
  #1
Member
 
Munaf
Join Date: May 2019
Posts: 38
Rep Power: 6
mwmalkawi is on a distinguished road
Hi All,

Can anyone help me in adding a code in contorlDict to calculate the flux i have incompressible pipe flow with one inlet and two outlets and would like to calculate the flux through these boundaries in order to know if the solution has reached steady state or not

Please note i am using OpenFoam V1812

I have added the below but it is giving erorr regarding faceZone so maybe you got a differenet way or code

fluxSummary1
{
type fluxSummary;
libs ("libfieldFunctionObjects.so");
mode faceZone;

faceZone
("inlet1"
"outlet1"
"outlet2");
  
}
mwmalkawi is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Udf for moving heat flux in 2D cylindrical geometry devia21 Fluent UDF and Scheme Programming 0 April 20, 2015 00:27
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
Adding heat flux and pressure at free surface tyb001 FLUENT 0 January 31, 2013 10:13
Problem setting with chtmultiregionFoam Antonin OpenFOAM 10 April 24, 2012 09:50


All times are GMT -4. The time now is 12:28.