|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 111
Rep Power: 5 ![]() |
Hi Foamers,
I have ''wallHeatFlux'' function working perfectly fine in OpenFOAM 7. So I call the function wallHeatFlux from 'controlDict' as ; Code:
functions { #include "vtkWrite" #include "wallHeatFlux" } Code:
wallHeatFlux1 { // Mandatory entries (unmodifiable) type wallHeatFlux; libs (fieldFunctionObjects); region topSolid; // Optional entries (runtime modifiable) patches (maxZ maxZ1); // (wall1 "(wall2|wall3)"); //qr qr; // Optional (inherited) entries executeControl timeStep; executeInterval 1; writeControl writeTime; } wallHeatFlux2 { // Mandatory entries (unmodifiable) type wallHeatFlux; libs (fieldFunctionObjects); region wallSolid; // Optional entries (runtime modifiable) patches (maxY); // (wall1 "(wall2|wall3)"); //qr qr; // Optional (inherited) entries executeControl timeStep; executeInterval 1; writeControl writeTime; } PHP Code:
I would really appreciate if you guys direct me in in the correct path. Thanks Dasith |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
abdikerim kurbanaliev
Join Date: Jun 2010
Location: Kyrgyzstan, Osh
Posts: 121
Rep Power: 16 ![]() |
<div>Dear Dasith, <br></div><div>In my case everything is OK with wallHeatFlux in OF 10. I have used wallHeatFlux which is worked fine in OF 7 too. Please, see the attached compressed files.
Kerim</div> |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 111
Rep Power: 5 ![]() |
Hi Kerim,
Thank you for the quick respond, it works fine now! However I had to make a slight change to the 'wallHeatFlux' file as I am running 'chtMultiRegionFoam' as follows. Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | ------------------------------------------------------------------------------- Description Calculates the heat-flux at wall patches, outputting the data as a volScalarField. \*---------------------------------------------------------------------------*/ type wallHeatFlux; libs ("libfieldFunctionObjects.so"); region topSolid; // Optional entries (runtime modifiable) patches (maxZ maxZ1); // (wall1 "(wall2|wall3)"); // Optional (inherited) entries executeControl timeStep; executeInterval 1; writeControl writeTime; // ************************************************************************* // Thank you ![]() Dasith |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
abdikerim kurbanaliev
Join Date: Jun 2010
Location: Kyrgyzstan, Osh
Posts: 121
Rep Power: 16 ![]() |
Well done. Good luck!
|
|
![]() |
![]() |
![]() |
Tags |
openfoam 10, wallheatflux |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
reactingFoam crashes with no iterations | uckmhnds | OpenFOAM Running, Solving & CFD | 3 | July 17, 2022 18:41 |
OpenFOAM version switch from ESI to Foundation | vronti | OpenFOAM | 1 | May 2, 2022 03:48 |
OF 6 wallHeatFlux utility not working on chtMultiRegionFoam tutorial | troparry | OpenFOAM Post-Processing | 1 | January 10, 2022 06:12 |
Turbulent flow around a cylinder with pimpleFoam | Nazim | OpenFOAM Running, Solving & CFD | 2 | May 19, 2020 06:58 |
libz.so.1: no version information available | dmaz | OpenFOAM Running, Solving & CFD | 3 | January 4, 2015 16:54 |