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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 30, 2022, 04:15
Default interPhaseChangeFoam: Adding a T.liquid file
  #1
New Member
 
Prithvi
Join Date: Mar 2022
Location: Darmstadt
Posts: 6
Rep Power: 5
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 36 July 16, 2024 04:52
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 02:41
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24


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