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

Post processing heat flow at inlet and outlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 6, 2018, 07:40
Default Post processing heat flow at inlet and outlet
  #1
New Member
 
Join Date: Feb 2014
Posts: 4
Rep Power: 12
gerrit91 is on a distinguished road
Hello,

I am investigating a heat transfer case using buoyantSimpleFoam. The heat transfer itself is evaluated using the wallHeatFlux at the hot patches.

Additionally I would like to check the heat balance of the fluid over the inlet/outlet. To achieve that I see two ways:
1. Multiply the patch values of rho, U, he and area face wise and sum them up
2. Multiply phi, he and the area face wise and sum them up

I adjusted the solver to gain these fields.

Next I would like to adjust the post processing tool patchAverage to something like patchHeatTransfer...

My current problem is, that the original patchAverage does not work on the "he" field. I gain the error message:

Code:
    Reading volScalarField he


--> FOAM FATAL IO ERROR: 

    Cannot find 'value' entry on patch wall1 of field he in file ".../6mm-103-U-1-19821-80perc-H2O/60010/he"
    which is required to set the values of the generic patch field.
    (Actual type gradientEnergy)

    Please add the 'value' entry to the write function of the user-defined boundary-condition


file: .../6mm-103-U-1-19821-80perc-H2O/60010/he.boundaryField.wall1 from line 33693 to line 33694.

    From function genericFvPatchField<Type>::genericFvPatchField(const fvPatch&, const Field<Type>&, const dictionary&)
    in file genericFvPatchField/genericFvPatchField.C at line 71.

FOAM exiting
As far as I understand, the tool is searching the value entry at the patch "wall1", which is adiabatic by the way.

Why is it searching this entry? I do not have this problem with the rho field.

Does someone know how to solve this?
gerrit91 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
Calculate Mass Flowrate and Mass Flow Averaged Total Pressure at inlet and outlet coolcrasher OpenFOAM Post-Processing 7 November 4, 2021 04:57
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 06:40
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 01:27
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 05:15
Want Impeller Driven Fluid Flow: What Inlet and Outlet BC to use for Centrifugal Pump Zev Xavier FLUENT 3 May 9, 2016 06:42


All times are GMT -4. The time now is 07:09.