CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

interPhaseChangeFoam: Adding a T.liquid file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 30, 2022, 03:15
Default interPhaseChangeFoam: Adding a T.liquid file
  #1
New Member
 
Prithvi
Join Date: Mar 2022
Location: Darmstadt
Posts: 6
Rep Power: 4
prinux is on a distinguished road
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
prinux is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 00:36.