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

how to access previous timestep by user routine

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 21, 2018, 22:06
Default how to access previous timestep by user routine
  #1
FWP
New Member
 
陈晨
Join Date: Oct 2018
Posts: 7
Rep Power: 7
FWP is on a distinguished road
I'm simulating Multicomponent single phase flow(oxygen-water),i want to record the time when the wall oxygen-mass fraction is not 0. I've defined a variable array time-accumulate[NLOC] and I want to save its value for the next call , but an error showed that "save" attribute cannot be used for automatic arrays.
Could anyone help me, please! THANK YOU!
FWP is offline   Reply With Quote

 

Tags
previous timestep


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
OpenFOAM - Quick way to delete previous calculation & HowTo get access to variables kriz OpenFOAM 12 March 6, 2023 03:20
How to get multiple outputs from CFX user routine doublestrong CFX 7 April 11, 2017 11:25
Obtain local volume at node/vertex in user routine honcho62 CFX 6 January 19, 2016 06:39
How to access a parameter from a previous timestep Ridley CFX 5 June 15, 2010 06:56
Accessing Variables from Previous Timestep Vinayak Barve FLUENT 1 March 10, 2004 07:40


All times are GMT -4. The time now is 08:30.