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

What does the "value" field correspond to in OF BC ?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Yann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 4, 2020, 02:53
Default What does the "value" field correspond to in OF BC ?
  #1
Member
 
ishan
Join Date: Oct 2017
Posts: 78
Rep Power: 9
ishan_ae is on a distinguished road
I have a question regarding the value field that we see in different OF BC.

I understand that if we use a fixedValue BC then for that value field we need to give a fixed value of the quantity of interest such as for velocity.

In BC such as flowRateOutletVelocity and calculated, what does this value field correspond to ? Are these initial values for the patches where these values have been specified ?

I looked into the user guide and here as well but could not get a conclusive answer.
ishan_ae is offline   Reply With Quote

Old   November 4, 2020, 03:25
Default
  #2
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 369
Rep Power: 8
geth03 is on a distinguished road
if you need detailed explanation you can check the description part of the header files. (nameOfFile.H)

here for example for flowRateOutletVelocity, you can see which information are needed and what they will do:

https://github.com/OpenFOAM/OpenFOAM...hVectorField.H
geth03 is offline   Reply With Quote

Old   November 4, 2020, 03:30
Default
  #3
Member
 
ishan
Join Date: Oct 2017
Posts: 78
Rep Power: 9
ishan_ae is on a distinguished road
Thanks for information. Unfortunately I cannot read C++. If I have to find information on a BC I usually use foamInfo or go to openfoam.cpp.org/v6 web page.
ishan_ae is offline   Reply With Quote

Old   November 4, 2020, 03:39
Default
  #4
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 369
Rep Power: 8
geth03 is on a distinguished road
the description is not c++ code, please take a look.
geth03 is offline   Reply With Quote

Old   November 4, 2020, 04:16
Default
  #5
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29
Yann will become famous soon enoughYann will become famous soon enough
Quote:
Originally Posted by ishan_ae View Post
I have a question regarding the value field that we see in different OF BC.

I understand that if we use a fixedValue BC then for that value field we need to give a fixed value of the quantity of interest such as for velocity.

In BC such as flowRateOutletVelocity and calculated, what does this value field correspond to ? Are these initial values for the patches where these values have been specified ?

I looked into the user guide and here as well but could not get a conclusive answer.
Hello Ishan,

This is a recurrent question and yes you can consider it as initial values.

Have a look at this post:
Understanding UniformFixedValue boundary condition

Cheers,
Yann
ishan_ae likes this.
Yann is offline   Reply With Quote

Old   November 4, 2020, 04:48
Default
  #6
Member
 
ishan
Join Date: Oct 2017
Posts: 78
Rep Power: 9
ishan_ae is on a distinguished road
geth03 the description is something I can get using foamInfo. Am I right ?

Yann, thank you for pointing it out.
ishan_ae 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
funkySetBoundaryFields - Manipulation of existing field jhertel OpenFOAM Pre-Processing 16 May 18, 2020 07:32
Access to field which is evaluated at the moment Tobi OpenFOAM Programming & Development 6 April 19, 2017 14:09
[swak4Foam] problems with averaging a new field fgarita OpenFOAM Community Contributions 1 October 28, 2016 04:27
''unknown radialModelType type Gidaspow'' PROBLEM WITH THE BED TUTORIAL AndoniBM OpenFOAM Running, Solving & CFD 2 March 25, 2015 19:44
Demagnetization field jan0385 ANSYS 0 April 12, 2012 10:09


All times are GMT -4. The time now is 22:30.