|
[Sponsors] |
June 30, 2022, 03:15 |
interPhaseChangeFoam: Adding a T.liquid file
|
#1 |
New Member
Prithvi
Join Date: Mar 2022
Location: Darmstadt
Posts: 6
Rep Power: 4 |
Hello Foamers,
I'm relatively new to OpenFOAM and have been tasked to extend interPhaseChangeFoam for solving multiphase simulation with heat and mass transfer. I have added an EEqn.H to the solver files and it compiles without issues. My question is : How do I initialize temperatures for the different phases in my simulation. I am able to add temperature as a boundary condition to the walls of the domain. Previously, I had tried to do the same using setFieldsDict, but all it does is initialize the temperature field for the phases, but doesn't get solved for the next time step and the temperature field reverts to the internal field value defined in 0/T.orig file. Do I have to add a T.liquid or a T.vapour file in the 0 folder of my case files, like in multiPhaseEulerFoam, or have I missed something while extending the solver? I'm using OpenFOAM v8 on Ubuntu 20.04. Thanks, Prithvi |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using PengRobinsonGas EoS with sprayFoam | Jabo | OpenFOAM Running, Solving & CFD | 35 | April 29, 2022 15:35 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 01:41 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 11:44 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 01:24 |