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

Non constant T_ambient in externalWallHeatFluxTemperature

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Alczem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 13, 2023, 04:20
Default Non constant T_ambient in externalWallHeatFluxTemperature
  #1
New Member
 
Nikos
Join Date: Aug 2012
Location: Greece
Posts: 13
Rep Power: 13
nikoscham is on a distinguished road
Hi, I am using the "externalWallHeatFluxTemperature" boundary condition in a transient simulation. I am using openfoam v2012.
I would like to set the T_ambient (Ta) as the mean temperature of a face. The temperature of this face changes during the simulation, so, Ta, should be calculated/updated in every time step.

Code:
    {
        type            externalWallHeatFluxTemperature;
        mode            coefficient;
        Ta              constant 300.0; //Should be calculated as the average temperature of a face
        h               constant 10.0;
        . . . 
    }
Do you have any idea of how can I implement such boundary condition?
All the best
Nikos
nikoscham is offline   Reply With Quote

Old   February 13, 2023, 08:59
Default
  #2
Senior Member
 
Join Date: Dec 2021
Posts: 209
Rep Power: 5
Alczem is on a distinguished road
Hey!


I think the inputValueMapper is a good way to achieve this, but I have never used it so far (I made a post asking about it, no luck so far).


I'll just link this:


https://www.linkedin.com/pulse/new-f...bias-holzmann/


Here you can see something slightly similar to what you want to do, but I could not make it work when I tried.


Good luck to you, and please report any progress you make, I would like to know if you manage to figure it out
nikoscham likes this.
Alczem 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
Domain Reference Pressure and mass flow inlet boundary AdidaKK CFX 75 August 20, 2018 05:37
Fix constant timestep with explicit TIME_STEPPING simulations, is it possible? ssss SU2 1 February 24, 2018 12:36
Constant Volume Combustion with reactingFoam Alish1984 OpenFOAM Running, Solving & CFD 2 May 8, 2011 08:51
Fluent RPvar list for molar-weight pilou FLUENT 6 February 21, 2011 03:08
Really big problems when creating own materials da Jop FLUENT 0 June 28, 2007 11:15


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