CFD Online Logo CFD Online URL
Home > Forums > FLUENT

How to get gata of previous time step

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

LinkBack Thread Tools Display Modes
Old   November 29, 2012, 00:18
Exclamation How to get gata of previous time step
New Member
Join Date: Aug 2012
Posts: 3
Rep Power: 7
Johnyi is on a distinguished road
I am trying to define a source to a cell zone. The source is a function of temperature of the previous time step. I wrote the UDF as follows:

include "udf.h"
real x[ND_ND];
real source;
real tem1;
return source;

I was able to interpreted or complied the UDF and loaded it and defined to the cell zone. however, when trying to run Fluent, It gave the information:
FLUENT received fatal signal (ACCESS_VIOLATION)

Can anybody help me to solve this problem?

Johnyi 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
Reading forces from previous time step within solver SD@TUB OpenFOAM Programming & Development 1 May 25, 2016 03:00
Time step size and max iterations per time step pUl| FLUENT 31 August 21, 2015 04:46
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
SLTS+rhoPisoFoam: what is rDeltaT??? nileshjrane OpenFOAM Running, Solving & CFD 4 February 25, 2013 05:13
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09

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