|
[Sponsors] |
Superimposing Sinusoidal Perturbations at Inlet |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 23, 2016, 06:11 |
Superimposing Sinusoidal Perturbations at Inlet
|
#1 |
New Member
Harnoor Singh
Join Date: Jan 2016
Posts: 14
Rep Power: 10 |
Hi all,
I am trying to simulate a hot rising plume inside a cylindrical domain using buoyantBoussinesqPimpleFoam. But, the plume fails to transition inside the computational domain (since my Re is not very large). I read in a NASA research paper that you need to superimpose sinusoidal perturbations (corresponding to the most unsteady mode as per stability analysis) at the inlet velocity/temperature in order to achieve faster transition. This way I can capture turbulent regime inside my computational domain. I am a beginner in OpenFoam and request someone to please tell me in detail "How I can superimpose sinusoidal perturbations at inlet velocity/temperature". Tnx in advance. |
|
August 23, 2016, 06:18 |
|
#2 |
New Member
Harnoor Singh
Join Date: Jan 2016
Posts: 14
Rep Power: 10 |
I basically want to get an unsteady inlet BC as follows -
U_z = U_z + A sin(omega * t) |
|
August 25, 2016, 11:49 |
|
#3 |
Member
Join Date: Feb 2015
Posts: 39
Rep Power: 11 |
I think what you are looking for is swak4foam and more specifik the groovyBC package it includes.
If installed (do not remember if it always is included), you should insert Code:
libs ( "libOpenFOAM.so" "libsimpleSwakFunctionObjects.so" "libswakFunctionObjects.so" "libgroovyBC.so" ); In your 0/U you should set your BC (lets say its named "inlet") like: Code:
inlet { type groovyBC; variables ( "U_x=10;" "U_y=10;" "U_z=10;" "A=20;" "f=50;" "omega=2*pi*f;" ); valueExpression "vector(U_x, U_y, U_z+A*sin(omega*time()))"; value uniform (0 0 0); // As far as I remember, this has to be here, but does nothing and can be ignored } Also check out the following pages on the use of swak4foam/groovyBC: https://openfoamwiki.net/index.php/Contrib/swak4Foam http://openfoamwiki.net/index.php/Contrib/groovyBC |
|
Tags |
buoyantboussinesqpimple, inlet bc, perturbation, plume, sinusoidal |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
setting the correct format of nonuniform List<vector> for inlet in 0 Folder | cfdonline2mohsen | OpenFOAM Running, Solving & CFD | 8 | July 18, 2019 09:03 |
Total pressure and mass flow boundary condition at inlet | bscphil | OpenFOAM Pre-Processing | 3 | July 9, 2017 15:39 |
Inlet Velocity in CFX | aeroman | CFX | 12 | August 6, 2009 19:42 |
Diffusion component at inlet | Balaji | FLUENT | 2 | August 8, 2005 08:37 |
length scales at inlet for internal flows | Anne-Marie Giroux | Main CFD Forum | 3 | July 5, 1999 22:28 |