|
[Sponsors] |
Store information from previous timestep in CFX |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 18, 2013, 17:30 |
Store information from previous timestep in CFX
|
#1 |
New Member
Join Date: Jun 2013
Posts: 3
Rep Power: 13 |
I am simulating a transient flow through a simple geometry of a pipe with heated and unheated lengths in CFX 13. I am trying to figure out how to take the average outlet temperature from the previous timestep and set it as the average inlet temperature of the current timestep. I have been trying to use an additional variable with the Update Loop = TRANS_LOOP modification but am getting the following error from the solver manager.
"The expression is invalid because: PrevOutletTemp is not available for use in this term Error processing expression: Total Temperature = PrevOutletTemp" I have tried running iterations with the AV and the inlet condition set to numerical values prior to trying to the pass the temperature value but I get the same error. I have not been able to figure out the correct execution of this method. I want to pass the value equal to areaAve(Temperature)@outlet from the previous timestep to the current inlet temperature condition. What should I set the algebraic equation of the AV to? Do I use the AV directly in the inlet temperature condition or an expression or function? Any help, quidance, or suggestions would be appreciated. |
|
June 19, 2013, 15:21 |
|
#2 |
Senior Member
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 21 |
Not sure if I follow what you are doing or not. Been a while since I used this.
In the past, I think you need to run a few iterations of analysis without this setting to initialize the variable. Then use this to intialize the run with this setting. |
|
June 19, 2013, 18:14 |
|
#3 |
New Member
Join Date: Jun 2013
Posts: 3
Rep Power: 13 |
I want to simulate a recirculating flow, The flow is pumped through heated and unheated lengths of pipe and the temperature of the fluid domain should raise through the whole period of the transient simulation. To model the recirculation of the flow I want to set the inlet temperature for each time step equal to the outlet temperature of the previous timestep.
|
|
June 19, 2013, 19:50 |
|
#4 |
Senior Member
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,188
Rep Power: 23 |
Just use your current outlet temperature, I believe this would be the correct way to do it, and it will not make a difference if your time steps are small enough anyways.
Doing it your way would make it time step dependent. |
|
June 20, 2013, 14:14 |
|
#5 |
New Member
Join Date: Jun 2013
Posts: 3
Rep Power: 13 |
Thanks for the suggestion, That worked well!
|
|
Tags |
cfx 13, transient analysis |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
accessing a variable from the previous iteration (NOT TIMESTEP) | aditya.pandare | Fluent UDF and Scheme Programming | 3 | April 1, 2013 06:32 |
Velocity gradient in previous timestep | mateus | FLUENT | 1 | December 13, 2012 14:07 |
Pros and Cons for CFX, CFdesign, COMSOL | Val | Main CFD Forum | 3 | June 10, 2011 03:20 |
How to access a parameter from a previous timestep | Ridley | CFX | 5 | June 15, 2010 07:56 |
How to store transient data with various timestep? | Oliver | CFX | 4 | December 18, 2005 20:56 |