|
[Sponsors] |
[swak4Foam] problem with Velocity Profile with groovyBC |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 7, 2014, 10:11 |
problem with Velocity Profile with groovyBC
|
#1 |
Senior Member
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 13 |
Hi,
Iḿ trying to implement a turbulent velocity inlet profile with grooveBC, here is my code Code:
inlet { type groovyBC variables "delta0Star=1;uInf=4.5;"; valueExpression "(pos().y<=(8*delta0Star)) ? vector(4.5* pow( pos().y/(8*1) , 1/7 ),0,0 ) : vector( 4.5,0,0)"; value uniform (4.5 0 0); } Second error is that if I substitute the variables for their real values I get the following problem: As you see it seems like if pos().y is inverted it should be the other way around, not starting from yMax instead starting in y=0 as pos().y<=20*delta0Star says Anyone has a clue about the problem? Thank you very much |
|
August 7, 2014, 15:44 |
|
#2 | ||
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Quote:
Please: - Use "Save Screenshot" in paraview. So we don't have to look at the Ubuntu-logo - Add a colorbar so that we get a sense of the quantities - Use the "insert Image" of the board. That way the posting gets properly formated. Now it is formatted to the width of your picture which makes it almost unreadable - When talking about values use the cell values not the point-values. Because right now we're looking at interpolation artefacts (in the upper left corner) - to discuss stuff that groovyBC did select only the boundary in question in "Mesh parts" and deselect the internal field.
__________________
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 |
|||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with Parabolic Velocity Profile | Allan_Carey93 | OpenFOAM Running, Solving & CFD | 4 | November 26, 2015 07:11 |
Patch fully developed velocity and turbulence profile over full domain | Teumde | FLUENT | 2 | June 29, 2015 14:47 |
problem with either velocity or pressure counter in a certain techplot profile. | ghmahtabi | Tecplot | 1 | February 23, 2012 10:21 |
[swak4Foam] Scale discrete inlet velocity profile with groovyBC | cboss | OpenFOAM Community Contributions | 1 | June 20, 2010 14:02 |
Logarithmic velocity profile | cfdworker | Fluent UDF and Scheme Programming | 0 | April 23, 2009 20:09 |