CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

inlet velocity profile

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2016, 00:45
Default inlet velocity profile
  #1
New Member
 
Puya
Join Date: Mar 2016
Posts: 7
Rep Power: 10
ja.puya is on a distinguished road
Hi,
Does anybody know how to define a second order polynomial as velocity boundary condition?
ja.puya is offline   Reply With Quote

Old   April 19, 2016, 13:12
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
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
jherb is offline   Reply With Quote

Old   April 19, 2016, 13:35
Default
  #3
New Member
 
Puya
Join Date: Mar 2016
Posts: 7
Rep Power: 10
ja.puya is on a distinguished road
Thank you but I mean spacial polynomial. I want to model a second order curve as inlet velocity profile.
ja.puya is offline   Reply With Quote

Old   April 19, 2016, 16:01
Default
  #4
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
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.
jherb is offline   Reply With Quote

Old   April 21, 2016, 01:18
Default
  #5
New Member
 
Puya
Join Date: Mar 2016
Posts: 7
Rep Power: 10
ja.puya is on a distinguished road
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 ))

);
}
ja.puya is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
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 01:52
Setting velocity profile at the inlet using codedFixedValue CTR OpenFOAM Pre-Processing 1 May 20, 2014 12:01
extracting outlet velocity profile from one case to another case's inlet tonggysun OpenFOAM 2 September 13, 2013 04:19
Velocity profile at inlet siw CFX 2 May 3, 2012 09:30
Export & Import Velocity profile as Inlet eRzBeNgEl STAR-CCM+ 6 March 26, 2012 05:16


All times are GMT -4. The time now is 21:59.