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

Initial values for advective BC

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 29, 2010, 16:29
Default Initial values for advective BC
  #1
Member
 
Pascal
Join Date: Jun 2009
Location: Montreal
Posts: 65
Rep Power: 8
Pascal_doran is on a distinguished road
Hi all,

I created my own utilities for the initial conditions (U and p) and everything works fine. But when I use advective BC (for U and p) I noticed that the BC overwrite the values of U and p (generated by my utilities) on that boundary (only for t=0). I got the good values of U and p every where excepted on the patch I used advective BC (where OpenFOAM writes U=(0,0,0) and p=0 for that patch)
Here's how I declared the BC for U and p :
Code:
    outlet
    {
        type            advective;
        phi             phi;
    }
How can I tell OpenFOAM 1.6.x to use the values calculated by my utilities and not uniform 0 or uniform (0,0,0) for that patch?
Thank for your help,

Pascal

Last edited by Pascal_doran; August 2, 2010 at 10:55.
Pascal_doran is offline   Reply With Quote

Reply

Tags
advective

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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Computational time sunnysun OpenFOAM Running, Solving & CFD 5 March 16, 2009 04:32
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11:16
Unknown error sivakumar OpenFOAM Pre-Processing 9 September 9, 2008 12:53


All times are GMT -4. The time now is 12:59.