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

past itteration register value

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2005, 14:24
Default past itteration register value
  #1
cmv
Guest
 
Posts: n/a
Hi it is me again!

This is a programming question, do you know how to define a vector that could give you the value of a variable calculated one iteration before. In posdat.f, this could mean a variable 'A' that gives you the value of variable 'B' calculated on the past level. For example you calculate B as a function of the mass fraction of scalar 1: B=t(ic,2)*alpha, and you would like to know what this value was the last time it was calculated: A=B(past), not this level or itteration the "past one".

Many thanks CM
  Reply With Quote

Old   March 13, 2005, 14:52
Default Re: past itteration register value
  #2
Richard
Guest
 
Posts: n/a
In each iteration you calculate B and then set A=B. As long as A is either SAVEd or it is in a COMMON block, it will be "remembered" in the next iteration (up until the point when you do A=B anyway).
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
post register operation star Siemens 2 July 20, 2007 04:03
Post Register anonymous Siemens 3 July 10, 2006 07:47
How to get data out from register? leo Siemens 1 May 2, 2003 09:16
post register Astrid Hostrup Siemens 1 July 31, 2000 09:11


All times are GMT -4. The time now is 02:10.