CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Run-time Code Compilation in controlDict

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

LinkBack Thread Tools Display Modes
Old   February 7, 2012, 05:40
Default Run-time Code Compilation in controlDict
Join Date: Jul 2009
Location: Hamburg
Posts: 67
Rep Power: 13
JNSN is on a distinguished road
Hi Foamers,

I try to implement a variable time Step in the controlDict with the #codeStream directive based on the actual time. Something like
produces the error massage "invalid use of ‘this’ in non-member function". Does anyone have an idea to get a reference to time?

Thanks and best regards,
JNSN 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
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
Run time Selection Mechanism - Some help required to understand jaswi OpenFOAM Programming & Development 3 October 29, 2015 14:42
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24
Full pipe 3D using icoFoam cyberbrain OpenFOAM 4 March 16, 2011 10:20
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07

All times are GMT -4. The time now is 05:49.