|
[Sponsors] |
December 18, 2010, 13:45 |
Boundary Condition for Far Field?
|
#1 |
New Member
Joris Peeters
Join Date: Dec 2010
Posts: 4
Rep Power: 15 |
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. |
|
January 20, 2011, 16:49 |
|
#2 |
New Member
Bruno F.
Join Date: Feb 2010
Location: Boulder, CO
Posts: 17
Rep Power: 16 |
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 |
|
December 21, 2018, 21:12 |
Farfield BC in OpenFoam
|
#3 |
Member
Bidesh Sengupta
Join Date: Sep 2018
Location: Sngapore
Posts: 76
Rep Power: 7 |
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. |
|
August 31, 2021, 00:53 |
|
#4 |
New Member
charan
Join Date: Aug 2021
Posts: 11
Rep Power: 4 |
did you your problem got solved cause i am also facing same issue
|
|
July 30, 2022, 03:49 |
|
#5 |
Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 93
Rep Power: 6 |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |