CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Help to create a CEL Expression (http://www.cfd-online.com/Forums/cfx/24873-help-create-cel-expression.html)

Juan Maria Campos December 3, 2007 07:04

Help to create a CEL Expression
 
Hi everybody,

I am new using CFX and i need a simple CEL Expression to control the pressure in a autoclave. I have a Pressure sensor in the middle of the clave and i need to control the mass flow inlet to control this pressure.

How can I write a CEL Expression that open / close the inlet boundary of air to maintain the pressure?

thanks im advance,


macdidi@caramail.com December 3, 2007 08:49

Re: Help to create a CEL Expression
 
Hello Lets say that youre mass flow value is mf and youre pressure level is Pmax you have to write these expression in CEL: mf*step((P-Pmax)/1[Pa]) thes expression will equal to mf if P<Pmax and 0 if P>=Pmax

Juan Maria Campos December 3, 2007 08:52

Re: Help to create a CEL Expression
 
Thank you!; I was jus reading about the step function on CFX-Help


All times are GMT -4. The time now is 14:11.