|
[Sponsors] | |||||
wallHeatTransferCoeff in chtMultiRefionFoam OF6 not working |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 | ||
|
Senior Member
|
Hello Everyone,
In chtMultiRegionFoam, I want to calculate heat transfer coefficient. OpenFOAM has introduced "wallHeatTransferCoeff" function object in OF6 to calculate heat transfer coefficient directly. Here is the link I am trying to test this function. Hence, I have only included following function in controlDict to calculate the wall heat transfer coefficient. Quote:
But I am getting following error Quote:
It seems like wallHeatTransferCoeff has not been for chtMultiRegionFoam, but realease note of OF6 specially mentions that it could be used to calculate heat transfer coefficient in multi-regio simulation. Did anyone try this function? Am I missing something or making a mistake? I took OF6 multiRegionHeater tutorial, I didn't change anything in tutorial at all Thank you Regards |
|||
|
|
|
|||
|
|
|
#2 |
|
Senior Member
Join Date: Sep 2013
Posts: 353
Rep Power: 22 ![]() |
This was made for incompressible solvers. Hence your error message. While chtMultiRegion can calculate incompressible flow it is still a compressible solver (which allows the user to set a constant density). If you follow the link you gave to the commit you can read
Code:
wallHeatTransferCoeff: New functionObject to calculate the wall heat … …transfer coefficient for incompressible flow simulated using simpleFoam, pimpleFoam or pisoFoam. This function object calculates this in the following fashion: Code:
wallHeatTransferCoeffBf[patchi] =
rho_*Cp_*(nuBf[patchi]/Prl_ + nutBf[patchi]/Prt_);
|
|
|
|
|
|
|
|
|
#3 | |||
|
Senior Member
|
Hi Bloerb,
Thank you for your reply. Quote:
You are absolutely right, it is mentioned over there that it is for incompressible flow but I couldn't find that it is only for flow using using simple. pimple or pisoFoam. What I could find is: Quote:
It is meant for multiRegion (off course incompressible) and as per my understanding from this link, there is only one solver for multiregion in OF-6 i.e. chtMulriRegionFoam (they have combined both chtMulriRegionSimpleFoam and chtMulriRegionFoam in one solver i.e chtMulriRegionFoam) and chtMulriRegionFoam is by default for compressible fluid. Quote:
Then how could we use wallHeatTransferCoeff for multi-region? Regards |
||||
|
|
|
||||
|
|
|
#4 |
|
Senior Member
Join Date: Sep 2013
Posts: 353
Rep Power: 22 ![]() |
As I said, you can't use it with this solver without programming your own utility
|
|
|
|
|
|
|
|
|
#5 | |
|
Member
giovanni
Join Date: Sep 2017
Posts: 50
Rep Power: 10 ![]() |
Quote:
Could someone explain the formula used for heat transfer coefficient mentioned above? I want to use it for an incompressioble simulation with water trough pipes . Water is at 100C and the solver used is simpleFoam. I want to visualize the "virtual" heat transfer coefficient at walls . I think that I have set correctly the function object in the controlDict : Code:
wallHeatTransferCoeff1
{
type wallHeatTransferCoeff;
libs ("libfieldFunctionObjects.so");
//region fluid;
//patches (".*Wall");
rho 997;
Cp 4215.7;
Prl 1.64;
Prt 0.9;
}
what I have missed? thanks |
||
|
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| InterFoam: Different results in OF5 and OF6 | vatavuk | OpenFOAM Bugs | 19 | January 26, 2021 18:22 |
| findCell() in parallel: not working if location is outside the domain | TobiWol | OpenFOAM | 0 | January 10, 2018 15:33 |
| Processor 0 not working | vishwesh | OpenFOAM Running, Solving & CFD | 0 | November 17, 2017 04:35 |
| DPM parallel is not working but serial is working | johnwinter | FLUENT | 1 | March 27, 2012 03:01 |
| Working directory | mgonzalo | FLUENT | 1 | November 11, 2011 11:05 |