Modifications inside the visualization window

49 views
Skip to first unread message

fffffff7

unread,
Aug 20, 2015, 9:19:48 AM8/20/15
to sailfish-cfd
Hi,

I was able to run some of the examples with --mode=visualization.

In videos like this: https://www.youtube.com/watch?v=QFa_XWH3A2Q  you can see that the user is able to add geometries to the simulation on the fly. How can I do this?

kind regards,

Harald

Michal Januszewski

unread,
Aug 22, 2015, 5:38:18 AM8/22/15
to sailfi...@googlegroups.com
These movies were made with an old version of Sailfish, still available in the 'legacy' branch on github: https://github.com/sailfish-team/sailfish/tree/legacy

There is limited support for interactive creation of geometry like this in the current pygame visualizer as well. If you run examples with --mode=visualization, look for "INFO VisEngine] Initializating pygame 2D vis. engine" in the log to verify that you are using the pygame visualizer. If you are, then you can just click anywhere in the simulation domain to add (left button) or remove (right click) a wall.

--

---
You received this message because you are subscribed to the Google Groups "sailfish-cfd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sailfish-cfd...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

fffffff7

unread,
Aug 22, 2015, 7:22:52 AM8/22/15
to sailfish-cfd
I see the message in the logs, but once I click inside the window, sailfish just stops and the log shows no more iterations. This happens when I try to use the keys mentioned in the documentation, as well.

Michal Januszewski

unread,
Aug 25, 2015, 12:05:22 PM8/25/15
to sailfi...@googlegroups.com
Which example are you testing with? Adding walls might not be supported in all simulations. I recommend ldc_2d.py for at least initial tests.
Reply all
Reply to author
Forward
0 new messages