CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Pre-Processing

About the $internalField boundary condition

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

Like Tree3Likes
  • 2 Post By Bernhard
  • 1 Post By babakflame

LinkBack Thread Tools Display Modes
Old   August 19, 2013, 00:14
Default About the $internalField boundary condition
Hanniel Freitas
Join Date: Jan 2012
Location: Natal, Brazil
Posts: 34
Rep Power: 7
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:

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
Senior Member
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 15
Bernhard is on a distinguished road
You can refer previously defined variables in OpenFOAM dictionaries.

In this case, you would have something like
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 and qjh888 like this.
Bernhard is offline   Reply With Quote

Old   September 2, 2013, 11:32
Senior Member
Join Date: Oct 2012
Location: Chicago, Illinois
Posts: 424
Rep Power: 8
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.

Arjun Jayakumar likes this.
babakflame is offline   Reply With Quote

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

i have a question for this $internalField boundary condition.

if the initial condition is defined as
internalField   nonuniform List<scalar> 

        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!

cfdopenfoam is offline   Reply With Quote


Thread Tools
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 On
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 15 April 24, 2016 03:35
interFoam/kOmegaSST tank filling with printStackError/Mules simpomann OpenFOAM Running, Solving & CFD 3 February 17, 2014 18:06
Radiation interface hinca CFX 15 January 26, 2014 18: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 09:19.