CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Internal field boundary condition confusion

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2016, 17:07
Default Internal field boundary condition confusion
  #1
Member
 
annn
Join Date: Jun 2016
Posts: 40
Rep Power: 9
cleoo is on a distinguished road
I am confused with the concept of the internal field and what value to assign it with in the dictionaries,
I read that it is the everything but the border (boundary) of a face, but then if the inlet had one value and the outlet had another wouldn't both of their internal fields be the same since there is no way to distinguish the internal feild of an outlet to an inlet?

Just as an example to see if I am getting this correct, in the velocity dictionary say the inlet was starting at a velocity of 5m/s and the outlet was 10m/s but I set the internal field as 0m/s what does this mean? the fluid is moving at 5m/s at the boundary of each cell of the inlet and at zero in the middle of the face?
cleoo is offline   Reply With Quote

Old   September 5, 2016, 05:12
Default
  #2
New Member
 
Michael
Join Date: Aug 2016
Location: Australia
Posts: 3
Rep Power: 9
Michael_C is on a distinguished road
From what I understand (I'm relatively new to OpenFOAM myself), an external patch such as an inlet or an outlet is simply considered to be the cells on the boundary or 'outside' of the geometry. In the 0 folder you specify the initial conditions and boundary conditions of your case, so in your example the initial timestep (0) would show all of the cells on the outside of the geometry belonging to the inlet patch having a velocity of 10m/s in whatever direction you specified, all of the cells on the boundary belonging to the outlet patch having a velocity of 5m/s and all the cells in between having a velocity of 0.

Each cell can only have one value for each field (U, T, p, etc.) so it doesn't make sense to talk about the border of a cell having a different value to the middle of a cell. Of course once you run the simulation all of the internal field values will (hopefully) change, which you will see if you ever look at a computed timestep, it has a list of values for U rather than just one internal field value that applies to every cell.

Also it's probably worth mentioning you usually shouldn't specify a velocity at the outlet as well as the inlet, as your case becomes overspecified and most likely won't run.

-Michael
Michael_C is offline   Reply With Quote

Old   September 6, 2016, 05:25
Default
  #3
New Member
 
larmes
Join Date: Aug 2016
Posts: 26
Rep Power: 9
yeya is on a distinguished road
Quote:
Originally Posted by Michael_C View Post

Also it's probably worth mentioning you usually shouldn't specify a velocity at the outlet as well as the inlet, as your case becomes overspecified and most likely won't run.
but do you think that fixing a value for the pressures at the inlet and outlet and having te velocity be determined from the pressure might be over defining the situation?
yeya is offline   Reply With Quote

Old   September 6, 2016, 06:58
Default
  #4
New Member
 
Michael
Join Date: Aug 2016
Location: Australia
Posts: 3
Rep Power: 9
Michael_C is on a distinguished road
It depends on your assumptions, i.e. whether you're assuming compressible or incompressible flow. Have a look at this thread:

http://www.cfd-online.com/Forums/mai...condition.html
Michael_C is offline   Reply With Quote

Reply

Tags
boundary condition u, internal field


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
How can I update the boundary condition for a field using another field value? h_fathi OpenFOAM Running, Solving & CFD 0 November 2, 2015 03:39
Time dependant pressure boundary condition yosuke1984 OpenFOAM Verification & Validation 3 May 6, 2015 06:16
CFX fails to calculate a diffuser pipe flow shenying0710 CFX 7 March 26, 2013 04:13
External Radiation Boundary Condition (Two sided wall), Grid Interface CFD XUE FLUENT 0 July 8, 2010 06:49


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