CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Animating gas cloud using ISO surface (https://www.cfd-online.com/Forums/fluent/124570-animating-gas-cloud-using-iso-surface.html)

tarjeiba October 8, 2013 09:57

Animating gas cloud using ISO surface
 
Hi,

I've set up a transient case with a time-dependent release of toxic gas. Further I want to animate the resulting cloud as it is carried with the wind using the surface of 1000 ppm gas concentration.

The case runs smoothly, put I have trouble automating a png dump of the view port (which also merely keeps showing the initial cloud during the simulation), and with updating the iso surface with each time step.

Can anyone please tell me how they have solved something like this?

I would prefer to get the actual three dimensional cloud showing in the final video, not just the iso-contours on the surfaces.

Thanks in advance,
Tarjei

tarjeiba October 9, 2013 09:14

In case anyone else ever struggles with this, here's my tentative and far less than ideal solution:

1) Set up the case.
2) Establish an initial iso surface (i.e. there has to be at least some of the species in the domain).
3) Under Calculation Activities, create a macro that removes the initial iso surface, then create a new one. (This ensures that after each time step, only one such surface is in the case, and it'll keep having the same surface ID.)
4) Create another macro, this one's job is to update the display. (I did this by displaying the mesh under Graphics and Animations.)
5) Under Calcluation Activities, set up an animation sequence. (I chose simply to export the window as a ppm for each time step, more options for the post-processing would be available if a meta format was picked.)
6) Run the calculation.
Optional: 7) Realize you really, really need to learn how to work through the command line exclusively.

Other than going over to using commands rather than macro (which even neglects to be included in a saved .cas-file), I'd still greatly appreciate any help towards simplifying this process.

innocentemy May 20, 2015 03:46

Question about FLUENT
 
Hi. Could anyone please help me? I want to get a 3D iso-surface similar to these movies that published in this group using FLUENT? https://www.youtube.com/watch?v=DLM9dF-m4zs https://www.youtube.com/watch?v=MCW9ce-qm6E


All times are GMT -4. The time now is 21:40.