|
[Sponsors] |
July 7, 2010, 10:22 |
Evaluation of evaporated mass
|
#1 |
New Member
Join Date: Jun 2010
Posts: 25
Rep Power: 16 |
Dear FOAMers,
I want to analyse the evaporation constant lambda (called denominator in the evaporation model scripts) over time and for every parcel to compare different evaporation models. I tried to get the information with implementing the printf command printf ("denominator = %E \n, denominator") in the RutlandFlashBoil.C. But it did not work. Then I implemented #include "RutlandFlashBoil.H" Info<< "denominator = " << denominator << " s" << nl << endl; I also tried to get the information of the evaporation constant with ParaView. But there is no data for it. Any suggestions? Thanks in advance. Markus |
|
July 7, 2010, 12:37 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
hi friend
you have 2 options: 1.you can show ur result in log file by adding ur written code exactly after where denominator is calculated 2. you can define ur denominator in creatField.H somethings like this : volScalarField denominator ( IOobject ( "denominator", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), mesh, dimensionedScalar ("denominator",...,0.0) ); |
|
July 8, 2010, 05:14 |
|
#3 |
New Member
Join Date: Jun 2010
Posts: 25
Rep Power: 16 |
Thank you for answer nimasam.
I added Info << "denominator = " << denominator << " s" << nl << endl; exactly after where denominator is calculated in the RutlandFlashBoil.C and compiled the library. But when running the updated case there is no denominator mentioned in the log-file. Why isn't it shown? I tried to define the denominator in the creatField.H but I dont find the file using search in whole OpenFOAM-folder. I am using OpenFOAM 1.5. How is the path of creatField.H? Thanks in advance. Best regards Markus |
|
July 8, 2010, 05:43 |
|
#5 |
New Member
Join Date: Jun 2010
Posts: 25
Rep Power: 16 |
Thank you for answer nimasam.
No, I did not compile the solver, because I think I only have to compile it when I made changes there. Isn't it? To go for sure I compiled the solver, too. But there is still no denominator mentioned in the log file. Is the coding correct? You are right, there is a file createFields.H in many solvers. However I am using the dieselFoam solver and there is no createFields.H. Is there any possibilty to implement it? Thanks in advance. Best regards Markus |
|
July 9, 2010, 06:53 |
|
#6 |
New Member
Join Date: Jun 2010
Posts: 25
Rep Power: 16 |
Is there a possibilty to analyse the evaporation rate in OpenFOAM?
|
|
July 9, 2010, 08:39 |
|
#7 |
New Member
Join Date: Jun 2010
Posts: 25
Rep Power: 16 |
I found a solution:
You can analyse the current liquid mass in your system with defaultCloud -> Glyph -> Histogramm -> scalars m. You know the injected mass because of your massProfil given in the injectorProperties. You can calculate the evaporated mass. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
Target Mass Flow Rate | Nitin | FLUENT | 9 | June 17, 2017 11:30 |
Running dieselFoam error | adorean | OpenFOAM Running, Solving & CFD | 119 | February 1, 2016 15:41 |
questions about species transport through walls | shuqin | FLUENT | 13 | April 9, 2014 03:42 |
particle, parcel and mass flow rate balance | flybird | FLUENT | 0 | May 24, 2007 11:44 |