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

coordinate-dependent boundary condition

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 21, 2011, 21:33
Post coordinate-dependent boundary condition
  #1
New Member
 
yi Wang
Join Date: Feb 2011
Posts: 15
Rep Power: 7
yiwang25 is on a distinguished road
Hi, everyone
I use icofoam solver for simulation. I want to apply the boundary condition that the values such as pressure etc. vary with coordinate. For example, on left boundary in 2d simulation(x=0, y0<=y<=yn), I have specified an input file for the pressure value.
the format for the input file is:

(
y0 p0
y1 p1
y2 p2
....
yN pN
)

How can I patch it on the boundary?
yiwang25 is offline   Reply With Quote

Old   June 22, 2011, 08:16
Default
  #2
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 436
Rep Power: 14
marupio is on a distinguished road
If the values don't change, just use a fixedValue boundary condition. Use setFields or funkySetFields to specify the profile.
marupio 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
Wind turbine simulation Saturn CFX 45 February 8, 2016 05:42
inlet velocity boundary condition murali CFX 5 August 3, 2012 08:56
External Radiation Boundary Condition (Two sided wall), Grid Interface CFD XUE FLUENT 0 July 8, 2010 06:49
How to set boundary condition in Fluent for the fo Peiyong FLUENT 1 November 10, 2006 12:44
Pressure Boundary Condition Matt Umbel Main CFD Forum 0 January 11, 2002 11:06


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