Channelflow 2.0

ChannelFlow 2 Example Scripts


I am currently trying to run some of the example scripts from the channelflow 1 site but errors appear despite me simply copying/pasting the script. Are there any example scripts that have been updated for channelflow 2 or can anyone let me know which modifications must be made to these scripts to get them running with channelflow 2?

Thank you,

Best Regards,

Hi Conor,
my guess is that the errors you get are mostly about dependencies (header files must be included under their new names) or maybe about MPI. Do you compile these example scripts in serial mode?

Give me one or two days and I can commit some of the old example scripts to Channelflow 2.0. We anyways wanted to provide them.
If you do not want to wait until the end of the week, please provide details on the errors that you get. Then I might be able to better help you.

Thanks for using Channelflow 2.0,

Hi Conor,

I added an example program to the master branch of Channelflow. It is basically the couette program you might know from CF1. You find it in the examples folder. Let me know, if this helps or if you have issues.


Hi Florian,

I was wondering whether you also have a corresponding channel.cpp example for ChannelFlow 2.0 ? I’ve just started familiarising myself with ChannelFlow and I’m finding the differences between the two versions rather confusing and so an example script for the channel configuration would help me a lot.