|
[Sponsors] |
March 28, 2016, 12:47 |
Freestream BC, HELP PLEASE!
|
#1 |
New Member
Join Date: Mar 2016
Posts: 15
Rep Power: 10 |
Hello everyone,
I am pretty new to Openfoam and I am trying to model a 2d airfoil in a time varying free stream velocity. From the airfFoil2D tutorial I got I need to set the type of the boundaries to "freestream" for all inlet,outlet, top and bottom patches and the wind velocity in the tutorial has been set as follows: type freestream; freestreamValue uniform (25.75 3.62 0); is there any way that I can change the freestreamValue to a time varying value using the same boundary type (freestream)? (I should mention that for some reason I prefer to keep the type of the boundaries as freestream) Thank you. |
|
March 28, 2016, 16:16 |
|
#2 |
New Member
soichiro
Join Date: Jun 2015
Posts: 6
Rep Power: 11 |
Example from groovyBC instruction page(mimics inletOutlet):
outlet { type groovyBC; valueExpression "vector(0,0,0)"; gradientExpression "vector(0,0,0)"; fractionExpression "(phi > 0) ? 0 : 1"; value uniform (0 0 0); } fractionExpression: Direchlet(1) or Neumann(0) BC gradientExpression: for Neumann BC valueExpression: for Direchlet BC You can change the expressions to be time varying |
|
March 28, 2016, 16:29 |
|
#3 |
New Member
Join Date: Mar 2016
Posts: 15
Rep Power: 10 |
Thank you for your reply. Could you please send me the link of the page?
what does "phi" stand for? |
|
March 28, 2016, 16:29 |
|
#4 | |
New Member
Join Date: Mar 2016
Posts: 15
Rep Power: 10 |
Quote:
what does "phi" stand for? |
||
March 28, 2016, 16:31 |
|
#5 |
New Member
soichiro
Join Date: Jun 2015
Posts: 6
Rep Power: 11 |
||
March 28, 2016, 16:40 |
|
#6 | |
New Member
Join Date: Mar 2016
Posts: 15
Rep Power: 10 |
Quote:
Thank you for your help. |
||
July 19, 2017, 05:42 |
|
#7 |
Member
Join Date: Jul 2012
Posts: 66
Rep Power: 14 |
Hi
I want to use freestreampressure but combined with having the pressure prescribed as a value: "Prescribed pressure; with allowed in/outflow reversal" Is this possible in OpenFoam? Thanks, PS: more details: It is a wind engineering in-compressible flow simulation. I have a prescribed inlet velocity BC (Fluctuating Inlet). We usually combine this with a zeroGradient Pressure BC on the inlet. I want to have Inlet/Outlet condition on the Top, Sides and Outlet. However, a pressure value should be described on some boundary. Usually we use a fixedValue 0 for pressure. Is there a way to combine this with freestreampressure? |
|
Tags |
airfoil, freestream, time varying, unsteady |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Freestream Setup in an External Flow Simulation | phathomie27 | STAR-CCM+ | 1 | January 6, 2017 08:00 |
multi-species plasma test case | jentink | SU2 | 6 | August 5, 2016 03:04 |
SU2 cfg file and runtime problems | hedley | SU2 | 19 | January 26, 2016 05:17 |
parallel code | samiam1000 | SU2 | 3 | March 25, 2013 05:55 |
singularity? | mihaipruna | OpenFOAM Running, Solving & CFD | 5 | April 24, 2012 18:18 |