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

help, make heat transfer coefficient of type Function1 in externalWallHeatFluxTempBC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 20, 2021, 20:23
Default help, make heat transfer coefficient of type Function1 in externalWallHeatFluxTempBC
  #1
New Member
 
Katsantonis Michalis
Join Date: Dec 2017
Posts: 21
Rep Power: 8
mixkats is on a distinguished road
Greetings,


in OF8, the externalWallHeatFluxTemperature BC in the constant heat transfer coeff mode, can read the ambient Temperature (Ta) from a tableFile, or as a type of Function1, as it is mentioned in it's description.
What I would like to do is to turn also the heat transfer coeff to be read from a tableFile, make i t a Function1.
Despite all of my effort, I couldn't manage it, as I don't have the luxury to understand C++ from point zero.
Below is attached what I managed so far:
myExternalWallHeatFluxTemperature.zip


I compiled it, If understood correctly, but when I run my case I get:


Code:
/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  8
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : 8-340defec456f
Exec   : multiphaseEulerFoam
Date   : Feb 21 2021
Time   : 02:18:25
Host   : "mix-VPCEH1E1E"
PID    : 20434
fileName::stripInvalid() called for invalid fileName /home/mix/OpenFOAM/mix-8/run/groovyFB(500K)(myE)
    For debug level (= 2) > 1 this is considered fatal
Aborted (core dumped)

I could reeeeeeeally use some help!!
Thank you
mixkats is offline   Reply With Quote

Reply

Tags
custom bc, externalwallheatfluxtemp, function1


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
Simulation of a chimney with heat in open atmosphere Jurado OpenFOAM Running, Solving & CFD 9 December 18, 2020 08:35
Compression instead of expansion EnricoDeFilippi OpenFOAM Running, Solving & CFD 1 October 8, 2018 11:19
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 18:38
singularity? mihaipruna OpenFOAM Running, Solving & CFD 5 April 24, 2012 18:18
Pressure instability with rhoSimpleFoam daniel_mills OpenFOAM Running, Solving & CFD 44 February 17, 2011 18:08


All times are GMT -4. The time now is 00:46.