|
[Sponsors] |
Writing out interphasechangefoam mass transfer terms as fields |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Sri
Join Date: Nov 2012
Posts: 10
Rep Power: 14 ![]() |
Hello,
I am trying to write out the mass condensation and evaporation terms (m+, m-) as fields per time-step in the interPhaseChangeFoam solver. What is the best way of doing this? Has anybody done this before? I am just a beginner with C++ Thank you very much, Sri |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Eysteinn Helgason
Join Date: Sep 2009
Location: Gothenburg, Sweden
Posts: 53
Rep Power: 17 ![]() |
Hi Sri
Here is a nice tutorial showing how you can modify the solver in order to add a transport equation for temperature. If you follow what is shown on page 6, so starting by copying the solver to your folder and ending with wmake on top of page 7. Then open your myInterPhaseChangeFoam.C and add Code:
alpha1.write(); Code:
runTime.write(); /Eysteinn |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Sri
Join Date: Nov 2012
Posts: 10
Rep Power: 14 ![]() |
Hi,
Thanks for the reply. Although, what you are suggesting writes our alpha1 which is the liquid volume fraction (this is written anyway as a field). I am trying to write out a modified form of mDot() which is in the PhaseChangeMixture folders under the mass transfer models (for my case it is SchnerrSauer.C). Thanks, Sri |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error message: Insufficient Catalogue Size | Paresh Jain | CFX | 33 | August 16, 2024 06:09 |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
a reconstructPar issue | immortality | OpenFOAM Post-Processing | 8 | June 16, 2013 12:25 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 18:44 |
writing UDF for modelig mass transfer for VOF | ardalan soleymani | FLUENT | 0 | July 11, 2007 02:09 |