|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Jan 2022
Posts: 27
Rep Power: 5 ![]() |
hello i am a beginner of openfoam !
as i run the example related bubble injection, i can know there is an option related to bubble injection called "fvOption" in openfoam. (for example adjusting the bubble injection start time, bubble duration time , the location of bubble injected to water (point, cellzone etc..)) related this, i have some questions.. first, i want to inject the liquid water instead of bubble. but when i used fvOption to simulate the water injection, an error has occured.. can i use the fvoption to water (liquid)injection instead of bubble (gas) injection? second, when i used fvOption to simulate the bubble (gas) injection, i set the location of bubble to point (for example, (0 0 0.5) etc.. ). however, i want to make the bubble comes out from the face or volume instead of points using fvOption.. is it possible? (additionally, i want to know the meaning of cellzone, cellset respectively and difference between cellzone and cellset in fvOption..) thank you for reading this. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 809
Rep Power: 15 ![]() |
I didn't follow your explanation very clearly, but let me answer at a higher level. fvOptions is a method that is often used in OpenFOAM to define a source term. For example, this could be an inlet stream that you do not want to have to resolve on the mesh, but want to just feed into one or more cells. Your bubble injection seems like a good example of this. In this case, the inlet stream is added directly to the tagged cells.
If you want to inject through cell faces, i.e. through a surface, then you need to define a boundary on that surface and use an inlet. In that case, you are handling the injection through a boundary condition and not a source term. Finally - you should be able to find descriptions of cellZone, cellSet etc if you dig around a little. Look at topoSet for example. Hope that helps. |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
Join Date: Jan 2022
Posts: 27
Rep Power: 5 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Access to Ubar_ in fvOption (Urgent Help) | mostanad | OpenFOAM Programming & Development | 18 | November 9, 2020 03:59 |
Using fvOption for adding momentum | farzadmech | OpenFOAM Programming & Development | 11 | October 20, 2020 13:55 |
use fvOption to set high temperature zone | renzhaoxin1989 | OpenFOAM | 0 | August 4, 2020 14:26 |
Using fvOption file | Raza Javed | OpenFOAM Pre-Processing | 3 | April 17, 2019 12:02 |
reactingFoam fvOption ignition | khalifa | OpenFOAM Programming & Development | 8 | January 6, 2019 19:45 |