CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Burgerbs equation non constant Boundary Conditions Initial Conditions

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 2, 2008, 12:02
Default HI I want to simulate the
  #1
Member
 
O R
Join Date: Mar 2009
Posts: 50
Rep Power: 17
arkangel is on a distinguished road
HI

I want to simulate the 2D Burger's equation (modified a little) on a domain ]0,1[ x]0,1[ , all seems to be simple.

But I have the problem of telling the solver I want non-uniform boundary conditions (BC) and specify Initial conditions (IC) on the domain.

For example:

BC:
U(0,y)=U(1,y)= C*y ; V(x,0)=V(x,1)=C*x
(so The U vel will vary linearly along the y axis while the V vel will vary linearly along the x axis)

IC:
For the initial condition t=0. I want to tell the solver that the value of U and V (x-vel and y-vel) are function of the position
U(x,y) =sin(pi*x)*cos(pi*y) and V(x,y)=f(x,y) for t=0.

Can you tell me how to do it in openfoam?

thanxs
arkangel is offline   Reply With Quote

Old   October 2, 2008, 15:48
Default BC: timeVaryingMappedFixedValu
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
BC: timeVaryingMappedFixedValue. Reads table of values. Interpolates in space (and optionally time). See the pitzDailyExptInlet tutorial

IC: Search on the Wiki for Bernhard's funkySetFields.
mattijs 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
questions in initial conditions and inlet boundary nick CFX 2 April 19, 2008 10:26
Initial conditions = final conditions Chucho CFX 5 December 16, 2005 18:14
Initial & boundary conditions for following flow tuks CFX 0 August 23, 2004 02:20
visualize the initial and/or boundary conditions pi CFX 3 April 29, 2004 01:03
help on initial and boundary conditions tommewang Main CFD Forum 18 September 1, 2003 23:56


All times are GMT -4. The time now is 04:40.