CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

groovyBC for initial conditions?

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

LinkBack Thread Tools Display Modes
Old   July 30, 2015, 09:32
Default groovyBC for initial conditions?
New Member
Join Date: Feb 2014
Posts: 24
Rep Power: 5
hajott is on a distinguished road
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


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Update boundary conditions calculated by an external program CedricVH OpenFOAM 2 January 15, 2010 12:55
Boundary conditions? Tom Main CFD Forum 0 November 5, 2002 02:54

All times are GMT -4. The time now is 15:14.