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

What is a BoundayField class?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 7, 2020, 18:29
Default What is a BoundayField class?
  #1
Senior Member
 
Mandeep Shetty
Join Date: Apr 2016
Posts: 185
Rep Power: 10
granzer is on a distinguished road
I read the definition for the BoundayField as "BoundaryField This is a GeometricBoundaryField, in which a Field is defined for the faces
of each patch and a Field is defined for the patches of the boundary. This is then a field of fields, stored within an object of the FieldField<Type> class. A reference to the fvBoundaryMesh is also stored [**].". This part, 'a GeometricBoundaryField, in which a Field is defined for the faces
of each patch', made sense. But what does 'a Field is defined for the patches of the boundary' mean?. For a given Field how can two different values be assigned at a boundary patch(as I understand one field assigned for faces of each patch and one for the 'patches of the boundary')?
granzer is offline   Reply With Quote

Old   December 26, 2020, 04:01
Default
  #2
Senior Member
 
Mandeep Shetty
Join Date: Apr 2016
Posts: 185
Rep Power: 10
granzer is on a distinguished road
Ok as I have come to understand it now, the closed boundary of a computational domain is broken down into patches, and each of the patches is further broken down into individual faces.
Quote:
"BoundaryField This is a GeometricBoundaryField, in which a Field is defined for the faces of each patch..."
means exactly what it says...that is a field value, like for example temperature value(if a 'temperature field' is being defined over the patch), is given for each of the faces in a patch. So all the temperature values at the boundary face centers make up the boundary 'field'/list.

Quote:
"...and a Field is defined for the patches of the boundary."
This means that since the boundary of the computational domain is broken down into patches, we can view the boundary as a field/list of patches (these patches are further broken down into faces which are talked about in the previous para).

So GeomethricBoundaryField is a field of fields, fist level down is the list/field of patches.. the second level down is the list/field of field-values at individual faces. (like a 2d array)
granzer 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
Undefined reference to custom class cryabroad OpenFOAM Programming & Development 5 July 3, 2018 02:21
The udf.h headers are unable to open- in VISUAL STUDIO 13 sanjeetlimbu Fluent UDF and Scheme Programming 4 May 2, 2016 05:38
correction of Grub after installing Windows XP and 8 immortality Lounge 20 January 5, 2014 17:41
Nested class and inheritance permissions MMC15 OpenFOAM Programming & Development 0 December 20, 2013 10:16
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30


All times are GMT -4. The time now is 12:50.