CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Ansys CFX 14.5 + trasnient "initialize profile data" (http://www.cfd-online.com/Forums/cfx/119964-ansys-cfx-14-5-trasnient-initialize-profile-data.html)

lentschi June 27, 2013 11:00

Ansys CFX 14.5 + trasnient "initialize profile data"
 
Hello,

one quastion about "initialize profile data" in combination with Ansys CFX 14.5. Is it possible to use/change the rotational speed of a domain from "outside" by a set of profile data??Or is there another possibility to change the rotational speed automatically during a transient calculation?
I also want to change the massflow rate too but this should be quite easy by a profile data.


Example of my planned transient calculation:

t = 0 - 5s: n = 2rpm, massFlow rate= 1kg/s
t = 5 - 10s: n = 1rpm, massFlow rate = 0.5kg/s
t = 10 -15s: n = 1.5rpm, massFlow rate = 0.7kg/s


Maybe someone can help me with my problem!

Thank you in advance!!

//Markus

singer1812 June 27, 2013 11:26

Use CEL. Look into either step function or if function.

lentschi June 28, 2013 04:14

Thank you very much for your support, but unforunately I cannot find the step function for rotational speed and massFlow (correlation between those two parameters) depending on a number of time steps . Therefore, it would be very nice, iy you can give me more explicit information (description, manual, tutorial, ...) or an short example of changing the rotational speed and massFlow depending on a number of time steps??

Example of my planned transient calculation:

time steps = 0 - 500: n = 2rpm, massFlow rate= 1kg/s
timesteps = 501 - 1000: n = 1rpm, massFlow rate = 0.5kg/s
timesteps = 1001 -1500: n = 1.5rpm, massFlow rate = 0.7kg/s

So the rotational speed and massFlow rate should be constant for a specific time steps period. Therefore, I want to load a list of values into CFX-Pre. But if this is also possible with using the step-function, it would be more elegant.

Thank you in advance.

//Markus

ghorrocks June 28, 2013 06:46

The syntax of "if" statements is quite simple. It is simple to implement your function this way. Have a look at the tutorials which come with CFX form examples of if and step functions.

Alternately you could use a 1D interpolation file. Again, they are demonstrated in the tutorials.

lentschi June 28, 2013 07:15

I got it!

Thank you.

This thread can be closed.

//Markus


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