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

Two boundary conditions at inlet

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 10, 2015, 12:48
Default Two boundary conditions at inlet
  #1
Senior Member
 
Syavash
Join Date: Apr 2010
Location: Tehran, Karaj
Posts: 241
Rep Power: 8
syavash is on a distinguished road
Hello dear Foamers,

I am new in OF, my question is that :
How is it possible to combine two boundary conditions at inlet?

I need to implement groovy BC to apply a boundary layer velocity profile at the inlet of my domain. Something like this:

Code:
inlet  
   {      
   type            groovyBC; 
        variables        "u_f=0.0239;z0=0.0000333;K=0.41;vel=(u_f/K)*log(pos().z/z0)*normal();";      
   valueExpression "-vel";    
 }
On the other hand, I want to apply velocity fluctuations using LEMOS inflow turbulence generator:

Code:
inlet     {  
       type            decayingTurbulenceInflowGenerator;
         direction       1;      
   LField          uniform 1;      
   RField          uniform (0.1 0 0 0.1 0 0.1);   
      refField        uniform ( 20 0 0 );     
    value           uniform ( 20 0 0 );    
 }
How can I combine these two boundary conditions at inlet?
Thanks
syavash is offline   Reply With Quote

Old   June 12, 2015, 10:09
Default
  #2
Senior Member
 
Syavash
Join Date: Apr 2010
Location: Tehran, Karaj
Posts: 241
Rep Power: 8
syavash is on a distinguished road
Any one willing to help? Am I asking something too basic?!
May some one show me the principles at least??
Thanks.
syavash 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
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 18:30
elbow: boundary conditions for inlet and outlet cgoe OpenFOAM Running, Solving & CFD 1 November 8, 2014 14:26
Setting rotating frame of referece. RPFigueiredo CFX 3 October 28, 2014 05:59
Inlet Boundary conditions for pressure driven flow in DSMC Jesgonse OpenFOAM Programming & Development 5 October 3, 2014 09:52
Domain Imbalance HMR CFX 3 March 6, 2011 21:10


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