|
[Sponsors] |
Patching phase volume fractions for two adjacent bodies |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 7, 2022, 12:25 |
Patching phase volume fractions for two adjacent bodies
|
#1 |
New Member
Edmund
Join Date: Sep 2022
Posts: 2
Rep Power: 0 |
I have a simulation with two solids sharing a contact face. There are three phases: a, b, and c. Phase a is the primary phase. Phase a comes through a mass-flow inlet and enters the solid containing phase b. There is a porous jump between the solids that contain phases b and c. There is a pressure outlet on the solid that contains phase c.
I patched the phase volume fractions in the cell zone containing phase b to 1 for phase b and 0 for phase c. For the cell zone containing phase c, I set the volume fractions to 0 for phase b and 1 for phase c. I have my other settings attached in a screenshot below. When doing this, I received the following error message: Warning!! The sum of phase volume fractions exceeds 1 in some cell(s). This can lead to potentially erroneous initialization. Please insure that the sum of phase volume fractions in a cell does not exceed 1 during intitialization or patching!! I thought "patch reconstructed interface" would prevent this error, but I guess not. Running the simulation resulted in contour plots with a constant volume fraction of zero for all phases. I also tried running the simulation with only phases a and b. I set the volume fraction for b and c equal to zero for the solid originally containing phase c. This prevented the error, but resulted in the same contour plots. Does anyone know how to fix the error or the contour plots? Sorry for not including any additional screenshots, but I can't reveal the names of any of the substances used or the geometry of the simulation. |
|
November 7, 2022, 07:49 |
|
#2 |
New Member
Abhinav Maurya
Join Date: Oct 2019
Location: India
Posts: 4
Rep Power: 7 |
I'm facing a similar issue, I hope anyone can help in this
|
|
December 13, 2022, 22:37 |
|
#3 | |
Senior Member
Kareem
Join Date: Nov 2022
Location: New York
Posts: 125
Rep Power: 4 |
Quote:
Check what value you are patching for the phase listed during the initialization. If this phase is A, and initialized at 1 throughout the domain, and then you try and patch B as 1 the sum will be >100%.
__________________
Please like the answer if it helped! Video Tutorials and Tips: https://www.youtube.com/@cfdkareem/featured |
||
December 13, 2022, 22:54 |
|
#4 |
New Member
Edmund
Join Date: Sep 2022
Posts: 2
Rep Power: 0 |
I'm using the volume of fluid model. I believe I set the values for each correctly, but I can't test it as I've changed my simulation since I first posted this so it has only two phases. I still have this thread open in case anyone has the same problem (it looks like someone else did).
|
|
Tags |
initialization, patch, share topology |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
dynamic Mesh is faster than MRF???? | sharonyue | OpenFOAM Running, Solving & CFD | 14 | August 26, 2013 08:47 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 06:42 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 2, 2003 00:32 |
help needed about phase change | Yanhu Guo | Main CFD Forum | 4 | January 24, 2001 00:16 |
Higher order for phase volume fractions? | George Bergantz | CFX | 2 | December 11, 2000 12:55 |