|
[Sponsors] |
Why the Trans_Loop trick does not work? No old time value obtained! |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 28, 2017, 02:10 |
Why the Trans_Loop trick does not work? No old time value obtained!
|
#1 |
Member
Ftab
Join Date: Sep 2011
Posts: 87
Rep Power: 15 |
Hi,
I am trying to calculate an expression in outlet as a function of pressure in last time step. Searching into the forum I learned to define a new AV and modify it as follows: LIBRARY: &replace ADDITIONAL VARIABLE: OldPressure Option = Definition Tensor Type = SCALAR Units = [Pa] Update Loop = TRANS_LOOP Variable Type = Specific END END As you can see I have modified the update loop to get the pressure data at old time step. Then I define the AV as follows: FLUID MODELS: ADDITIONAL VARIABLE: OldPressure Additional Variable Value = Pressure Option = Algebraic Equation END I also do the 1 iteration initialization with Zero. The problem is: I monitor Pressure and OldPressure and they are the same. It seems I do not get the Pressure in old time step. WHY? Any comment? It seems several people has managed to do it here. Thanks |
|
June 28, 2017, 02:51 |
|
#2 |
Senior Member
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 12 |
Hi
I have also had similar problems, with (avgvol Temperature gradient(x,y,z)). We would appreciate if someone could explain in a simple way how translooping can be done Because I would really like to use it more. It is a pity that this does not already have a dedicated button in cfxpre. I have read everything about it here on the forum but other than here not much can be found about it. Can it only work for single value or can it be a domain variable. Single valued worked for me once, but I must be doing something wrong now. So I am also wery interested in this topic. Thank you |
|
December 31, 2018, 03:19 |
|
#3 | |
New Member
Zhiyuan Liu
Join Date: Oct 2018
Location: China
Posts: 26
Rep Power: 8 |
Quote:
Have you settled this problem? I'm also troubled. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 06:28 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 03:50 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 01:01 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
dynamic Mesh is faster than MRF???? | sharonyue | OpenFOAM Running, Solving & CFD | 14 | August 26, 2013 08:47 |