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

User defined and transient boundary conditions - profiles

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Milan2013

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 9, 2015, 12:23
Default User defined and transient boundary conditions - profiles
  #1
Member
 
Milan
Join Date: Dec 2013
Posts: 38
Rep Power: 12
Milan2013 is on a distinguished road
Hello, hopefully someone can point me towards tutorials/links or give examples here, on the following 2 subjects:

1) I am interested to learn how I can set up a boundary condition of a variable (say velocity components, or other), say inlet profile of velocity or other quantity, as a function of 2 coordinates (say x,y, along a inlet cross-section of a geometry or similar). So, Ui=f(x,y), along a patch, or as Ui=f(x,y,z) in the domain.

2) In addition I wish to learn how can these boundary conditions be manipulated in transient manner. Say, the inlet velocity as a function of time t, either as a explicitly defined function within the solver, or by instructing the solver to read from specific OF user defined functions?...or by reading from .txt ASCII data with profiles at particular instants of time, which one can prepare in the case directory. So Ui=f(t) along a patch, or Ui=f(x,y, t)

Thanks!!!!
hdariya likes this.
Milan2013 is offline   Reply With Quote

Old   December 11, 2015, 05:38
Default
  #2
Senior Member
 
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18
fabian_roesler is on a distinguished road
These boundary conditions might be a good starting point:

uniformFixedValue
codedFixedValue
groovyBC from swak4Foam <-- My favourite

With groovyBC you can kind of program your own time and space demendand boundary condition. However you have to compile swak4Foam to be able to use it.

Check this link for more information:
https://openfoamwiki.net/index.php/Contrib/groovyBC
https://openfoamwiki.net/index.php/Contrib/swak4Foam

Cheers

Fabian
fabian_roesler is offline   Reply With Quote

Reply

Tags
b.c., boundary conditions, profiles, udf, user defined b.c.


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
transient pressure and temperature boundary condition profile inicialization Aurora23 FLUENT 2 April 21, 2015 17:01
Transient User Defined Function in CFX Niru CFX 0 November 12, 2013 18:07
Boundary Conditions in Transient Structural Analysis ashtonJ CFX 0 April 30, 2012 22:28
Change boundary conditions during transient simulation ZenCef FLUENT 0 February 6, 2011 17:10
Transient Boundary Conditions James Date CFX 5 September 13, 2004 12:34


All times are GMT -4. The time now is 10:54.