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

Combining two boundary conditions

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2015, 15:17
Default Combining two boundary conditions
  #1
Senior Member
 
Syavash Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 17
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:
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:
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   July 19, 2022, 12:24
Default
  #2
Member
 
Bushra Rasheed
Join Date: Dec 2020
Posts: 97
Rep Power: 5
B_R_Khan is on a distinguished road
HI!

I want to do the same.....does anyone know how to do this?
B_R_Khan 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
inlet boundary conditions newOFuser OpenFOAM 1 January 10, 2013 09:08
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 05:15
A problem about setting boundary conditions lyang Main CFD Forum 0 September 19, 1999 19:29


All times are GMT -4. The time now is 08:52.