|
[Sponsors] |
April 18, 2024, 09:48 |
|
#101 | |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
Quote:
Definition = left-hand side of an expression Reference = usage on the right-hand side of an expression You are not defining "Pressure.Time Derivative", you are referencing it in a local expression. The local expression is evaluated by the solver as needed, correct? Can you monitor your expression in the Solver Manager? That is the end of the referencing of the expression. Do not recall if that forces the XXX.Time Derivative to also be written to the results file. It would be nice though if it happens automatically.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
||
April 18, 2024, 18:40 |
|
#102 |
Senior Member
Jiri
Join Date: Mar 2014
Posts: 221
Rep Power: 13 |
Thank you guys.
To Glenn: I did not find any variable including .Time Derivative in any extra output variable list and I cant even push it into the list anyhow... To Opaque: I read your post carefully several times, it makes sense, but I basically do not know what to do practically based on this :-). Yes, I created expression called "tlakderivace" which is equal to Pressure.Time Derivative. I cannot monitor this as it is not a single valued expression but a variable. But even if I create an expression areaAve(Pressure.Time Derivative)@rotating to have single valued expression, the monitor does not work due to error message that the monitor has invalid argument Pressure.Time Derivative. Well, please, could you give me a more step by step guide? |
|
April 18, 2024, 20:12 |
|
#103 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
You are right, the .Time Derivative variables do not seem to be available to put in the results file.
Some options: 1) Do your calculations in the solver where those variables are available 2) Define a new additional variable, set it to a CEL function and define it as [variable].Time Derivative. Then the time derivative should be available in the results file as your additional variable. A bit messy, but I suspect it will work.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
April 19, 2024, 04:54 |
|
#104 |
Senior Member
Jiri
Join Date: Mar 2014
Posts: 221
Rep Power: 13 |
Heureka! Done. Big thanks to both of you.
I summarize the procedure: CFX Pre: - create expression called for example MyExpDPDT which is defined as Pressure.Time Derivative - create additional variable named for example as myderpressure, which is specific, units [Pa s^-1], tensor type = scalar - go to domain, tab Fluid Models, scroll down and tick myderpressure. Then set it to Algebraic Equation and select the expression MyExpDPDT RUN SOLVER CFD POST - when clicking on expression MyExpDPDT created in Pre, it works, no error. - create new variable referencing to the expression MyExpDPDT. You have now the spatial variable time pressure derivative at each node. One more big thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cel expressions | RAMAN6089 | CFX | 13 | December 1, 2009 00:17 |
junction box routine and CEL function | bornspur | CFX | 2 | February 3, 2009 03:24 |
Cel expressions for trasient problem | Jervds | CFX | 0 | March 4, 2008 11:03 |
Cel expressions Time dependent | Juan Maria Campos | CFX | 8 | December 27, 2007 19:16 |
CEL Expressions | Nick | CFX | 3 | September 25, 2007 15:54 |