Evaluation of evaporated mass
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 
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) ); 
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 logfile. 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 OpenFOAMfolder. I am using OpenFOAM 1.5. How is the path of creatField.H? Thanks in advance. Best regards Markus 
1) do u compile ur solver after change you made ?
2) file name is "creatFields.H" , this file exists in every solver in openFoam 
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 
Is there a possibilty to analyse the evaporation rate in OpenFOAM?

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. 
All times are GMT 4. The time now is 10:01. 