|
[Sponsors] |
How to set empty field in multiphaseEulerFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 25, 2022, 23:00 |
How to set empty field in multiphaseEulerFoam
|
#1 |
New Member
Akshay
Join Date: Jan 2020
Posts: 28
Rep Power: 6 |
Dear foamers,
I have a geometry with one inlet where the two-phase (water-oxygen) enters the square container which is half-filled with water. I need to keep the other half empty so that I can collect the data of oxygen separation from water, but I am not able to not set the other half, as the solver don't run without setting it. Code:
defaultFieldValues ( volScalarFieldValue alpha.oxygen 0 volScalarFieldValue alpha.water 0 ); regions ( boxToCell { box (0 0 0) (1.2 0.4 1); fieldValues ( volScalarFieldValue alpha.oxygen 0 volScalarFieldValue alpha.water 1 ); } ); I am using openfoam version 8. I have attached the fields set with alpha.oxygen as 1 and alpha.water as 0, this was the only way for me to run the simulation. Can someone please suggest how I can set an empty intial phase property for the space above water in the container? setFields.PNG Thank you Akshay |
|
Tags |
two phase euler foam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using gnuplot to plot probe data | Rotidpor | OpenFOAM | 3 | March 9, 2022 06:44 |
Set boundary value of 1 field equal to another field | Saideep | OpenFOAM | 3 | October 31, 2016 10:58 |
[snappyHexMesh] sHM quality of multi-region | aminem | OpenFOAM Meshing & Mesh Conversion | 0 | April 16, 2015 12:38 |
Env variable not set | gruber2 | OpenFOAM Installation | 5 | December 30, 2005 05:27 |
How to set environment variables | kanishka | OpenFOAM Installation | 1 | September 4, 2005 11:15 |