CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Using 'define init' macro to perform a calculation at the start of a simulation

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

LinkBack Thread Tools Display Modes
Old   May 21, 2010, 07:23
Default Using 'define init' macro to perform a calculation at the start of a simulation
New Member
Join Date: Dec 2009
Posts: 2
Rep Power: 0
jonnythewlis is on a distinguished road

I was wondering if anyone knows if you can use the define init macro to perform an unrelated calculation to the flow variables that will be used in a later function. I've tried this but it seems to crash. There must be some way of doing this though.

For example,

DEFINE_INIT(name1, d)

DEFINE_PROFILE(name2, thread, index)
begin_f_loop(f, thread)
F_PROFILE(f, thread, index) = a;

jonnythewlis 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
Run time Selection Mechanism - Some help required to understand jaswi OpenFOAM Programming & Development 3 October 29, 2015 14:42
Steady-state simulation to start a transient simulation smagmon CFX 2 May 18, 2009 03:59
Can Fluent start a simulation from a negative time Ted Chu FLUENT 10 November 26, 2008 22:06
Transient simulation error on start - Korsh Mik CFX 1 November 2, 2005 10:08
Warning 097- AB CD-adapco 6 November 15, 2004 05:41

All times are GMT -4. The time now is 09:40.