CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

The role of fvoption

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Tobermory

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 13, 2022, 09:20
Default The role of fvoption
  #1
New Member
 
Join Date: Jan 2022
Posts: 27
Rep Power: 4
wjchoi is on a distinguished road
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.
wjchoi is offline   Reply With Quote

Old   January 13, 2022, 11:23
Default
  #2
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 668
Rep Power: 14
Tobermory will become famous soon enough
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.
saidc. likes this.
Tobermory is offline   Reply With Quote

Old   January 13, 2022, 20:50
Default
  #3
New Member
 
Join Date: Jan 2022
Posts: 27
Rep Power: 4
wjchoi is on a distinguished road
Quote:
Originally Posted by Tobermory View Post
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.
thank you very much for your kind explanation !
wjchoi is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access to Ubar_ in fvOption (Urgent Help) mostanad OpenFOAM Programming & Development 18 November 9, 2020 02:59
Using fvOption for adding momentum farzadmech OpenFOAM Programming & Development 11 October 20, 2020 12:55
use fvOption to set high temperature zone renzhaoxin1989 OpenFOAM 0 August 4, 2020 13:26
Using fvOption file Raza Javed OpenFOAM Pre-Processing 3 April 17, 2019 11:02
reactingFoam fvOption ignition khalifa OpenFOAM Programming & Development 8 January 6, 2019 18:45


All times are GMT -4. The time now is 01:47.