|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
|
hello, how do i enter a Robin's boundary condition between fluid and solid regions of the form:
k\nabla T=h(T-Tinf)+q Tinf is initial temperature which equals ambient temperature. where q is a fixed heat flux. i am referring to the solver in the title only. thx in advance
__________________
My website: https://sites.google.com/site/rosensteincfd/ |
|
|
|
|
|
|
|
|
#2 |
|
Member
Julian
Join Date: Sep 2019
Posts: 33
Rep Power: 8 ![]() |
Hello,
The stock boundary conditions for the OF CHT solver are implemented as Robin boundary conditions in software. That is, the code for turbulentTemperatureCoupledBaffleMixed inherits from a mixed BC or the combination of a value and its derivative at the interface. Notice that in the code (here), the gradient portion of this BC is set to zero (this->refGrad() = 0). This leaves just a weighted average of the wall-adjacent cell-center temperatures to calculate the interface temperature. The average is weighted by the thermal conductivities of the neighboring reigons. I hope this gives you a starting point for modifying the code to use Robin BCs. |
|
|
|
|
|
|
|
|
#3 |
|
Member
Julian
Join Date: Sep 2019
Posts: 33
Rep Power: 8 ![]() |
OH and I see that OpenFOAM already provides this convective BC. See here:
https://cpp.openfoam.org/v8/external...8H_source.html |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to set BCs programmatically | incompressible | OpenFOAM Programming & Development | 6 | November 20, 2017 03:47 |
| Cluster ID's not contiguous in compute-nodes domain. ??? | Shogan | FLUENT | 1 | May 28, 2014 16:03 |
| Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 10:28 |
| Dealing with BC's in OF 1.6 | vkrastev | OpenFOAM Running, Solving & CFD | 5 | September 4, 2012 12:58 |
| Mixed Convection BCs | deji | OpenFOAM | 1 | August 20, 2012 17:09 |