|
[Sponsors] |
Reading a variable at two different times instants using CFX expression |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 10, 2022, 08:29 |
Reading a variable at two different times instants using CFX expression
|
#1 |
Senior Member
AH
Join Date: Apr 2014
Posts: 287
Rep Power: 0 |
What is the best way in performing such an activity?
Example; Expression A reads CO at current time, Probe(CO.Density)@Point 1 How can I read the above in expression B at for instance 1 or more time steps later? This will allow me to compare expression A v B. Thanks. |
|
September 10, 2022, 22:40 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,898
Rep Power: 144 |
There is no fully supported way in CFX to do this. It is requested all the time.
But you have two unsupported methods to do it: 1) Write a user fortran routine to do it. 2) Using TRANS_LOOP - search for it in the CFX forum. But don't forget unsupported means it might not work, it could give unexpected results and it could completely fail.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
September 11, 2022, 08:05 |
|
#3 |
Senior Member
AH
Join Date: Apr 2014
Posts: 287
Rep Power: 0 |
Thanks ghorrocks, don't know fortran just C++. It's interesting that we are having these discussions and I hope CFX can do something about this through expression language.
|
|
September 11, 2022, 13:35 |
|
#4 |
Senior Member
Join Date: Jun 2009
Posts: 1,883
Rep Power: 33 |
Let us say, Ansys adds support for it w/o knowing your intended use and later you realized that was not enough. What then?
Perhaps if you share the intended use, someone in the forum could explain how to do it using existing features.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Illegal cell label -1, fluent3DMeshToFoam | BenGher | OpenFOAM | 7 | October 10, 2023 01:02 |
How to define a static aditional variable in CFX | cardioCFD | CFX | 8 | January 22, 2018 05:58 |
Evaluating expression at a specific location in CFX Pre | gotang | CFX | 4 | August 17, 2017 11:33 |
Modify SST kw model in CFX | Tingyun YIN | CFX | 6 | May 12, 2017 07:44 |
CFX Expression Language help | JuPa | CFX | 3 | April 21, 2013 08:46 |