|
[Sponsors] |
April 19, 2018, 05:28 |
Vapor fraction in chtMultiRegionFoam
|
#1 |
New Member
MABH
Join Date: Feb 2018
Posts: 4
Rep Power: 8 |
How can I add a vapor fraction in the chtMultiRegionFoam?
Is for implementing a phase change simulation using that solver. |
|
August 12, 2020, 23:34 |
|
#2 |
New Member
wanghongjie
Join Date: Apr 2020
Posts: 28
Rep Power: 6 |
||
August 14, 2020, 20:32 |
|
#3 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
In the ESI development line of OpenFOAM (openfoam.com) there is the solver chtMultiRegionTwoPhaseEulerFoam which can do what you want. See https://www.openfoam.com/releases/op...nd-physics.php
|
|
August 15, 2020, 00:07 |
|
#4 | |
New Member
wanghongjie
Join Date: Apr 2020
Posts: 28
Rep Power: 6 |
Quote:
|
||
August 15, 2020, 19:45 |
|
#5 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
There are two "challenges":
The first one is to get a new solver based on chtMultiRegionFoam. There you have to replace the solver in the fluid folder with your base solve (interCondensatingEvaporatingFoam). This is just "programming", but a a lot. The second one is you have to find new boundary conditions for the wall where you model what happens physically there. Boiling/condensation? Then you have to implement it. If you look at the solver of ESI and the corresponding wall modelling, you can see, this is even more work. How much time do you have? Do you have help by co-workers? This sounds more like a at least one PhD thesis than e. g. a master thesis. |
|
August 16, 2020, 04:04 |
|
#6 | |
New Member
wanghongjie
Join Date: Apr 2020
Posts: 28
Rep Power: 6 |
Quote:
|
||
August 17, 2020, 11:48 |
|
#7 | |
New Member
wanghongjie
Join Date: Apr 2020
Posts: 28
Rep Power: 6 |
Quote:
Info<< "*** Reading fluid mesh thermophysical properties for region " << fluidRegions[i].name() << nl << endl; Info<< " Adding to thermoFluid\n" << endl; thermoFluid.set(i, twoPhaseMixtureEThermo::New(UFluid[i],phiFluid[i]); ./fluid/createFluidFields.H: In function ‘int main(int, char**)’: ./fluid/createFluidFields.H:50:48: error: reference to ‘New’ is ambiguous 50 | thermoFluid.set(i, twoPhaseMixtureEThermo::New(UFluid[i],phiFluid[i]); | |
||
Tags |
phase change, vapor fraction |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
heat transfer, multiple regions, chtMultiRegionFoam? | Ohlzen-Wendy | OpenFOAM Pre-Processing | 13 | February 8, 2022 08:17 |
Error in thermophysical properties (chtMultiRegionFoam) | mukut | OpenFOAM Pre-Processing | 28 | November 23, 2021 07:34 |
chtMultiRegionFoam connection between solid and fluid region of heat exchanger | ahab | OpenFOAM | 1 | December 18, 2019 01:37 |
Simulation of a sample in a furnace w/ chtMultiRegionFoam | sergimart7 | OpenFOAM Running, Solving & CFD | 7 | August 12, 2015 07:48 |
FOAM FATAL IO ERROR for chtMultiRegionFoam | xiaoyoyo | OpenFOAM Running, Solving & CFD | 0 | May 8, 2012 17:49 |