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

[swak4Foam] groovyBC for initial conditions?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 30, 2015, 09:32
Default groovyBC for initial conditions?
  #1
New Member
 
Join Date: Feb 2014
Posts: 24
Rep Power: 12
hajott is on a distinguished road
Hello,
I am wondering, whether groovyBC can be used to initialize fields with arithmetic expressions of x,y,z.

For example, I would like to define U(t=0)=(1-(x^2+y^2),0,0) or T(t=0)=exp((x-x0)^2+(y-y0)^2).

Is groovyBC capable of this, or is its parser limited to boundary conditions? Can you show an example, how to use groovyBC for initial conditions? If not, are there other tools that can be used for this purpose?

Thank you

Update: I found the solution - funkySetFields
hajott is offline   Reply With Quote

Reply


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
Translational Boundary Conditions along with Rotational Periodic Boundary Conditions bluemanboy FLUENT 1 March 6, 2017 01:30
non reflective boundary conditions for incompresible flow Pascal_doran OpenFOAM Programming & Development 16 August 25, 2015 05:35
Implementation of boundary conditions for FVM Tom Main CFD Forum 7 August 26, 2014 05:58
ribbed channel / simpleFoam / boundary conditions beeo OpenFOAM Pre-Processing 20 July 17, 2013 08:39
Boundary conditions? Tom Main CFD Forum 0 November 5, 2002 01:54


All times are GMT -4. The time now is 00:27.