|
[Sponsors] |
February 19, 2015, 13:02 |
time varying heat flux boundary condtion
|
#1 |
New Member
Long
Join Date: Nov 2010
Posts: 2
Rep Power: 0 |
Hi guys,
does anyone has experiences to deal with the time-dependent heat flux boundary condition? Specially, I'm using externalWallHeatFluxTemperature now and defining a heat flux q. Everything works just fine when the heat flux is constant. However, when I try to think about time varying heat flux, I realise that I dont have to much chooses. The tutorial lists following BCs which seem are all about velocites and pressures:
Does anyone has faced with this problem before or has the experience of implementation of such BCs? Thanks for your advices! Long |
|
February 26, 2015, 10:33 |
|
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
You have to create your own version of the externalWallHeatFluxTemperature boundary condition, following the example of the uniformValue boundary condition (https://github.com/OpenFOAM/OpenFOAM...formFixedValue). Your internal variable for the heat flux has to be be a DataEntry variable (see http://www.openfoam.org/version2.1.0...conditions.php), something like:
Code:
autoPtr<DataEntry<scalar> > qEntry_; https://github.com/OpenFOAM/OpenFOAM...chField.C#L145 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
dynamic Mesh is faster than MRF???? | sharonyue | OpenFOAM Running, Solving & CFD | 14 | August 26, 2013 08:47 |
Enforce bounds error with heat loss boundary condition at solid walls | Chander | CFX | 2 | May 1, 2012 21:11 |
Heat Flux Wall Boundary Confusion. | Joee | FLUENT | 1 | August 21, 2010 13:20 |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 05:05 |