|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Tom
Join Date: Jan 2012
Location: France
Posts: 43
Rep Power: 16 ![]() |
Hi there,
I know this topic is very famous and I heard also nice quote about it here . And i am asking for help not because I am lazy. Believe me, i read all the posts about topic. It's just I don't know too much about C++ to manage the right stuff! I am sorry to ask again but since the new release openfoam 2.1.0 has the "polynomial" boundary condition could anyone help me doing what follows...?I need to set a vector U=(a 0 0) with a=a_0*y^2+a_1*y as BC in the inlet of the "pitzdaily" case (everything is given in the function). Is there someone could give me the exact way to insert that in the 0/U file? I really appreciate your help in advance! ps: Later I will post the modified file for a future use! Last edited by sawyer86; January 23, 2012 at 13:48. |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 20 ![]() |
Hi
Download and install the swak4foam library of Bernard Gschaider: http://openfoamwiki.net/index.php/Contrib/swak4Foam and look at the pulsedPitzDaily example. It show's exactly what you want. Regards Eelco |
|
|
|
|
|
|
|
|
#3 |
|
Member
Tom
Join Date: Jan 2012
Location: France
Posts: 43
Rep Power: 16 ![]() |
Hi Eelc,
thank you very much! I am having a look at the files and I am waiting for the informatic staff will install them...but they seem to be what I need! I really appreciate, thank again! Now we are debating on it...do you know if does it exist a case with a "real" 3D mesh for the Pitzdaily case? One with a real thicknees in the spanwise direction... Anyway thank again you solved a very hard problem (I hope...) !Regards and good luck! |
|
|
|
|
|
|
|
|
#4 |
|
New Member
Join Date: Apr 2011
Posts: 28
Rep Power: 16 ![]() |
Hi all,
I'm looking for a way to assign spatial non uniform boundary condition at inlet, for example a parabolic velocity profile. Nevertheless, boundary conditions are steady in time. I have found this page with your comments, do you think the swak4foam library is what I need? And also if yes, is it possible to assign the velocity profile of any shape tabulated from a csv or any other kind of text file? Thank you for your help. Regards, Andrea |
|
|
|
|
|
|
|
|
#5 | |
|
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 52 ![]() ![]() |
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 |
| boundary condition u, pitzdaily, polynomial |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Free jet simulation | msarkar | OpenFOAM Running, Solving & CFD | 39 | May 11, 2021 14:21 |
| chtMultiRegionSimpleFoam | javad814 | OpenFOAM | 1 | September 26, 2011 14:30 |
| Need help with boundary conditions: open to atmosphere | Wolle | OpenFOAM | 2 | April 11, 2011 08:32 |
| rhoSimpleFoam | claco | OpenFOAM | 7 | April 20, 2010 05:32 |
| RasInterFoam STRANGE RESULTS AT BOUNDARY | kumar2 | OpenFOAM Running, Solving & CFD | 8 | March 24, 2008 19:38 |