CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Error in defining expression (https://www.cfd-online.com/Forums/cfx/176173-error-defining-expression.html)

aja1345 August 12, 2016 07:09

Error in defining expression
 
Hi,

I am defining an expression, but i have a error as follows:



Why does this happen?

Thanks.

urosgrivc August 12, 2016 07:24

What does this mean? )(
try )*( multiplication if this is what you want?

aja1345 August 12, 2016 07:34

Quote:

Originally Posted by urosgrivc (Post 613763)
What does this mean? )(
try )*( multiplication if this is what you want?

Yes!!! Thanks:)

aja1345 August 12, 2016 09:10

Hi,

Why does the following error happen?




I want to define gas constant of air.

aja1345 August 12, 2016 10:07

Why does unit of the following expression equal to Kg^2 m s^-5 K^-2?

volumeInt(((Thermal Conductivity/(Temperature)^2)*((1/(Density*(R/(M air))))*(Pressure.Gradient X)^2+(1/(Density*(R/M air)))*(Pressure.Gradient Y)^2+(1/(Density*(R/M air)))*(Pressure.Gradient Z)^2)))@Rotary

http://www.upsara.com/images/dwvw_5555555555555.jpg

R=gas constant


According to above, Unit of Volume integral should be equal to kg m^2/S^-3 K^-1 . I assumed fluid as ideal gas presently. therefore>>>>> P=Ro*R*T

T=P/(RO*T)

.........


Thanks.

urosgrivc August 14, 2016 14:08

I dont think that [Kj] means enithing.
definitly not with smal j

I am asking the experts now-> (is kilo(k) , mega(M) and other prefixes suported instead of multipliers) as I havent tried it out myself.

Joul=J should work but than, for Kilo you should multiply it by 1000.
so you would end up with [J kg^-1 K^-1]*1000

ghorrocks August 14, 2016 19:31

Yes, CFX supports the SI unit system with prefixes. But you have to get it correct, as urosgrivc states. Joule is J and kilo prefix is k, so the unit if kJ.

aja1345 August 15, 2016 07:15

Thanks.

What is your suggestion about defining expression?

I am grateful that guide me about this case.

ghorrocks August 15, 2016 07:41

I think the temperature gradient functions work in CFD-Post. Have a look in the CFX reference manual for a description of the available variables and functions you can apply to them.

Also the temperature gradient variables will be available under the puzzlingly titled "..." button for plotting on surfaces, vectors etc.

aja1345 August 15, 2016 15:28

Quote:

Originally Posted by ghorrocks (Post 614089)
Also the temperature gradient variables will be available under the puzzlingly titled "..." button for plotting on surfaces, vectors etc.

Thanks.

I don't understand this your statement. Can you explain more?

What is "..." button?

Opaque August 15, 2016 15:42

Insert an User Defined Variable, for the method select Gradient, and select Temperature for the variable. CFD-Post will create the Temperature.Gradient variable.

You can then use it as needed.


All times are GMT -4. The time now is 18:10.