CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   How to add an equotion to boundary condtion? (https://www.cfd-online.com/Forums/openfoam-programming-development/223046-how-add-equotion-boundary-condtion.html)

Arch_DD December 19, 2019 02:46

How to add an equotion to boundary condtion?
 
Hello everyone, I am Zhang Li. It is my first time using openFOAM.


I am a master student major in architecture and working on internal thermal environment simulation. My topic is evaluating the effect and efficiency of using PCM (phase change material) floor in a room.



As you know, the properties of PCM will change due to the change of temperature. My method is treating PCM as a changing boundary condition, then simulate air temperature in the room. In this way, I might need to add some equations to make boundary condition as a changing condition. For example, usually temperature conductivity is a fixed value but in my case, K=f(θ) (K is Temperature conductivity, θ is Temperature).



Besides, is it proper to use `bouyantBoussinesqPimple` solver in this case.



I am sorry that I nearly have no knowledge on programming. I am really appreciate if anyone can give an idea and suggestion.



Thank you.


All times are GMT -4. The time now is 04:12.