|
[Sponsors] |
Evaluating expression at a specific location in CFX Pre |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 17, 2017, 08:08 |
Evaluating expression at a specific location in CFX Pre
|
#1 |
New Member
Brian
Join Date: Mar 2009
Posts: 17
Rep Power: 17 |
I am running a large transient simulation with a time-dependent, spatially varying source term in CFX. In order to verify that this source term is doing what I actually expect it to while the solution is in progress, I would like to set up a monitor to evaluate the source term expression (at a specific point) so that it is plotted in the Solver Manager/output to the monitors file. Could anyone help me with how to set this up please?
So far, the things I have tried that do not work are:
I'm sure that there must be a very simple way to do this, but it still evades me despite trawling through the manuals and extensive use of Google. Any suggestions would be very much appreciated! Last edited by gotang; August 17, 2017 at 10:13. Reason: Clarification in the question. |
|
August 17, 2017, 10:56 |
|
#2 |
Senior Member
Join Date: Jun 2009
Posts: 1,875
Rep Power: 33 |
That is a documented limitation with a known workaround.
Create an Additional Variable/Option = Algebraic Expression, say MyProbeExpression. Then, probe(MyProbeExpression)@SparkLocation.. |
|
August 17, 2017, 11:23 |
|
#3 | |
New Member
Brian
Join Date: Mar 2009
Posts: 17
Rep Power: 17 |
Thank you, I think that is exactly what I am looking for. To ask a stupid question though: How do I assign a variable to the expression? I have used "Insert Additional Variable", set "Variable Type" to "Unspecified", but cannot for the life of me figure out how to specify to CFX that it should be defined by the algebraic expression. The closest to instructions that I can find in the documentation is in the CFX Solver Modelling Guide:
Quote:
|
||
August 17, 2017, 11:29 |
|
#4 |
Senior Member
Join Date: Jun 2009
Posts: 1,875
Rep Power: 33 |
Go to the domain where the Spark Location is, and activate the Additional Variable.
Additional variables require two steps: definition, and activation. |
|
August 17, 2017, 11:33 |
|
#5 |
New Member
Brian
Join Date: Mar 2009
Posts: 17
Rep Power: 17 |
Thank you! That fixes my issue entirely. Much obliged.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compression stoke is giving higher pressure than calculated | nickjuana | CFX | 62 | May 19, 2015 14:32 |
Error reading profile data in expression in cfx post | banu | CFX | 4 | March 27, 2015 10:03 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 18:11 |
logical expression for cfx interrupt control | wjy-c | CFX | 0 | November 29, 2013 05:30 |
CFX doesn't continue calculation... | mactech001 | CFX | 6 | November 15, 2009 22:25 |