Calculating volume of a variable
I want to be able to calculate the volume of cells with a certain variable higher than some value. For example calculating the volume of all cells with temperature higher than 400 degrees.
I would like to be able to add this in Pre so I can monitor this volume throughout the simulation, is this possible?
A CEL expression something like volumeInt(step(variable-threshold))@domain should do the trick. Note that you have to ensure "variable-threshold" is unitless. Put it in as a monitor point and it will be calculated as the simulation progresses.
|All times are GMT -4. The time now is 15:38.|