CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   FSI and additional variable (https://www.cfd-online.com/Forums/cfx/24516-fsi-additional-variable.html)

Jorn September 10, 2007 17:16

FSI and additional variable
 
Hello, In ANSYS/CFX 11 I'm simulating flow as a result of solid deformation. The deformation repeats itself every second. I then want to simulate the behavior of an additional variable (say a dye in the fluid) for e.g. 30 sec. I now do this by recalculating the same mechanical deformation and fluid velocity every 'cycle' of 1 sec over and over again, the only difference is the additional variable. Is there a way to do this more efficient?

Thanks, Jorn

Glenn Horrocks September 10, 2007 18:34

Re: FSI and additional variable
 
Hi,

I can't think of a way of doing it more efficiently than just running it. If the flow is steady state you can turn the flow solver off and just run the additional variable solver but that won't work with a periodic flow like this.

Glenn Horrocks

Stinky Pete September 27, 2007 12:20

Re: FSI and additional variable
 
Hi Jorn and Glenn,

While you won't be able to get around solving the flow field at each time step, you can get around the FSI and mechanical deformation repetition.

The Ball Valve tutorial (21, I think) is essentially an FSI simulation that is setup entirely within CFX. It is the second part of this tutorial that is relevant. In particular, you can tell CFX to replace the mesh coordinates for all domain nodes using values from data files. This is done using junction box routines, as described in the tutorial.

In your case, I'd recommend the following: * run one cycle with FSI and no dye AV * during that run, use your own junction box routine (i.e. not provided with the noted tutorial) to write a sequence of mesh files. - If you are running in serial, then the JB routine will

be pretty simple. - Model your output based upon the format of the mesh

files provided with the tutorial; you'll be

able to re-use the JB routines provided with the

tutorial when reading the meshes if you do this - Look at the JB routines provided with the tutorial to

find out where the mesh coordinates are stored within

CFX; once you have these data, you just write them to

your mesh files * Now setup your run with the AV, and use the JB routines that are provided with the tutorial to read the meshes in

If, by chance, you're running this in Linux, you'll need to use the Portland Group compiler. There is a note in the CFX installation documentation that highlights how the gnu compiler can not be used with JB routines that involve file I/O.

Hope it helps.


All times are GMT -4. The time now is 09:55.