|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Puya
Join Date: Mar 2016
Posts: 7
Rep Power: 11 ![]() |
Hi,
Does anybody know how to define a second order polynomial as velocity boundary condition? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 ![]() |
Either you define a new boundary condition, as describe e.g. at http://de.slideshare.net/fumiyanozak...ns-in-openfoam
or you use groovyBoundaryCondition from swak4foam: https://openfoamwiki.net/index.php/Contrib/groovyBC |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Puya
Join Date: Mar 2016
Posts: 7
Rep Power: 11 ![]() |
Thank you but I mean spacial polynomial. I want to model a second order curve as inlet velocity profile.
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 ![]() |
With both ways (write a new boundary condition or use groovyBC) you can use the coordinates of the faces for calculating the velocity (direction and magnitude) per face to get a spacial distribution.
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Puya
Join Date: Mar 2016
Posts: 7
Rep Power: 11 ![]() |
Thank you.
Could you possibly correct the following code for me. I dont know why it does not work. TopWall { type uniformFixedValue; uniformValue polynomial ( ((0 1 0) (100 0 0)) ((1 1 0) (20 0 0 )) ); } |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Inlet velocity profile for turbulent pipe flow using swak4Foam | zordiack | OpenFOAM Community Contributions | 5 | February 23, 2016 02:52 |
Setting velocity profile at the inlet using codedFixedValue | CTR | OpenFOAM Pre-Processing | 1 | May 20, 2014 13:01 |
extracting outlet velocity profile from one case to another case's inlet | tonggysun | OpenFOAM | 2 | September 13, 2013 05:19 |
Velocity profile at inlet | siw | CFX | 2 | May 3, 2012 10:30 |
Export & Import Velocity profile as Inlet | eRzBeNgEl | STAR-CCM+ | 6 | March 26, 2012 06:16 |