New openComfort library published
Hi all,
I am happy to announce that I developed a new openComfort library + application which can be used to analyze thermal comfort behavior based on EN ISO 7730. The code can be found on my website including the openComfort library, the comfortFoam application and two tutorials that show how to use it. Based on the fact that I am not a civil engineer or at least working in that field of application, I cannot tell you if the values that are calculated are reliable. Feedback is welcomed. In addition, I will not support / update or change the old comfortFoam which was developed by Thomas Tian. I keep it on my bitbucket but it contains some mistakes and based on the new library (which allows easier maintenance and extension) it is depreciated. The library calculates:
The library and application can be found on Holzmann CFD | Software Development http://holzmann-cfd.de/cfd-online/openComfort.png |
This is great! I've been thinking about doing something like this for a long time now but haven't had the time. It would be great to have something like this included as a functionObject to OpenFOAM code base. I will definitely test this :)
Also, I think it should be pretty easy to add other thermal comfort models to the library? |
Hi,
I was forced by Thomas Tian to do it :) - he never gave up asking me: Tobi when do you check the comfortFoam application. However, I did a complete new development exactly based on easy maintenance and flexibility. Due to the fact that it is a library now, you can easily add it to the functions and using it in the postProcess utility. I was mentioning it to the Foundation (https://bugs.openfoam.org/view.php?id=2678) but it should be extended further. Right now I only added the usage to incompressible flows. If you extend it, feel free to make a push request. |
Error with Comfortfoam Solver while running in K-Epsilon
1 Attachment(s)
Hi Tobi,
I have downloaded the comfortFoam solver, from your website and compiled it successfully. As I am interested in your solver and want to make it for compressible flow cases, presently i am checking your solver for incompressible case with K-Epsilon model. Your solver running fine on simple geometry case in laminar flow, when i want to run this solver by using RAS K-epsilon model. The bouyantBoussinesq solver completed its 600 iteration, but upon using comfortFoam solver, in its first iteration after Solution of AOA this error has generated. Quote:
Please help me out of this problem. I have attached my log files in simple geometry zip file. Thanks & Regards Shadab |
Implementation of Comprssible part for the calculation of AOA
1 Attachment(s)
Hello Foamers,
I have try to implement the compressible part in openComfort.C file. I am not very good in implementing of solver, I understand the code and try to implement the compressible part of it. When I compiled the solver it is giving many errors, I am understanding the errors but I am not able to find the solution. The error report is given below. Code:
mechartes@MRDC-001:~/Thermal_Comfort/Solver_Development/opencomfort/src/openComfort$ wmake Thanks and Regards Shadab |
Hi,
if you build it, keep a clean programming and make a pull request. I can add the extension and do not provide it myself (lack of time). However to your problem. As it is written, e.g. rho is not defined: Code:
solveAoA(rho, muEff, phi); To your comment with the references (turb->muEff()); I don't know why I did not use a reference here but there was a reason for doing that. Cannot remember. Is there a reason why you comment the incompressible code pieces? |
Compressible AoA Implemented
Hi Shadab Mohammed and dear community,
based on the try of Shadab to implement the compressible AoA calculation into the openComfort library, I took the time to implement the it today. In addition, I can tell you why we could not use the references in the viscosity statement. The nuEff() function will return a tmp<> object. I tried to wrap it to get the reference but it was not working. Right now the only way is the copy but I do not know if it is a real copy in that case. I have to check out the tmp class for that to be sure what is going on here. Please let me know if the calculation works.
|
Problem with the copy of the nuEff() and muEff() field is resolved by commit f1a1a2de3b3f1828d3f4eb108d6509992ff9a8f6
|
Hi Tobi,
Noticed that you are missing a } in line 203 of openComfort.C in the latest commit. Cheers, Antimony |
Good morning Antimony,
thank you for the report. Interesting because I checked the compilation yesterday. However, maybe my fingers in vim were too fast and I did some deletion. The problem is resolved in commit 21922e6f4476c0c5697c4949245c6835ab77ef27 |
Hello Tobias
Great library, but if it is possible I need some documentation about the theoretical and mathematical equations about the calculation of PMV, Tcl, and AoA. Thanks in advance. Regards. |
Hi Tobi,
The opencomfort code is no longer in your bitbuket, could you give another link available? Cheers |
Hi,
I am sorry but I closed the code. |
Hi everybody,
I rebuild the code as objectFunction which will be released soon in the DEV line of the Foundation version. Enjoy. |
All times are GMT -4. The time now is 11:41. |