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

Boundary Condition for Far Field?

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

Like Tree1Likes
  • 1 Post By fletc900

Reply
 
LinkBack Thread Tools Display Modes
Old   December 18, 2010, 13:45
Default Boundary Condition for Far Field?
  #1
New Member
 
Joris Peeters
Join Date: Dec 2010
Posts: 4
Rep Power: 5
Aneirin is on a distinguished road
Hello,

I am trying to model the (subsonic compressible) flow over a moving object (like an airfoil). In Fluent, one can specify FarField boundary conditions, but I can not find something similar in OpenFOAM, at first glance (I looked through the source code for Derived Types, as mentioned in the Manual).

Has anyone succesfully completed such a simulation - and which boundary conditions did you use to do so? Details with regard to such simulations seem very scarce, I looked in numerous places.

Help would certainly be appreciated.
Aneirin is offline   Reply With Quote

Old   January 20, 2011, 16:49
Default
  #2
New Member
 
Bruno F.
Join Date: Feb 2010
Location: Boulder, CO
Posts: 17
Rep Power: 6
fletc900 is on a distinguished road
Hi there,

There is the "freestream" patch type. Take a look at the airfoil2D example under the simpleFoam directory for the tutorials that uses a c-mesh. In the 0/ directory, for the U file (and other variable files) , you should have something like:

boundaryField
{
inlet
{
type freestream;
freestreamValue uniform (43.71427 3.05657365 0); // angle of attack = 4 deg
}

outlet
{
type freestream;
freestreamValue uniform (43.71427 3.05657365 0);
}

wall
{
type fixedValue;
value uniform (0 0 0);
}

frontAndBack
{
type empty;
}
}

Cheers
kiddmax likes this.
fletc900 is offline   Reply With Quote

Reply

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 velocity boundary condition murali CFX 5 August 3, 2012 08:56
Field value inside a boundary condition class pcaron OpenFOAM 8 July 27, 2010 06:04
How exactly the "pressure outlet" bdry condition compute properties on the boundary? yating9901 FLUENT 3 June 28, 2010 12:26
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51
The Boundary Condition about the Flat Plate boing Main CFD Forum 1 January 6, 2002 16:53


All times are GMT -4. The time now is 09:35.