Вы находитесь на странице: 1из 8

ANSYS Turtorial: CFX transient profile - EDR

Page 1 of 8

Hopp til innhold

EDRMedeso portal Blogg Nyhetsbrev Ledige stillinger

Sk Forsiden Produkter Kurs og seminarer Konsulenttjenester Referanser Om EDRMedeso Support Kontakt oss

Forsiden / Blogg / ANSYS-bloggen / ANSYS Turtorial: CFX transient profile

+47 67 57 21 00 +46 21 470 35 50


Kontaktskjema

ANSYS Turtorial: CFX transient profile


ANSYS CFX Tutorial: Do you have a transient boundary condition that you want to apply at for example an inlet? This can easily be added in ANSYS CFX 12.1 using the built in interpolation functions. This article shows briefly the key steps to make it work.

Introduction
In some cases boundary conditions arise from measurements or mathematical functions. Traditionally, the user has been forced to make us of advanced scripting or even programming languages like fortran to add a measured profile to a boundary. In this example the static mixer that are available in the tutorials are used as example. Figure 1 shows the mesh in CFX Pre. The green inlet named inlet 1 will use a transient profile that is stored in a file on the disk.

http://www.edr.no/blogg/ansys_bloggen/ansys_turtorial_cfx_transient_profile

11/3/2013

ANSYS Turtorial: CFX transient profile - EDR

Page 2 of 8

File format of the profile


The format of the boundary condition should be saved in a text file with a special layout that CFX recognizes. To do this, the text file with the transient condition should look like in Fig. 2. The boundary in Fig 1 is located in the x and z plane.

http://www.edr.no/blogg/ansys_bloggen/ansys_turtorial_cfx_transient_profile

11/3/2013

ANSYS Turtorial: CFX transient profile - EDR

Page 3 of 8

Set up the ANSYS CFX case


In CFX Pre the profile that is going to be used needs to be initialized. This is done from the tools meny.

http://www.edr.no/blogg/ansys_bloggen/ansys_turtorial_cfx_transient_profile

11/3/2013

ANSYS Turtorial: CFX transient profile - EDR

Page 4 of 8

Initialize the profile


Browse the file that contains the boundary condition. CFX Pre should then recognize the input arguments to the function and the resulting values. In this example we interpolate in the x-z plane and in time. The resulting value is a velocity that we apply on one of the inlets.

The initialization creates a new object under user functions called myin.

http://www.edr.no/blogg/ansys_bloggen/ansys_turtorial_cfx_transient_profile

11/3/2013

ANSYS Turtorial: CFX transient profile - EDR

Page 5 of 8

Apply the boundary condition


If the initialization is correctly done, the details in the object should specify the units of the variables used for input and the resulting variable unit.

http://www.edr.no/blogg/ansys_bloggen/ansys_turtorial_cfx_transient_profile

11/3/2013

ANSYS Turtorial: CFX transient profile - EDR

Page 6 of 8

In order to tell CFX to use this function as a boundary condition you need to add an expression at the boundary condition specification. Here inlet 1 utilize the transient profile by giving the expression myin.Velocity(x,z,t) at the normal speed of the inlet.

All that is left to do is to set up a transient simulation and the remaining boundary conditions. This is however done as usual.

http://www.edr.no/blogg/ansys_bloggen/ansys_turtorial_cfx_transient_profile

11/3/2013

ANSYS Turtorial: CFX transient profile - EDR

Page 7 of 8

Results
The streamlines of the starting condition and ending conditions are shown below.

http://www.edr.no/blogg/ansys_bloggen/ansys_turtorial_cfx_transient_profile

11/3/2013

ANSYS Turtorial: CFX transient profile - EDR

Page 8 of 8

Do you want to learn more?

Please contact ANSYS Technical Support at EDR on +4 6757 2120 for technical questions, or ask for a sales representative for questions about licensing. ...or simply send us your contact information and we will get back to you:

You will also find more tutorials in our ANSYS Blog!

Relaterte produkter
ANSYS Fluid Dynamics Se alle produkter Leif Tronstads plass 4, 1337 Sandvika, Norway | Tlf: (+47) 67 57 21 00 | Lysgrnd 1, SE-721 30 Vsters, Sweden | Tlf: (+46) 21 470 35 50 | E-post: info@edrmedeso.com Copyright | Privacy/Antispam

http://www.edr.no/blogg/ansys_bloggen/ansys_turtorial_cfx_transient_profile

11/3/2013