|
[Sponsors] |
How to write out a bubble diameter and lift force field |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 4, 2020, 08:06 |
How to write out a bubble diameter and lift force field
|
#1 |
New Member
anonymous
Join Date: May 2015
Posts: 2
Rep Power: 0 |
Hello Foamers,
This is my first time asking a question here, so please be patient with any mistakes. System: OpenFOAM 8 Ubuntu 20.04LTS Problem-Statement: I am trying to use multiphaseEulerFoam solver to solve a wall boiling problem. The tutorials worked but I want more field information such as bubble diameter distribution, lift force distribution. It seems that the solver does not write out there fields. How can I write out these information? thx! |
|
January 17, 2021, 16:18 |
Bubble diameter distribution
|
#2 |
Member
Anastasios
Join Date: Mar 2009
Posts: 34
Rep Power: 17 |
I am also after the same thing did you manage to find anything?
|
|
January 17, 2021, 17:14 |
|
#3 |
Member
Fabian Friberg
Join Date: Dec 2020
Posts: 31
Rep Power: 5 |
I am also quite new to openfoam and so I don't have any experience doing this myself, but I think you need to make a new solver based on multiPhaseEulerfoam and make a new solver where you add new IOobjects.
Something roughly like: Code:
volScalarField bubbleDiameter ( IOobject ( "bubbleDiameter", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), mesh, dimensionedScalar(dimLength, zero) ); You can read how IOObjects work here. You can look at the createFields.h files of different existing solvers to see how they did it. Sorry if this wasn't what you were looking for. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Degassing BC with Algebraic Slip Model | Antanas | CFX | 31 | April 15, 2015 05:59 |
Multiphase simulation of bubble rising | Niru | CFX | 5 | November 25, 2014 13:57 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 03:32 |
Tomiyama wall lubrication force | Edy | OpenFOAM | 10 | December 13, 2010 11:41 |
Two-phase air water flow problems by activating Wall Lubrication Force | challenger85 | CFX | 5 | November 5, 2009 05:44 |