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

Boundary Condition for Far Field?

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

Like Tree2Likes
  • 2 Post By fletc900

Reply
 
LinkBack Thread Tools Search this Thread 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: 15
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: 16
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 and BSengupta like this.
fletc900 is offline   Reply With Quote

Old   December 21, 2018, 21:12
Default Farfield BC in OpenFoam
  #3
Member
 
Bidesh Sengupta
Join Date: Sep 2018
Location: Sngapore
Posts: 76
Rep Power: 7
BSengupta is on a distinguished road
Hi, I am too new to OF. I have a spherical mesh in which a plate is placed which is made in Pointwise. I have two BC one is wall and the other is far field. I have written as below:



farfield
{
type freestream;
value uniform (48 95 27.5);
}

wall
{
type noSlip;
}



I am encountering the error:

"--> FOAM FATAL IO ERROR:
Cannot find patchField entry for inlet

file: /home/bidesh/OpenFOAM/bidesh-6/run/prism/0/p.boundaryField from line 26 to line 32.

From function void Foam::GeometricField<Type, PatchField, GeoMesh>::Boundary::readField(const Foam:imensionedField<TypeR, GeoMesh>&, const Foam::dictionary&) [with Type = double; PatchField = Foam::fvPatchField; GeoMesh = Foam::volMesh]
in file /home/ubuntu/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 191.

FOAM exiting"


Any help shall be very helpful to me. Thank you.
BSengupta is offline   Reply With Quote

Old   August 31, 2021, 00:53
Default
  #4
New Member
 
charan
Join Date: Aug 2021
Posts: 11
Rep Power: 4
charan3007 is on a distinguished road
did you your problem got solved cause i am also facing same issue
charan3007 is offline   Reply With Quote

Old   July 30, 2022, 03:49
Default
  #5
Member
 
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 93
Rep Power: 6
Sakun is on a distinguished road
Quote:
Originally Posted by charan3007 View Post
did you your problem got solved cause i am also facing same issue

Hi,



Did you solve your issue ? i am having the same
Sakun 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
Field value inside a boundary condition class pcaron OpenFOAM Programming & Development 14 October 17, 2022 09:40
inlet velocity boundary condition murali CFX 5 August 3, 2012 08:56
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 21:50.