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

About the $internalField boundary condition

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree8Likes
  • 4 Post By Bernhard
  • 2 Post By babakflame
  • 2 Post By cfdopenfoam

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 19, 2013, 00:14
Default About the $internalField boundary condition
  #1
Member
 
Hanniel Freitas
Join Date: Jan 2012
Location: Natal, Brazil
Posts: 34
Rep Power: 14
hfsf is on a distinguished road
Hello, all.

Playing around with some tutorial examples in OF, i've stumped with some weird type of fixedValue boundary condition specification. Something like this:

exampleBC{
type fixedValue;
value $internalField
};

I've been searching in the guides for months, but never found anything about the $internalField operator. What is the meaning of it? And where can I find lectures about it?
Thanks in advance!!!
hfsf is offline   Reply With Quote

Old   August 19, 2013, 01:43
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
Bernhard is on a distinguished road
You can refer previously defined variables in OpenFOAM dictionaries.

In this case, you would have something like
Code:
internalField   uniform 0;
on top of your code. So the "uniform 0" is also used for this BC. Just consider it as a string that is copied to that location, there is nothing special under the hood.
hfsf, qjh888, saltyFish and 1 others like this.
Bernhard is offline   Reply With Quote

Old   September 2, 2013, 11:32
Default
  #3
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Hi hfsf

Although Bernhard reply was somehow sufficient and complete. I can add that for instance for pressure of the domain in free jets that exit to the non-confined environments; we can use this type of boundary condition.
The internal field value is 1e05 pa.

Regards
Bobi
Arjun Jayakumar and cjacob like this.
babakflame is offline   Reply With Quote

Old   May 22, 2016, 07:45
Default
  #4
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11
cfdopenfoam is on a distinguished road
dear all.

i have a question for this $internalField boundary condition.

if the initial condition is defined as
Code:
internalField   nonuniform List<scalar> 
……
boundaryField
{
    outlet
    {
        type            fixedValue;
        value           $internalField;
    }
}
and this scalar field is changing with solution time,
will the boundary field value keep equal to the value in the patch-connected cell?

could someone plz give me some hints? thanks in advance!

/Karekle
cfdopenfoam is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
inlet pressure is higher than outlet pressure for fan sivakumar OpenFOAM Pre-Processing 16 December 30, 2017 14:16
interFoam/kOmegaSST tank filling with printStackError/Mules simpomann OpenFOAM Running, Solving & CFD 3 February 17, 2014 17:06
Radiation interface hinca CFX 15 January 26, 2014 17:11
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00


All times are GMT -4. The time now is 16:15.