|
[Sponsors] |
[swak4Foam] piecewise linear inlet profile: swak4foam? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 9, 2013, 11:33 |
piecewise linear inlet profile: swak4foam?
|
#1 |
Member
Marcus Letzel
Join Date: Sep 2012
Location: Bremen
Posts: 35
Rep Power: 14 |
Dear All,
my current task is the initialization of the streamwise velocity component Ux both at the inlet patch and for the internalField. Input data is an atmospheric boundary layer profile of Ux measured at discrete heights above ground by a wind tunnel experiment. Uy and Uz are zero. From the discrete measurements I would like to construct a piecewise linear vertical profile of Ux. At present, the input data are stored in a data file with the following content Code:
( 0.0 0.00 2.0 1.12 5.0 1.36 10.0 1.56 15.0 1.68 20.0 1.78 30.0 1.92 40.0 2.02 ) Which is the best way to input this piecewise linear profile into OpenFoam? Is there a clever way to use swak4foam for this task? Best regards, Marcus |
|
March 9, 2013, 12:52 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
See the case Examples/groovyBC/wobbler on how to declare the lookuptable and the format of the data-file
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
June 24, 2014, 12:39 |
|
#3 |
Member
Tobias Adam
Join Date: Oct 2013
Location: Siegen
Posts: 55
Rep Power: 13 |
Is there a possibility to use a standard atmospheric layer for the inlet?
Right now I donīt know the exact inflow conditions except for the maximal velocity = 6 and minimal velocity =0 at the ground, so I don want to use this table function... Best regards Tobi |
|
July 2, 2014, 18:49 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
July 3, 2014, 06:32 |
|
#5 |
Member
Tobias Adam
Join Date: Oct 2013
Location: Siegen
Posts: 55
Rep Power: 13 |
I guess standard atmospheric layer was the wrong word.
I wanted to ask for a realistic inflow condition, with changing velocity depending on the height. I thought about a parabolic velocity function depending on the height, but did not find good examples or parameters. My problem is, I donīt know much about the roughness of the area in front of my simulated area. so I wanted to ask for some standard values or functions to create such an inflow condition with no-slip-condition for the ground. Best regards Tobi |
|
July 3, 2014, 16:43 |
|
#6 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
Tags |
experimental data, inlet profile, internalfield, swak4foam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Disappearing mass when using udf inlet profile | divergence | Fluent UDF and Scheme Programming | 5 | January 2, 2021 15:56 |
UDF inlet velocity profile mismatch with Fluent | ChristineL | Fluent UDF and Scheme Programming | 15 | November 25, 2016 07:45 |
map outlet boundary profile as an inlet condition using UDF | Daniel_Khazaei | Fluent UDF and Scheme Programming | 2 | June 20, 2016 12:53 |
simpleFoam: Non-uniform mesh near inlet & outlet causes incorrect velocity profile? | Zaphod'sSecondHead | OpenFOAM Running, Solving & CFD | 0 | January 28, 2015 06:17 |
extracting outlet velocity profile from one case to another case's inlet | tonggysun | OpenFOAM | 2 | September 13, 2013 05:19 |