CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Expression for wall velocity (https://www.cfd-online.com/Forums/fluent/254845-expression-wall-velocity.html)

matosmmd March 4, 2024 12:37

Expression for wall velocity
 
1 Attachment(s)
Hi all,

I have a moving wall which should move according to Bernoulli's equation:
V=(Dynamic Pressure*2/density)^0.5.

I have a multiphase flow, the pressure to have in account is exerted near the wall ('plane-8' in my model) in phase-1.

I am writing this in the expression field as:

"(AreaAve(<DynamicPressure>,<'plane-8'>)*2/Density(phase='phase-1'))^0.5"

But I keep having a syntax error which I cannot identify:

"Cannot plot expression: File "<string>", line 1
(AreaAve(<DynamicPressure>,<'plane-8'>)*2/Density(phase='phase-1'))**0.5
^
SyntaxError: invalid syntax"


I am using Fluent 2023R2 (pictures attached).

Thank you so much.

M.


All times are GMT -4. The time now is 02:24.