|
[Sponsors] |
May 3, 2022, 13:05 |
Function Objects - PatchFunction1
|
#1 |
New Member
Utkan Erdem
Join Date: Sep 2020
Posts: 19
Rep Power: 5 |
Hello Foamers,
I am still new to programming in OpenFOAM, so I wanted to ask a question that may be trivial for others. I am trying to implement a time-varying externalWallHeatFlux boundary condition to an already existing case of "hotRoom". In my case, I want to have the outer walls receive varying external heat loads with time while calculating the radiative heat transfer of different materials within the room. I already have a .txt file (which is convertible into a .csv file) that has the external heat flux data on different columns and with each row, the time-step is incremented by one. I've learned that with patchFunction1 utility under meshTools library, it is possible to have time and space varying heat fluxes as a boundary condition and PatchFunction1 is no different than a regular Function1. The problem is, that I cannot utilize this utility in the controlDict file. When I follow the steps on these two websites https://www.openfoam.com/documentati...n-objects.html and https://cpp.openfoam.org/v3/a00004.html I get a fatal error saying that PatchFunction1 is an unknown function type and gives me 9 types of valid function objects. What am I doing wrong here? Do you know how can I introduce the PatchFunction1 utility as a function object to the solver? Thanks for reading, any help would be greatly appreciated. Last edited by Utkan; May 3, 2022 at 14:41. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error in enabling the python wrapper | Jinn | SU2 Installation | 2 | April 23, 2022 13:52 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 13:06 |
latest OpenFOAM-1.6.x from git failed to compile | phsieh2005 | OpenFOAM Bugs | 25 | February 9, 2010 04:37 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 20:50 |